
Recherche avancée
Autres articles (91)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (16689)
-
ffmpeg : Unable to find a suitable output format, libfaac
29 juin 2013, par StackOverflowNewbieI just downloaded "FFmpeg git-070b0e1 32-bit Static (Latest)" from http://ffmpeg.zeranoe.com/builds/. I extracted the files on my Vista machine and then updated my PATH to point to
presets
andbin
folders.The first command I ran was this :
ffmpeg -i C:/a.avi -vcodec libtheora -qscale 6 -acodec libvorbis -ab 128k -vf scale="480:-1" C:/a.ogv
I got this error :
Please use -q:a or -q:v, -qscale is ambiguous
[NULL @ 0200F800] Unable to find a suitable output format for 'C:/a.ogv''
C:/a.ogv': Invalid argumentThe second command I ran was this :
ffmpeg -i C:/a.avi -vcodec libx264 -preset slow -profile main -crf 20 -acodec libfaac -ab 128k -vf scale="480:-1" C:/a.mp4
I got this error :
Unknown encoder 'libfaac'
Questions :
-
I'm trying to convert an input video (I don't know what the MIME type is) and output it as ogv and mp4 so I can play it on a website. Of course, I'm looking for highest possible quality at the lowest possible file size. I've pieced my commands from what I can find on the net. Am I on the right track ? What can I do to improve ?
- Any ideas how to address the errors I'm getting ?
-
-
How to use ffmpeg / x264 2-Pass encoding for multiple bitrate output files
2 décembre 2014, par JonesyWhile performing a 2-Pass encode to multiple output files I was receiving the error
ratecontrol_init: can't open stats file 1 ffmpeg2pass-2.log
My setup is to do a single first pass and then multiple second pass encodes to output files with different target bitrates using the same first pass results.
ffmpeg -y -i $INPUT_FILE -an -vcodec libx264 -pass 1 -b:v 700k -f rawvideo /dev/null
ffmpeg -y -i $INPUT_FILE -i out-aud.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 250k -f mp4 out-250.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 500k -f mp4 out-500.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 700k -f mp4 out-700.mp4This sequence resulted in the error listed above. What I discovered thru code-inspection is that ffmpeg/x264 looks for a different set of first-pass files for each second-pass encoding path. The first encoding path uses the set of files originally created
ffmpeg2pass-0.log
ffmpeg2pass-0.log.mbtreeThe second encoding path requires first-pass files with the names
ffmpeg2pass-2.log
ffmpeg2pass-2.log.mbtreeThe third encoding path requires first-pass files with the names starting with ffmpeg2pass-4*, etc.
My solution was to create soft-links to the originally created set of files with the new names that were required for each pass before running the second-pass command.
ln -s ffmpeg2pass-0.log ffmpeg2pass-2.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-2.log.mbtree
ln -s ffmpeg2pass-0.log ffmpeg2pass-4.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-4.log.mbtreeThis seems to work as it results in the output encodes that I needed. However, I don’t know if this method is legitimate. Am I getting sub-optimal encoding results by using a first-pass output for one bitrate (700k) as the input to second-pass encodings for other bitrates ?
-
How to use ffmpeg / x264 2-Pass encoding for multiple bitrate output files
2 décembre 2014, par JonesyWhile performing a 2-Pass encode to multiple output files I was receiving the error
ratecontrol_init: can't open stats file 1 ffmpeg2pass-2.log
My setup is to do a single first pass and then multiple second pass encodes to output files with different target bitrates using the same first pass results.
ffmpeg -y -i $INPUT_FILE -an -vcodec libx264 -pass 1 -b:v 700k -f rawvideo /dev/null
ffmpeg -y -i $INPUT_FILE -i out-aud.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 250k -f mp4 out-250.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 500k -f mp4 out-500.mp4 \
$AUDIO_OPTIONS_P2 -vcodec libx264 -pass 2 -b:v 700k -f mp4 out-700.mp4This sequence resulted in the error listed above. What I discovered thru code-inspection is that ffmpeg/x264 looks for a different set of first-pass files for each second-pass encoding path. The first encoding path uses the set of files originally created
ffmpeg2pass-0.log
ffmpeg2pass-0.log.mbtreeThe second encoding path requires first-pass files with the names
ffmpeg2pass-2.log
ffmpeg2pass-2.log.mbtreeThe third encoding path requires first-pass files with the names starting with ffmpeg2pass-4*, etc.
My solution was to create soft-links to the originally created set of files with the new names that were required for each pass before running the second-pass command.
ln -s ffmpeg2pass-0.log ffmpeg2pass-2.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-2.log.mbtree
ln -s ffmpeg2pass-0.log ffmpeg2pass-4.log
ln -s ffmpeg2pass-0.log.mbtree ffmpeg2pass-4.log.mbtreeThis seems to work as it results in the output encodes that I needed. However, I don’t know if this method is legitimate. Am I getting sub-optimal encoding results by using a first-pass output for one bitrate (700k) as the input to second-pass encodings for other bitrates ?