Last active
October 21, 2020 21:31
-
-
Save alasin/0be40411eea149343a296c85e0407bd7 to your computer and use it in GitHub Desktop.
Revisions
-
alasin revised this gist
Nov 27, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash VERSION=1.12.0 mkdir ~/gstreamer_$VERSION cd ~/gstreamer_$VERSION @@ -14,7 +14,7 @@ wget https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$VERSION.tar.xz for a in `ls -1 *.tar.*`; do tar -xf $a; done sudo apt-get install build-essential dpkg-dev flex bison autotools-dev automake \ liborc-dev autopoint libtool gtk-doc-tools yasm libgstreamer1.0-dev \ libxv-dev libasound2-dev libtheora-dev libogg-dev libvorbis-dev \ libbz2-dev libv4l-dev libvpx-dev libjack-jackd2-dev libsoup2.4-dev libpulse-dev \ faad libfaad-dev libfaac-dev libgl1-mesa-dev libgles2-mesa-dev \ -
alasin created this gist
Feb 17, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,53 @@ #!/bin/bash VERSION=1.11.1 mkdir ~/gstreamer_$VERSION cd ~/gstreamer_$VERSION wget https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$VERSION.tar.xz wget https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$VERSION.tar.xz wget https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$VERSION.tar.xz wget https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$VERSION.tar.xz wget https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$VERSION.tar.xz wget https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$VERSION.tar.xz for a in `ls -1 *.tar.*`; do tar -xf $a; done sudo apt-get install build-essential dpkg-dev flex bison autotools-dev automake \ liborc-dev autopoint libtool gtk-doc-tools libgstreamer1.0-dev \ libxv-dev libasound2-dev libtheora-dev libogg-dev libvorbis-dev \ libbz2-dev libv4l-dev libvpx-dev libjack-jackd2-dev libsoup2.4-dev libpulse-dev \ faad libfaad-dev libfaac-dev libgl1-mesa-dev libgles2-mesa-dev \ libx264-dev libmad0-dev export PKG_CONFIG_PATH=/home/$USER/gstreamer_$VERSION/out/lib/pkgconfig:$PKG_CONFIG_PATH cd ~/gstreamer_$VERSION cd gstreamer-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; make ; make install ; cd .. #Base cd gst-plugins-base-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; time make ; make install ; cd .. #Good - 8 minutes cd gst-plugins-good-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; time make ; make install ; cd .. #Bad cd gst-plugins-bad-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; time make ; make install ; cd .. # Ugly cd gst-plugins-ugly-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; time make ; make install ; cd .. # LibAV cd gst-libav-$VERSION ./configure --prefix=/home/$USER/gstreamer_$VERSION/out ; time make ; make install ; cd .. echo export PKG_CONFIG_PATH=/home/$USER/gstreamer_$VERSION/out/lib/pkgconfig:$PKG_CONFIG_PATH >> ~/.bashrc echo export PATH=/home/$USER/gstreamer_$VERSION/out/bin:$PATH >> ~/.bashrc source ~/.bashrc