Originally tested on fedora core 15 and 2.6.35.11-83.9.amzn1.x86_64
Download and install yasm (http://yasm.tortall.net/)
$ cd yasm
$ ./configure --prefix=/usr
$ make; sudo make installDownload and compile faac - mpeg2 and mpeg4 AAC encoder/decoder http://www.audiocoding.com/faac.html
$ cd faac-1.28
$ ./bootstrap
$ ./configure prefix=/usr
$ make;sudo make installDownload and compile faad
$ cd faad2
$ ./autoreconf -vif
$ ./configure prefix=/usr
$ make;sudo make installDownload and compile libmp3lame, the lame mp3 library.
$ cd libmp3lame
$ ./configure prefix=/usr
$ make;sudo make installDownload and compile xvidcore
$ cd xvidcore/build/generic
$ ./configure prefix=/usr
$ make;sudo make installDownload and compile libx264
$ ./configure --prefix=/usr --enabled-shared --enable-pic
$ make; sudo make installDownload and compile libogg http://xiph.org/downloads/
$ ./configure --prefix=/usr
$ make
$ sudo make installDownload and compile libvorbis http://xiph.org/downloads
$ ./configure
$ make
$ sudo make installDownload and compile libtheora http://www.theora.org/downloads/
Initially i was getting complaints about not finding libogg, but disappeared after running
$ sudo ldconfigTo compile libtheora do this:
$ ./configure --prefix=/usr
$ make
$ sudo make installDownload and compile ffmpeg
$ ./configure --prefix=/usr --enable-gpl --enable-postproc --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libfaac
2 Comments
Hi there, This is a nice
Submitted by Anonymous on
Hi there,
This is a nice source and i thank you for posting it, however I noticed it is fairly generic and i am wondering if you have more indepth knowledge because I am having some issues with x264 lavf support...
Have you got x264 to compile with lavf support once you have compiled and installed ffmpeg? and do you think it's necessary for building all the other components or would the repo installs suffice for all the others except vorbis, x264, libvpx and ffmpeg?
Any assistance would be appreciated because all I can see out there is support and guides for ubuntu and having followed those I still can't get x264 built with lavf support :S
Hope you can help out with this or perhaps you know of some forums I might be able to get some help from?
Thanks for the commment.
Submitted by steev on
Thanks for the commment. Unfortunately i can't help tho mate. I got so fed up with this that i moved to use zencoder (with the module from www.drupal.org/project/video) as i was on a tight deadline.
I intend to pick it up again in the new year. sorry i can't be of more help
steev.
Add new comment