[MPlayer-users] Ipod Touch Encoding problem

Jeff volckaert jvolckaert at gmail.com
Tue Nov 20 18:36:03 CET 2007


I just got an Ipod Touch to replace my Dell Axim X51V for watching
Mythtv video.  I'm trying to encode video for the Ipod under Linux
using mencoder from mplayer-1.0-60_r23482.fc6.rpm.

The exact version is:
MEncoder dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 8, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
112 audio & 235 video codecs


This command is in my encoding script (using FFMpeg) and works:
nice -+19 ffmpeg -i  $VIDEODIR/$FILENAME -f mp4 -r 30 -vcodec mpeg4 -b
384 -qmin 3 -qmax 5 -g 300 -acodec aac -ar 44100 -ab 192 -s 320x240
-aspect 16:9 -title $TITLE $VIDEODIR/pda/$TITLE-$STARTTIME.mp4 -v -1

But, this command using Mencoder produces a file that I can't import
into Itunes:
nice -+19 mencoder -ofps 30000/1001 -af lavcresample=24000 -vf harddup
-of lavf -oac lavc
-ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac -lavfopts i_cert
ify_that_my_video_stream_does_not_use_b_frames -oac lavc -ovc lavc -lavcopts agl
obal=1:vglobal=1:vcodec=mpeg4:acodec=aac  -o
$VIDEODIR/pda/$TITLE-$STARTTIME-$SUBTITLE.mp4 $VIDEODIR/$FILENAME
-quiet

I tried these manually and they don't work either:
mencoder -oac lavc -lavcopts acodec=mp3:abitrate=128 -ovc x264
-x264encopts bitrate=256:level_idc=30:bframes=0:nocabac:nopsnr:nossim
-vf scale=320:240 ../1011_20071118200000.mpg -o Simpsons264test.mp4

mencoder -oac lavc -ovc lavc -lavcopts
aglobal=1:vglobal=1:coder=1:vcodec=h264:acodec=mp3:vbitrate=512:abitrate=64
-vf scale=320:240 ../1011_20071118200000.mpg -o Simpsons264test2.mp4

Any suggestions?  Anyone had success encoding for an Ipod Touch or
Iphone using Mencoder?

BTW, I think Mencoder produces a better quality picture than FFmpeg,
that's why I like using it.

Thanks,
Jeff



More information about the MPlayer-users mailing list