
Recherche avancée
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (6441)
-
Automatic encoder selection failed for output stream #0:0 [duplicate]
2 octobre 2016, par mgt1234This question already has an answer here :
-
recompile ffmpeg with libmp3lame
1 answer
I use this command on ffmpeg :
/usr/local/bin/ffmpeg -ss 40 -t 40 -i mymusic.mp3 -ab 15 voice.mp3 2>&1
but I see this error :
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually. Error selecting an encoder for stream 0:0
Also lamemp3 installed and enabled, how can I fix it ?
this is complete output :
ffmpeg version N-81842-g0fbd423 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
configuration: --enable-decoder=png --enable-encoder=png
libavutil 55. 32.100 / 55. 32.100
libavcodec 57. 60.101 / 57. 60.101
libavformat 57. 51.102 / 57. 51.102
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 63.100 / 6. 63.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 2.100 / 2. 2.100
[mp3 @ 0x3ccd3c0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'mymusic.mp3':
Metadata:
album_artist : .:.:. WWW.NEWSONG3.COM .:.:.
title : Eshtebah .:.:. WWW.NEWSONG3.COM .:.:.
artist : Abolfazl Fallah .:.:. WWW.NEWSONG3.COM .:.:.
album : .:.:. WWW.NEWSONG3.COM .:.:.
comment : .:.:. WWW.NEWSONG3.COM .:.:.
genre : .:.:. WWW.NEWSONG3.COM .:.:.
track : .:.:. WWW.NEWSONG3.COM .:.:.
copyright : .:.:. WWW.NEWSONG3.COM .:.:.
TOPE : .:.:. WWW.NEWSONG3.COM .:.:.
composer : .:.:. WWW.NEWSONG3.COM .:.:.
TBPM : .:.:. WWW.NEWSONG3.COM .:.:.
TIT3 : .:.:. WWW.NEWSONG3.COM .:.:.
encoded_by : .:.:. WWW.NEWSONG3.COM .:.:.
disc : .:.:. WWW.NEWSONG3.COM .:.:.
MusicMatch_Mood : .:.:. WWW.NEWSONG3.COM .:.:.
date : 2013
Duration: 00:04:08.77, start: 0.000000, bitrate: 129 kb/s
Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Cover (front)
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:0 -
recompile ffmpeg with libmp3lame
-
How can I skip an image error when trimming an mp3 with ffmpeg
29 septembre 2016, par John PollardI am running the following command to get cut a 30 second section of the file
ffmpeg -i 'river.mp3' -ss 30 -t 30 -acodec libmp3lame -b:a 128k 'audio_trimmed.mp3'
but I am getting a "Invalid PNG signature" error. Is there a way to skip the image since I don’t need it and have the command run successfully ?
ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.3.0 (clang-703.0.31)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvorbis --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mp3 @ 0x7f8419010600] Skipping 0 bytes of junk at 73436.
[png @ 0x7f8419812600] Invalid PNG signature 0xFFD8FFE000104A46.
[mp3 @ 0x7f8419010600] decoding for stream 1 failed
[mp3 @ 0x7f8419010600] Could not find codec parameters for stream 1 (Video: png, none(pc)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mp3, from 'river.mp3':
Metadata:
genre : Podcast
album : River City Church's Podcast
artist : Antley Fowler
title : Jubilee Brings Justice
date : 2016-08-15 10:23
Duration: 00:28:28.07, start: 0.025056, bitrate: 64 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s
Stream #0:1: Video: png, none(pc), 90k tbr, 90k tbn, 90k tbc
Metadata:
title : Episode Artwork
comment : Cover (front)
[buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
[buffer @ 0x7f8418c18de0] Unable to parse option value "-1" as pixel format
[buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
[buffer @ 0x7f8418c18de0] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:1 @ 0x7f8418c18ee0] Error applying options to the filter.
Error opening filters! -
Send ffmpeg input from python variable
27 septembre 2016, par Roney rogerioI need send continuouns date to ffmpeg from python, I have tried but really dont know the best solution to make this, i have tried :
import subprocess as sp
import time
command = ["/usr/bin/ffmpeg",
'-f', 'hls',
'-c', 'copy',
'-hls_time', '10',
'-hls_flags', 'delete_segments',
'-i', '-', # The imput comes from a pipe
'index.m3u8' ]
proc = sp.Popen(command, stdin=sp.PIPE)
proc.stdin.write(open("video.ts", 'r').read())
proc.stdin.close()
proc.wait()I get the error :
ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
pipe:: Invalid data found when processing input
Traceback (most recent call last):
File "teste.py", line 15, in <module>
proc.stdin.write(open("video.ts", 'r').read())
IOError: [Errno 32] Broken pipe
</module>