[FFmpeg-user] ffmpeg 0.10 on Linux

Jim Worrall coniophora at gmail.com
Sun Feb 19 15:50:36 CET 2012

On Feb 18, 2012, at 2:44 PM, sjames wrote:
> many thanks Carl, for that switch '-pix_fmt yuv420p'
> I got perfect video and audio after encoding on the Linux with the below command pipeline.
> ffmpeg -i 1.Chandi.HiRes  -ab 320k -vol 1024 -vcodec libx264 -b:v 2000k -pix_fmt yuv420p 1.Chandi.HiRes.tv3.mp4
> I then tried to use the same command string on the Mac LION, and it doesn't work.
> see below:
> ./ffmpeg -i /Volumes/LaCie_Disk_2TB/ChandiHiResClasses/1.Chandi.HiRes  -ab 320k -vol 1024 -vcodec libx264 -b:a 2000k /Volumes//My_Book/Chandi_Classes_640x480_1-29-12/1.Chandi.HiRes-g5.mp4

That doesn't look like the same command line.  For one thing, -b:v 2000k has become -b:a 2000k, and so it looks like you've set audio bitrate twice.  More importantly, the -pix_fmt option is missing?

More information about the ffmpeg-user mailing list