Skip navigation.

Mobilet

01100010011110010010000001100101011101100110010101110010011101000110100001101111011011100101011001010011

Posts tagged with "ipod convertion linux ubuntu mp4 ffmpeg xvid aac"

How to FAST convert your videos to iPod MP4 on Ubuntu



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 XviD/AAC support, you can compile it from source with some additional parameters to get support to xvid, aac, h264, theora, etc... If you are using Ubuntu, just type in the command line:

sudo su
cd /tmp
apt-get build-dep ffmpeg
apt-get install libvorbis-dev libogg-dev libtheora-dev liba52-*-dev libdc1394-*-dev libgsm1-dev liblame-dev libfaad2-dev libfaac-dev libmp4v2-dev libx264-dev libxvidcore4-dev
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
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31