summaryrefslogtreecommitdiff
path: root/install_dependencies_linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install_dependencies_linux.sh')
-rwxr-xr-xinstall_dependencies_linux.sh33
1 files changed, 18 insertions, 15 deletions
diff --git a/install_dependencies_linux.sh b/install_dependencies_linux.sh
index eee6d7a..0db1183 100755
--- a/install_dependencies_linux.sh
+++ b/install_dependencies_linux.sh
@@ -8,26 +8,26 @@ sudo apt-get -y install libgpac-dev
sudo apt-get -y install yasm
-git clone git://git.videolan.org/x264.git
-cd x264
-./configure --prefix=/usr/local --enable-shared
-make
-sudo make install
-cd ..
+#git clone git://git.videolan.org/x264.git
+#cd x264
+#./configure --prefix=/usr/local --enable-shared
+#make
+#sudo make install
+#cd ..
sudo apt-get -y install nasm
-wget http://downloads.xvid.org/downloads/xvidcore-1.2.1.tar.gz
-tar xvfz xvidcore-1.2.1.tar.gz
+wget http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
+tar xvfz *.gz
cd xvidcore/build/generic
./configure --prefix=/usr/local
make
sudo make install
-cd ../../../../
-sudo rm -r deps
+cd ../../../
-sudo apt-get -y install libxvidcore-dev libxfixes-dev
+
+#sudo apt-get -y install libxvidcore-dev libxfixes-dev
sudo apt-get -y install libfaac-dev libfaad-dev libschroedinger-dev libtheora-dev libvorbis-dev libxv-dev libxvmc-dev
@@ -42,9 +42,9 @@ sudo apt-get -y install libmp3lame-dev libx264-dev
#make && sudo make install
#cd ..
#rm -r libvpx
-
-cd ffmpeg
-./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-bzlib --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib #--enable-libvpx
+cdgit clone https://github.com/FFmpeg/FFmpeg
+cd FFmpeg
+./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-bzlib --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libvpx
#https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDYQFjAB&url=https%3A%2F%2Fgithub.com%2Fopenembedded%2Foe-core%2Fblob%2Fmaster%2Fmeta%2Frecipes-multimedia%2Fgstreamer%2Fgst-ffmpeg-0.10.13%2Fh264_qpel_mmx.patch&ei=IKPJUb5GzYuFB5fcgcAF&usg=AFQjCNFXPPb3HZRMdRCnOazSoteHQu6awA&sig2=Z2s4SUshqcOCoB5N_o1aVw&bvm=bv.48293060,d.ZG4
#problems for now with latest version, use saved one here
@@ -60,7 +60,10 @@ cd ffms2/
make
sudo make install
cd ..
-rm -r ffms2
+#rm -r ffms2
+
+cd ..
+sudo rm -r deps
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH