[MEncoder-users] Cannot encode MP4/MOV/FLV with global headers!?
James Hastings-Trew
jimht at shaw.ca
Fri Jul 9 03:35:28 CEST 2010
On 10-07-08 7:03 PM, Laine Lee wrote:
> On 7/2/10 7:22 AM, "James Hastings-Trew"<jimht at shaw.ca> wrote:
>
>> Mencoder cannot directly make files suitable for ipod. No matter what
>> video and audio codecs you use (and I am pretty sure you are using the
>> wrong ones here, but I could be mistaken), mencoder cannot add the "ipod
>> atom" to the resulting file. For that, you will need mp4box.
>>
>> A "one pass process" for ipod would be to use something else - like
>> ffmpeg or handbrake.
>>
>> Also, this question has been asked and answered in here several times
>> over the years. Have a look in the archives at
>> http://news.gmane.org/gmane.comp.video.mencoder.user , for the term
>> "ipod" as a start. Have a look at this result:
>> http://article.gmane.org/gmane.comp.video.mencoder.user/7492/match=ipod
>> . It might be a titch out of date, as some of the encoding defaults have
>> changed since then. For example, it might be necessary to declare
>> bframes=0 now, as the default has changed from 0.
>
> I'm making iPod videos (iPhone, iPod 2G, 3G) with MEncoder alone. Here's a
> command I used today to do it.
>
> mencoder inputfile -o outputfile.iPod.mp4' -vf scale=720:-10,harddup -of
> lavf -lavfopts format=ipod -alang en -oac faac -faacopts
> br=192:mpeg=4:object=2:raw -ovc x264 -x264encopts
> bitrate=1500:nocabac:level_idc=30:bframes=0:global_header:threads=auto:subq=
> 5:partitions=all:trellis=1:chroma_me:me=umh:weightp=0:8x8dct=0;/bin/echo '
>
> ==========================
>
> outputfile.iPod.mp4 FINISHED!
>
> ==========================
>
> '
>
> Laine Lee
Interesting.. I had not realized there was an format=ipod option there.
Gotta learn something new every day. ;)
More information about the MEncoder-users
mailing list