[FFmpeg-user] mpg to mp4 request

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 9 21:22:57 CEST 2014

wally <wally <at> voosen.eu> writes:

> Which ffmpeg commandline do this job ?

Did you test the obvious?
$ ffmpeg -i source.mpg -vcodec libx264 -vb 1.9M -acodec aac 
-strict -2 -ab 90k out.mp4

>    Metadata:
>      major_brand     : mp42
>      minor_version   : 0
>      compatible_brands: isommp42

FFmpeg only writes isom files, you can overwrite this, 
but I am not sure that makes the output file mp42.

Carl Eugen

More information about the ffmpeg-user mailing list