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

Amila Perera perera.amila at gmail.com
Mon Jun 30 18:51:26 CEST 2014


Thanks for your advice..


On Mon, Jun 30, 2014 at 9:23 PM, Lou <lou at lrcd.com> wrote:

> On Mon, Jun 30, 2014, at 03:07 AM, Amila Perera wrote:
> >  % ffmpeg -i input.mov -profile:v 'baseline' -crf 35.0 -vcodec libx264
> > -acodec libvo_aacenc -ar 48000 -b:a 128k -coder 1 -rc_lookahead 50
> > -threads 0 lmno.mp4
>
> * -coder and -rc_lookahead will be provided by the x264 preset ("-preset
> medium" being the default if you don't explicitly put it in your
> command), so in the vast majority of cases you don't need to add these
> options.
>
> * "-threads 0" is the default (at least for this encoder, IIRC), so
> that's superfluous.
>
> * I didn't see any audio stream in your input, so audio options aren't
> needed for this example.
>
> So adding the suggestions from James and Patrick and using your options
> could result in:
>
> ffmpeg -i input.mov -vcodec libx264 -crf 35 -pix_fmt yuv420p -movflags
> +faststart out.mp4
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 



*Amila Perera.*


More information about the ffmpeg-user mailing list