<div class="gmail_quote">On Tue, Mar 4, 2008 at 11:14 AM, Jeff Simpson <<a href="mailto:jeffsimpson@alum.wpi.edu">jeffsimpson@alum.wpi.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm pleased to announce the release of my video2ipod script!<br>
<br>
Description: Convert videos to ipod-compatible format. Any video<br>
format ffmpeg can read for input, output is mpeg4 or h264 videos in<br>
iPod format.<br>
<br>
Motivation: A lot of scripts of this type exist, but none of them do<br>
everything I wanted. I figured if I was going to go through all the<br>
hassle of writing up a script, I may as well share it with the<br>
community<br>
<br>
Features: (Here's what sets it apart):<br>
* full resolution videos for iPod. Perfect for plugging your iPod into<br>
a TV. I've tested up to 720x480 in both h264 and mpeg4 on my 5.5G<br>
video iPod, and they look stunning. It can do lower resolutions as<br>
well, of course.<br>
* MythTV export. set up video2ipod as a user job and give it CHANID<br>
and STARTTIME, and it will pull the rest of the information from the<br>
database.<br>
* <a href="http://tv.com" target="_blank">tv.com</a> lookup of tv shows. It will look up the episode to get<br>
episode number, season number, summary, and other information. Slight<br>
misspellings are handled by finding "best fit" for an episode name,<br>
and keeping the Myth episode name if the match isn't close enough.<br>
* Translation table included for TV show names that don't match up with <a href="http://tv.com" target="_blank">tv.com</a><br>
* mp4 tagging in iTunes format. AtomicParsley is used to tag the<br>
title, episode, episode number, season number, summary, and other tags<br>
for the iPod. Using iTunes, these should properly show up in the right<br>
sections on the iPod. There is not currently an app for linux that can<br>
read those tags when loading the ipod, unfortunately.<br>
* Black-bar detection and cropping. Not recommended for TV where the<br>
bars change often, but great for DVDs or videos that have bars in them<br>
already.<br>
<br>
This is the first public release of the script. I've been the only one<br>
using it so far, but it's worked great.<br>
<br>
<a href="http://wiki.jeffornot.com/index.php/Video2ipod" target="_blank">http://wiki.jeffornot.com/index.php/Video2ipod</a><br>
<br>
Very open to comments, suggestions, bug reports, etc. Be sure to meet<br>
all the requirements for installation. There are some weird perl<br>
modules you'll need, and you'll need AtomicParsley, ffmpeg, and<br>
mencoder/midentify.<br>
_______________________________________________<br></blockquote><div><br><font style="font-family: arial,helvetica,sans-serif;" size="2">Good job. I may take a look at this for replacing the PDA Transcode scripts I use. I created the scripts found here:<br>
<br><a href="http://www.mythtv.org/wiki/index.php/Transcoding_for_the_PDA">http://www.mythtv.org/wiki/index.php/Transcoding_for_the_PDA</a><br><br>For the ipod touch I use mencoder like so:<br></font><pre style="font-family: arial,helvetica,sans-serif;">
<font style="font-family: arial,helvetica,sans-serif;" size="2"># Transcode using Mencoder for Ipod Touch<br> 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<br>
</font><font size="2"><br>You use FFMPEG? I did some testing and prefer the quality of Mencoder better. I know they use alot of the same libraries, but for some reason mencoder seems to produce a better output.<br><br>What bitrate do you use?<br>
<br>Jeff<br></font></pre></div></div>