LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing ffmpeg from tarball with libx264 enabled (https://www.linuxquestions.org/questions/linux-newbie-8/installing-ffmpeg-from-tarball-with-libx264-enabled-815097/)

sumeet inani 06-19-2010 07:17 AM

installing ffmpeg from tarball with libx264 enabled
 
(1)I got ffmpeg-checkout tarball dated 5 june 2010 . It was bigger than ffmpeg-export of same date but I noticed the binary ffmpeg & ffplay generated after './configure' & 'make' are same size.

(2)I am using ubuntu 8.04 with GNOME. I am able to compile ffmpeg with following options
Code:

--enable-nonfree --enable-gpl --enable-postproc --enable-pthreads --enable-libvorbis --enable-libgsm --enable-libdc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-shared --prefix=/usr --enable-version3
except
Code:

--enable-libx264 --enable-libtheora
The best thing is if you can tell what should I 'apt-get' for above ?
OR
Do I have to get tarballs (of libx264 & libtheora) & compile them .Then please point me to relevant links ?

bathory 06-19-2010 08:03 AM

Hi,

I don't know if there exist x264 and theora deb packages, but since you're going to need also their devel packages, it's better to download and compile them yourself. You can get x264 hereand libtheora from here

Regards

sumeet inani 06-19-2010 11:02 AM

Actually I have installed libtheora-dev & libx264-dev via 'apt-get' without errors.
Still I am stuck.

bathory 06-19-2010 11:53 AM

So what is the problem when you're using "--enable-libx264 --enable-libtheora"?

sumeet inani 06-21-2010 07:41 AM

Initially I used to get with '--enable-libtheora --enable-gpl '
ERROR: libtheora not found
But now
After I installed libtheora-1.1.1.tar.bz2.It went fine.
THANK YOU bathory .

(Question)
In case of --enable-libx264 --enable-gpl
I get
ERROR: libx264 version must be >= 0.98.
Inspite of installing x264-snapshot-20050824-2219.tar.bz2 without errors.

bathory 06-21-2010 08:26 AM

Why don''t you get a newer version of x264?
The last time I compiled ffmpeg, I've got x264 from git
Code:

git clone git://git.videolan.org/x264.git
and ffmpeg compiled without a hitch (I'm also using the --enable-gpl option)

sumeet inani 06-21-2010 10:35 PM

x264-snapshot-20100621-2245.tar.bz2 is recent one in year 2010.
It helped.

I like tarball because you can use them offline.


All times are GMT -5. The time now is 08:51 AM.