[FFmpeg-user] converting .mov(MJPEG) to web optimized .mp4(h264)

Amila Perera perera.amila at gmail.com
Mon Jun 30 13:55:27 CEST 2014


On Mon, Jun 30, 2014 at 5:17 PM, James Darnley <james.darnley at gmail.com>
wrote:

> On 2014-06-30 13:13, Reindl Harald wrote:
> > x264 [error]: baseline profile doesn't support 4:2:2
>
> This is dead easy to solve!  Add -pix_fmt yuv420p to the command line to
> make ffmpeg convert to 4:2:0.


Thank you James.................
Your suggestion solved my problem.


Here is the final command that worked for me.
---
% ffmpeg -i input.mov -profile:v 'baseline' -pix_fmt yuv420p -crf 35.0
-vcodec libx264 -acodec libvo_aacenc -ar 48000 -b:a 128k -coder 1
-rc_lookahead 50 -threads 0 lmno.mp4
---


-- 



*Amila Perera.*


More information about the ffmpeg-user mailing list