Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-09-2009, 12:34 AM   #1
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Rep: Reputation: 60
HowTo: Custom ffmpeg with x264 support for AMD64 on Debian Squeeze

This caused me some amount of frustration - this is a quick howto for anyone interested based on this:

sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm libfaac-dev libfaad-dev libmp3lame-dev libtheora-dev libxvidcore4-dev libopencore-amrnb-dev libopencore-amrwb-dev libspeex-dev libavdevice52 libavfilter0 libavformat52 libdc1394-22 libswscale0 libusb-1.0-0 libdc1394-dev liba52-0.7.4 liba52-0.7.4-dev

cd ~
git clone git://
cd x264
./configure --enable-shared --enable-pic
sudo checkinstall -D make install
sudo ldconfig

cd ~
svn checkout svn:// ffmpeg
cd ffmpeg
./configure --enable-gpl  --enable-postproc --enable-libvorbis --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264 --enable-libxvid -
-enable-shared --enable-nonfree  --enable-libopencore-amrnb   --enable-libopencore-amrwb   --enable-libspeex --enable-version3
sudo checkinstall -D make install
(The --enable-pic option fixed a "relocation R_X86_64_32 against rodata.str1.1" error after much googling)

Last edited by propofol; 10-09-2009 at 12:39 AM. Reason: Addition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] (Debian Squeeze amd64) udev keeps renaming the eth2 device to wlan0_rename vharishankar Debian 10 06-25-2016 02:45 PM
LXer: Upgrade To The Latest FFmpeg and x264 in Ubuntu Intrepid and Jaunty LXer Syndicated Linux News 0 08-30-2009 07:20 PM
[SOLVED] Debian (AMD64 - squeeze) - booting takes a long times - Hangs up at IRQ message vharishankar Debian 32 07-07-2009 09:02 AM
AMD64:x264 ffmpeg problems chronosoft Ubuntu 1 06-10-2007 09:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration