Linux tip, Fedora tip / howto: converting AVI files for the iPod Touch

 
Note that these tips are mostly outdated


back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

converting AVI files for the iPod Touch

Install ffmpeg:
yum install ffmpeg

For ffmpeg version 0.4.9 I got this to work (this input file had mp3 audio):
ffmpeg -vcodec mpeg4 -acodec mp3 -i my_input_file.avi -maxrate 1000k -b 700kb -bufsize 8192kb -qmin 3 -qmax 5 -s 480x320 -acodec libfaac -ab 128kb my_output_file.mp4
(this also made the annoying "mpeg4 rc buffer underflow" errors disappear)

A commandline that worked for my iPod Touch:
ffmpeg -y -i my_input_file.avi -b 768000 -s 480x320 -vcodec libxvid -ab 128000 -acodec libfaac -ac 2 -f mp4 my_output_file.mp4


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.