Compiling ffmpeg w/ x264

Tech Notes

http://thomer.com/howtos/ipod_video.html You'll need your gpg key whale:~ rossetti$ gpg2 --export-secret-keys -a > secret.asc whale:~ rossetti$ scp secret.asc Wakatipu.local:~/ rossetti@Wakatipu:~$ gpg --import secret.asc Add the debian-multimedia repository rossetti@Wakatipu:~$ wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb rossetti@Wakatipu:~$ sudo dpkg -i debian-multimedia-keyring_2008.10.16_all.deb rossetti@Wakatipu:~$ sudo aptitude update Install the dependencies rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo aptitude install libamrnb3 libx264-dev libxvidcore4-dev libamrwb-dev libamrnb-dev libfaac-dev Get the ffmpeg sources rossetti@Wakatipu:~/installers/ffmpeg$ apt-get source ffmpeg rossetti@Wakatipu:~/installers/ffmpeg$ cd ffmpeg-debian-0.svn20080206/ rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ vi debian/confflags gpl_confflags += --enable-x11grab gpl_confflags += --enable-nonfree Configure rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ ./configure --enable-gpl --enable-nonfree --enable-pp --enable-pthreads --enable-x11grab --enable-libamr-nb --enable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib Build rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ dpkg-buildpackage -rfakeroot -b -k[gpgkeyid] The .deb files are created in the parent directory. Install them with dpkg. rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo dpkg -i ../*.deb