[MEncoder-users] Recoding RM files for iPod
James Hastings-Trew
jimht at shaw.ca
Wed Dec 26 23:52:39 CET 2007
Ulf Magnusson wrote:
> On Dec 26, 2007 11:10 PM, James Hastings-Trew <jimht at shaw.ca> wrote:
>
>> Ulf Magnusson wrote:
>>
>>>> ** MUXER_LAVF *****************************************************************
>>>> REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
>>>> INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
>>>> will play these INCORRECT files as if nothing were wrong!
>>>> ******************************************************************************
>>>>
>> Try googling through the online archive of this mailing list - proper
>> "recipies" for ipod encoding have been posted here with fair regularity.
>>
>> _______________________________________________
>> MEncoder-users mailing list
>> MEncoder-users at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>
>>
>
> I searched through the archive a bit before I posted. The problem is
> it's hard to get an overview of what's absolutely required for the
> conversion, and what of it is merely fine-tuning, especially since the
> commands are all quite complex. They also vary a lot. It'd be nice if
> there was an explanation of the bare minimum required, and some
> suggestions for further tweaking. I tried a few of the suggestions
> that don't depend on MP4Box or some other external mp4 muxers, but
> iTunes rejected them with the error I mentioned.
>
iTunes won't download them to the ipod unless the "itunes" atom is set
to the correct value. You can add the atom to the file with nicMP4Box (
http://nic.dnsalias.com/NicMP4Box.zip )
nicmp4box -add test.mp4 final.mp4
I've posted my own personal recipe for ipod encoding on the list before, but here it is again:
mencoder INPUT -sws 9 -of lavf -lavfopts format=mp4
/ -vf scale=576:320,dsize=576:320,harddup
/ -ovc x264
/ -x264encopts bitrate=1381:vbv_maxrate=1500:vbv_bufsize=2000:nocabac:me=umh:
/trellis=1:level_idc=30:global_header:threads=2:pass=1:turbo
/ -oac faac
/ -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000 -o TEMP.mp4
mencoder INPUT -sws 9 -of lavf -lavfopts format=mp4
/ -vf scale=576:320,dsize=576:320,harddup
/ -ovc x264
/ -x264encopts bitrate=1381:vbv_maxrate=1500:vbv_bufsize=2000:nocabac:me=umh:
/subq=6:frameref=6:trellis=1:level_idc=30:global_header:threads=2:pass=2
/ -oac faac
/ -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000 -o TEMP.mp4
nicmp4box -add TEMP.mp4 OUTPUT.mp4
_______________________________________________
More information about the MEncoder-users
mailing list