View Full Version : FFMPEG - Arguments
Would some one be so kind as to provide me with the command line arguments for ffmpeg, that you would use to convert a .avi file to and .mp4 for the iPod.
Thanks
bill_baroud
27th June 2006, 10:07
:search:
and unfortunatly the ffmpeg mapping of x264 options is not complete and quite obscure, so use x264 binaries.
Hint : MeGUI has a profile for ipod and you can see the command line options :sly:
Thanks, and ofr anyone wondering.
ffmpeg -i input -acodec aac -ab 128 -vcodec mpeg4 -b 1200 -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4
Hyper Shinchan
27th June 2006, 17:55
Thanks, and ofr anyone wondering.
I'm not so used with the FFMPEG's option (generally I choose the -hq option and then I set other stuffs like b frames, trellis, motion vector and so on), but I-Pod doesn't need 1.3 level AVC? You would use the -vlevel 13 and -coder 0 to don't use CABAC. and for the output
-f ipod output.m4v.
bond
27th June 2006, 20:15
.m4v is the extension for raw mpeg-4 asp files, not for avc
the ipod understands the .mp4 extension just fine, so there is no reason why to use .m4v
also there is no such thing as an "ipod m4v format" which "m4v" might suggest. the ipod supports normal .mp4 files as the mpeg-4 standard defines them (in contrary to the psp)
when encoding with ffmpeg with x264 with b-frames, but without b-pyramid (!!!), the mp4 file created should be spec compliant
still you can also use x264cli for getting a correct file
Hyper Shinchan
30th June 2006, 11:17
.m4v is the extension for raw mpeg-4 asp files, not for avc
the ipod understands the .mp4 extension just fine, so there is no reason why to use .m4v
also there is no such thing as an "ipod m4v format" which "m4v" might suggest. the ipod supports normal .mp4 files as the mpeg-4 standard defines them (in contrary to the psp)
when encoding with ffmpeg with x264 with b-frames, but without b-pyramid (!!!), the mp4 file created should be spec compliant
still you can also use x264cli for getting a correct file
Well, I know that, but it can be useful for an I-Tunes user, because I-Tunes have problem with normal .mp4 (I mean that it has problem with the tagging). Anyway I don't have an I-Pod so I dunno if it works or not...
bond
30th June 2006, 17:06
ipod .m4v files are 100% identical to normal .mp4, only the extension is different and therefore there is no need to use the wrong .m4v extension
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.