[mythtv-users] PDATRANSCODE: Mencoder Issue

Jeff volckaert jvolckaert at gmail.com
Wed Nov 21 14:05:39 UTC 2007


> Jeff volckaert wrote:
> > I just got an Ipod Touch to replace my Dell Axim X51V for watching
> > Mythtv video.  I'm trying to update PDATranscode to emcode video for
> > the Ipod.
> >
> > This command using FFMpeg 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
> >
> > Any suggestions?  Anyone had success encoding for an Ipod using Mencoder?
> >
> > BTW, I think Mencoder produces a better quality picture than FFmpeg,
> > that's why I like using it.
> >
> > Jeff
I was able to resolve the issue with some help from the mplayer
mailing list.  Here's the working command:

# Transcode using Mencoder for Ipod Touch
nice -+19 mencoder -ofps 25 -of lavf -lavfopts format=mp4 -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=mpeg4:vbitrate=384:keyint=25
-o $VIDEODIR/pda/$TITLE-$STARTTIME-$SUBTITLE.mp4 $VIDEODIR/$FILENAME
-quiet

Jeff


More information about the mythtv-users mailing list