[MEncoder-users] Encoded file doesn't sync with iPhone

Mark Himsley mark at mdsh.com
Sat Mar 6 14:33:54 CET 2010


On 06/03/2010 12:38, Jörgen Isaksson wrote:
> Hi all mencoder wizards,
> 
> This is my first post on the list, so please be gentle with me.
> 
> I have downloaded and compiled mencoder and x264 successfully on my mac with 10.6.
> 
> After some long research hours on the net I found some mencoder settings that the authors claimed to work with the iPhone. This is the commandline I used.
> 
> mencoder input.mov -o output.m4v -vf dsize=480:320:2,scale=-8:-8,harddup -of lavf -lavfopts format=ipod -alang en -sws 2 -oac faac -faacopts br=128:mpeg=4:object=2:raw -srate 44100 -ovc x264 -x264encopts bitrate=800:nocabac:level_idc=30:bframes=0:global_header:threads=2:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
> 
> The file encodes without problem and plays just fine on the desktop and in iTunes, but it doesn't sync with the iPhone?t
> 
> Have I done something wrong here? My understanding was that the "format=ipod" would add the needed atom for the movie to sync with the iPhone.
> 
> Any help would be much appreciated.

I find this gives very nice quality encodes from PAL size MPEG files.
Note thought that I'm using libx264 and libfaac through the lavc output
codec chain instead of using faac and x264 directly.
Hope it helps...

mencoder -v
-noskip -mc 0
-aspect 1050:576
-ofps 25.00
-vfm ffmpeg
-vf kerndeint=18:0:0:1:0,crop=688:568:16:4,scale=480:272,harddup
-ovc lavc -oac lavc
-lavcopts
vglobal=1:vcodec=libx264:vqscale=2:vqmin=2:level=30:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=0:cmp=3:subcmp=3:vrc_eq="blurCplx^(1-qComp)":autoaspect:aglobal=1:acodec=libfaac:abitrate=128
-of lavf -lavfopts format=ipod
-o output.mp4
input.mpg

-- 
Mark


More information about the MEncoder-users mailing list