How to FAST convert your videos to iPod MP4 on Ubuntu
Wednesday, 14. May 2008, 04:13:51

I ran a lot of experiments and finnaly I wrote a VERY FAST script to convert videos to my iPod Nano 3rd Generation. It encode videos to XviD with ffmpeg and utilizes AAC as audio codec. The final quality is good, the result video file is small and the convertion time is short. So, what else could you want???
You can install it by coping and pasting the following lines into your terminal:
sudo wget http://homepages.dcc.ufmg.br/~evaladao/storage/scripts/ipodencoder.sh -O /usr/local/bin/ipodencoder sudo chmod +x /usr/local/bin/ipodencoder
And to encode a video file, just type:
ipodencoder input_video.avi
OBS.: If your ffmpeg do not have AAC support, you can compile it from source with some additional parameters to get support to h264, xvid, theora, aac, etc... If you are using Ubuntu, just type:
cd /tmp sudo apt-get build-dep ffmpeg apt-get source ffmpeg cd ffmpeg-*/ ./configure --enable-gpl --enable-pp --enable-pthreads --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 make make install
By gtblackwell, # 22. August 2008, 20:25:20