SHARE
TWEET

gstremer 1.2 compile and install on raspberry pi

a guest Jun 7th, 2014 1,873 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo apt-get update && sudo apt-get upgrade -y --force-yes
  2.  
  3. sudo apt-get install -y --force-yes build-essential autotools-dev automake autoconf libtool autopoint libxml2-dev zlib1g-dev libglib2.0-dev pkg-config bison flex python git gtk-doc-tools libasound2-dev libgudev-1.0-dev libxt-dev libvorbis-dev libcdparanoia-dev libpango1.0-dev libtheora-dev libvisual-0.4-dev iso-codes libgtk-3-dev libraw1394-dev libiec61883-dev libavc1394-dev libv4l-dev libcairo2-dev libcaca-dev libspeex-dev libpng-dev libshout3-dev libjpeg-dev libaa1-dev libflac-dev libdv4-dev libtag1-dev libwavpack-dev libpulse-dev libsoup2.4-dev libbz2-dev libcdaudio-dev libdc1394-22-dev ladspa-sdk libass-dev libcurl4-gnutls-dev libdca-dev libdirac-dev libdvdnav-dev libexempi-dev libexif-dev libfaad-dev libgme-dev libgsm1-dev libiptcdata0-dev libkate-dev libmimic-dev libmms-dev libmodplug-dev libmpcdec-dev libofa0-dev libopus-dev librsvg2-dev librtmp-dev libslv2-dev libsndfile1-dev libsoundtouch-dev libspandsp-dev libx11-dev libxvidcore-dev libzbar-dev libzvbi-dev liba52-0.7.4-dev libcdio-dev libdvdread-dev libmad0-dev libmp3lame-dev libmpeg2-4-dev libopencore-amrnb-dev libopencore-amrwb-dev libsidplay1-dev libtwolame-dev libx264-dev
  4.                                    
  5. cd ~
  6. mkdir packages
  7. cd packages
  8. mkdir gstreamer-1.2
  9. cd gstreamer-1.2
  10.  
  11. git clone git://anongit.freedesktop.org/git/gstreamer/gstreamer
  12. git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-base
  13. git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-good
  14. git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad
  15. git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-ugly
  16. git clone git://anongit.freedesktop.org/git/gstreamer/gst-libav
  17. git clone git://anongit.freedesktop.org/git/gstreamer/gst-omx
  18. git clone https://github.com/thaytan/gst-rpicamsrc.git
  19.  
  20. cd gstreamer
  21. ./autogen.sh
  22. sudo make
  23. sudo make install
  24.  
  25. cd ../gst-plugins-base
  26. ./autogen.sh
  27. sudo make
  28. sudo make install
  29.  
  30. cd ../gst-plugins-good
  31. ./autogen.sh
  32. sudo make
  33. sudo make install
  34.  
  35. cd gst-plugins-ugly
  36. ./autogen.sh
  37. sudo make
  38. sudo make install
  39.  
  40. cd ../gst-libav
  41. sudo ./autogen.sh
  42. sudo make
  43. sudo make install
  44.  
  45. sudo apt-get install -y --force-yes libusb-1.0
  46.  
  47. cd ../gst-plugins-bad
  48. export LD_LIBRARY_PATH=/usr/local/lib/ path
  49. sudo LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh
  50. sudo make CFLAGS+="-Wno-error"
  51. sudo make install
  52.  
  53. cd ../gst-omx
  54. LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh --with-omx-target=rpi
  55. sudo make CFLAGS+="-Wno-error"
  56. sudo make install
  57.  
  58. cd ../gst-rpicamsrc
  59. ./autogen --prefix=/usr --libdir=/usr/lib/arm-linux-gnueabihf/
  60. make
  61. sudo make install
RAW Paste Data
Top