Menu

Installing Gstreamer 1.0 from source

Gstreamer 1.02 installation

Here goes some straight forwards instructions on how to install gstreamer-1.0 (or at least what I did) running Ubuntu 12.04 on a Macbook Air (2011, 4-2). Plugins presented for installation according to my needs and preferences.

$ sudo apt-get install libxv1 libxv-dev libxvidcore4 libxvidcore-dev faac faad  libfaac-dev libfaad-dev bison  libavl-dev yasm flex  zlib1g-dev  libffi-dev gettext

Install the latest version of glib (2.32 is required)

$ wget http://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-2.34.1.tar.xz
$ cd glib-2.34.1
$ ./configure --prefix=/usr
$ make
$ sudo make install


Install the packages and plugins
$ wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.0.2.tar.xz
$ tar xvf gstreamer-1.0.2.tar.xz
$ cd gstreamer-1.0.2
$ ./configure --prefix=/usr
$ make
$ sudo make install


Install coders and stuff
$ sudo apt-get install libtheora-dev libogg-dev libvorbis-dev  libasound2-dev libjack-dev
Install libvisual-0.4-dev for xvimagesink (if running X11)
$ sudo apt-get install libxv-dev 
libvisual-0.4-dev 
 
Install base plugins

$ wget http://gstreamer.freedesktop.org/src/gstreamer/gst-plugins-base-1.0.2.tar.xz
$ tar xvf gst-plugins-base-1.0.2.tar.xz
$ cd 
gst-plugins-base-1.0.2  
$ ./configure --prefix=/usr
$ make
$ sudo make install


Install the "good" plugins
$ wget http://gstreamer.freedesktop.org/src/gstreamer/gst-plugins-good-1.0.2.tar.xz
$ tar xvf gst-plugins-good-1.0.2.tar.xz
$ cd 
gst-plugins-good-1.0.2
I did for some reason have problem making the goom filter and did therefor exclude it with the --disable-goom
$ ./configure --prefix=/usr --disable-goom
$ make
$ sudo make install


If you by chance need the rtmp library
$ sudo apt-get install librtmp-dev

Install the "bad" plugins
$ wget http://gstreamer.freedesktop.org/src/gstreamer/gst-plugins-bad-1.0.2.tar.xz
$ tar xvf gst-plugins-bad-1.0.2.tar.xz
$ cd 
gst-plugins-bad-1.0.2
$ ./configure --prefix=/usr
$ make
$ sudo make install


Install the "ugly" plugins
$ sudo apt-get install libmad0-dev libx264-dev
$ wget http://gstreamer.freedesktop.org/src/gstreamer/gst-plugins-ugly-1.0.2.tar.xz
$ tar xvf gst-plugins-ugly-1.0.2.tar.xz
$ cd 
gst-plugins-ugly-1.0.2
$ ./configure --prefix=/usr
$ make
$ sudo make install


Link: http://tordwessman.blogspot.com/search?q=gstreamer

Không có nhận xét nào :

Đăng nhận xét