LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 51
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:

Code:
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://git.videolan.org/x264.git
cd x264
./configure --enable-shared --enable-pic
make
sudo checkinstall -D make install
sudo ldconfig

cd ~
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk 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
make
sudo checkinstall -D make install
(The --enable-pic option fixed a "relocation R_X86_64_32 against rodata.str1.1" error after much googling)
Regards,
Stefan

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


Reply


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
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 Squeeze amd64) udev keeps renaming the eth2 device to wlan0_rename vharishankar Debian 9 07-07-2009 08:28 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


All times are GMT -5. The time now is 05:38 PM.

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