[MEncoder-users] problem encoding for ipod

Wipliez Remi rwipliez at gmail.com
Mon Aug 27 10:44:52 CEST 2007


Hi all,

Since a few weeks, I were looking for a way to encode properly several
videos for my ipod video 5.5G.

Unfortunately, I didn't succed to do it. I search a lot in differents
websites and find only ways to encode using ffmpeg. I was not satisfied with
results, and I managed to have a good quality video with mencoder, but it
wasn't recognized by the ipod.
In fact, I want to use mencoder because I sometimes wants to insert
subtitles in movies. Moreover, I love this encoder, I know it have many many
options, and I would like to know more about encoding.

Here my script:

# first pass
mencoder -endpos 120 -ffourcc XVID -oac faac -ovc lavc -lavcopts
vcodec=mpeg4:vmax_b_frames=0:brd_scale=3:vbitrate=1200:autoaspect:vpass=1
-faacopts br=192 -vf scale=320:176 -of lavf  -o temp.mp4 $1

mencoder -endpos 120 -ffourcc XVID -oac faac -ovc lavc -lavcopts
vcodec=mpeg4:vmax_b_frames=0:brd_scale=3:vbitrate=1200:precmp=2:cmp=2:subcmp=2:preme=2:last_pred=2:me_range=0:autoaspect:vpass=3
-faacopts br=192  -vf scale=320:176 -of lavf -o temp.mp4 $1

# third pass:
mencoder -endpos 120 -ffourcc XVID -oac faac -ovc lavc -lavcopts
vcodec=mpeg4:vmax_b_frames=0:vb_strategy=0:brd_scale=3:vbitrate=1200:precmp=2:cmp=2:subcmp=2:preme=2:last_pred=2:predia=2:dia=2:trell:mbd=2:v4mv:me_range=0:autoaspect:vpass=3
-faacopts br=192  -vf scale=320:176 -of lavf -o temp.mp4 $1

I am not confortable with all the options. I guess my video is not
recognized by ipod maybe cause of the output format, or it is a questions of
b-frames, or it's simply a bad codec.
I tried to encode with lavc and the mpeg4 codec, with x264 codec, but didn't
succed to obtain a proper video on my ipod. Do I have to try with xvid
codec? I think this one is not supported by ipod.

Thank you very much for any help.

Regards,

Rémi

PS: I'm a french user of mencoder, so I apalogize for english mistakes ;)

-- 
There are two major products to come out of UC Berkeley: LSD and UNIX. This
is not a coincidence...



More information about the MEncoder-users mailing list