[mythtv-users] Transcoding for Palm handheld?

Scott Alfter mythtv at salfter.dyndns.org
Mon Nov 6 18:18:49 UTC 2006


David Cain wrote:
> I'm interested in setting up transcoding jobs (on my current  
> standalone 0.18 and my next-gen frontend/backend 0.20 systems) which  
> will take a particular program and transcode a version for my Palm  
> Tungsten T3 nightly.

It should be possible to set up a user job and set the appropriate recording
schedule to run that user job.  How exactly you would do that, I don't know as
I've always transcoded stuff manually when I wanted to watch something from a
remote location.

For watching stuff on my Treo 650, this two-pass encoding produces pretty good
results:

mencoder -vf scale=320:240 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=352:autoaspect=1:trell=1:mbd=2:v4mv=1:turbo:vpass=1 -oac
copy -o /dev/null foo.mpg && mencoder -vf scale=320:240 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=352:autoaspect=1:trell=1:mbd=2:v4mv=1:turbo:vpass=2 -oac
mp3lame -lameopts cbr:br=32:mode=3 -ffourcc XVID -o foo.avi foo.mpg

For news/sports/soaps/other stuff that isn't shot on film, the above is
optimal.  For TV shows that were shot on film and then telecined (that would be
most things other than news/sports/soaps), try this instead:

mencoder -vf scale=320:240,pullup,softskip -ofps 24000/1001 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=352:autoaspect=1:trell=1:mbd=2:v4mv=1:turbo:vpass=1 -oac
copy -o /dev/null foo.mpg && mencoder -vf scale=320:240,pullup,softskip -ofps
24000/1001 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=352:autoaspect=1:trell=1:mbd=2:v4mv=1:turbo:vpass=2 -oac
mp3lame -lameopts cbr:br=32:mode=3 -ffourcc XVID -o foo.avi foo.mpg

If the source material is widescreen, scale it to 320x176 instead of 320x240.
If the source material is letterbox, crop out the top 60 lines (-vf
crop=480:360:0:60 will work for a 480x480 source) and scale to 320x176.

  _/_
 / v \ Scott Alfter (remove the obvious to send mail)
(IIGS( http://alfter.us/            Top-posting!
 \_^_/ rm -rf /bin/laden            >What's the most annoying thing on Usenet?



More information about the mythtv-users mailing list