[FFmpeg-user] Flags to x264

Marcus Engene ffmpeg2 at engene.se
Tue Mar 26 09:19:54 CET 2013


On 3/25/13 7:34 PM, Lou wrote:
> Declaring a legion of x264 options is not recommended. You should use
> the x264 encoding presets instead. They were created by the x264
> developers so users will not have to declare an often contradictory and
> bewildering number of options. They make your commands much shorter,
> saner, and are kept up-to-date with any changes, additions, etc.
>
> Other notes:
> * For filtering with multiple inputs you should generally use
> -filter_complex. You can then remove the "movie" source filter.
> * -threads 0 is default for this encoder, so you don't necessarily need
> to include it.
> * libx264 ignores the -bt option, so you can remove that too.
> * Using -s and a scale filter is confusing.
>
> So you command can look something like:
> ffmpeg -y -i intermediate.mov -i tdir/wm169.png -filter_complex
> scale=478:-1,overlay,format=yuv420p -c:v libx264 -preset medium -b:v
> 400k -an -pass 1 -f mp4 /dev/null
>
> You may have to adjust your filter options and your desired encoding
> preset. You can see what each preset applies with "x264 --fullhelp".
>
> Also see:
> http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
Good idea, we'll dive into the presets and see where that leads. Many 
thanks!

Best,
Marcus



More information about the ffmpeg-user mailing list