[MPlayer-users] Ipod Touch Encoding problem

The Wanderer inverseparadox at comcast.net
Wed Nov 21 04:34:18 CET 2007


Jeff volckaert wrote:

>> That's what I've used:
>> 
>> mencoder -ofps 25 -of lavf -lavfopts format=mp4 -af 
>> lavcresample=44100 -vf-add harddup -vf-add scale=320:-11 -oac lavc 
>> -ovc lavc -lavcopts 
>> aglobal=1:vglobal=1:acodec=libfaac:abitrate=192:vcodec=libx264:vbitrate=384:keyint=25 
>> test.mp4 -o ipod.mp4
>> 
>> and that's the result - try if it'll works (6MB):
>> http://premium.fileden.com/premium/2006/12/11/497871/Private/ipod.mp4
> 
> Thanks for replying.  Yours plays great.
> 
> I had to add "i_certify_that_my_video_stream_does_not_use_b_frames"

That is a sign that you are using an outdated version of MEncoder. That
option is no longer required in recent versions.

> and change libx264 to h264

That probably means that libx264 was not installed when your version of
MEncoder was compiled.

> to get it to run.  Here's what I ran:
> 
> mencoder -of lavf -lavfopts 
> format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -af 
> lavcresample=44100 -vf-add harddup -vf-add scale=320:240 -oac lavc 
> -ovc lavc -lavcopts 
> aglobal=1:vglobal=1:acodec=libfaac:abitrate=128:vcodec=h264:vbitrate=256:keyint=25 
> ../1011_20071118200000.mpg -o SimpsonsMailingListTest2.mp4
> 
> I get a file I can import into Itunes, but it is all green garbage. 
> The audio sounds good though!
> 
> Any suggestions?

What I would expect to need to do if I found myself in your situation
is: install libx264 (including development headers), compile MPlayer
from the latest development source obtained via SVN (or, at least, from
the 1.0rc2 source), and try the unmodified command line in that.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-users mailing list