Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
30th January 2010, 13:39 | #1 | Link |
Registered User
Join Date: Aug 2005
Posts: 138
|
How to compile x264 with FFMS2 support under linux?
Hi,
I have compiled ffmpeg and ffms svn snapshots under linux(ubuntu 9.10 64bit). At the configure of each I used "--prefix=/home/<user>/Desktop/builds". I want to compile x264 with ffms2 support but I don't know how to make configure to look in "/home/<user>/Desktop/builds" for ffms2. It currently says that x264 will be build without ffms. What do I do? |
30th January 2010, 13:46 | #2 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
this is very hack&slash.. but work on may ubuntu 9.10 64bit
i just create a batch file as is (tune folders to your needs) Code:
cd /home/<user>/dev/ffmpeg svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --enable-pthreads --enable-gpl --enable-postproc --enable-memalign-hack --enable-runtime-cpudetect --disable-devices --disable-filters --disable-encoders --disable-muxers --disable-network --disable-outdevs --disable-decoder=aac,ac3,adpcm_*,alac,als,ape,atrac?,cook,dca,dsicinaudio,dxa,eac3,flac,interplay_dpcm,mlp,mp1,mp2,mp3,mp3*,mpc?,pcm_*,qcelp,ra_*,sipr,truehd,truespeech,tta,vorbis,wavpack,wma*,twinvq --disable-demuxer=aac,ac3,pcm_*,ape,amr,ass,au,avs,dts,eac3,flac,mp3,mpc,mpc8,truehd,tta,w64,wav,wv --disable-parser=aac,ac3,dca,mlp,mpegaudio --prefix=/usr/local --extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib" make -j5 sudo make install cd /home/<user>/dev/x264 rm -r x264 git clone git://git.videolan.org/x264.git x264 cd x264 ./configure --extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib" make -j5 sudo make install EDIT: my bad. this instruction are for lavf support! BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 Last edited by buzzqw; 30th January 2010 at 14:13. Reason: update |
30th January 2010, 14:19 | #4 | Link |
Registered User
Join Date: Aug 2005
Posts: 138
|
@Kovensky
cool but I already figured it out from buzzqw So another method is: Code:
./configure --prefix=/home/<user>/Desktop/builds --extra-cflags="-I/home/<user>/Desktop/builds/ffmpeg/include -I/home/<user>/Desktop/builds/ffms/include" --extra-ldflags="-L/home/<user>/Desktop/builds/ffmpeg/lib -L/home/<user>/Desktop/builds/ffms/lib" |
Thread Tools | Search this Thread |
Display Modes | |
|
|