So I’ve finally gotten to sit down and fiddle with my 5G iPod under Linux. I’ve gotten gtkpod working (though not the patches to support video syncing), and I think I’ve got FFmpeg generating good video content. Transcode and MEncoder seem to lack AAC support, and the iPod won’t play MP3 audio, so FFmpeg is the only option here.
The command I’m using is:
$ ffmpeg -vcodec xvid -b 300 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 96 -i input_file.avi -s 320x240 -aspect 4:3 ipod_output.mp4
You may want to change:
Since I don’t have video sync working, I can’t verify that this works, but I don’t see why it wouldn’t. One-pass encoding is about 2x realtime on my 2.4ghz P4, and file sizes are very reasonable – 70mb for a 20 minute TV episode. Quality is not fantastic, but should be fine for the iPod screen. Some tweaking should locate a sweet spot, with ~1.5 – 2x encoding and better quality.
Edited to add: It works, though I can’t seek in the video – lame. Quality is fine on the iPod screen. If you’re compiling gtkpod from CVS (needed for video syncinc), revert src/file_itunesdb.c to revision 1.65 – the last commit was bad. Also: Ripping my 14-disc Monty Python DVD set to iPod video now. Will it be done by Monday? Who knows!
Discussion