GStreamer Pan Tilt Zoom and Rotate Element - Building GstPTZR
GStreamer PTZR |
---|
GstPTZR Basics |
User Guide |
Getting Started |
Examples |
Contact Us |
This page provides a guide to install GstPTZR.
Dependencies
GstPTZR has the following dependencies:
- gtk-doc-tools
- libgtk2.0-dev
- libgstreamer-plugins-base1.0-dev
- libglew-dev
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
- libgstreamer-gl1.0-0 (for i.MX 8)
Make sure you have the following GStreamer elements:
- videotestsrc
- xvimagesink
- videoconvert
- udpsrc
- tsparse
- tsdemux
- h264parse
- avdec_h264
- autovideosink
- glupload (for i.MX 8)
- gldownload (for i.MX 8)
Linux
In Ubuntu 16.04 based systems, you may install the dependencies with the following command:
sudo apt-get install -y gtk-doc-tools libgtk2.0-dev libgstreamer-plugins-base1.0-dev libglew-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-gl1.0-0
To install the necessary elements to for the examples run the following command:
sudo apt-get install -y gstreamer1.0-tools gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-good-dbg gstreamer1.0-plugins-bad-dbg gstreamer1.0-libav-dbg
Install plugin
Linux
System | Configure Option |
---|---|
x86 Linux | --prefix /usr/ --libdir /usr/lib/x86_64-linux-gnu/ |
i.MX6 | --prefix /usr/ --with-platform=imx6 |
i.MX8 | --prefix /usr/ --with-platform=imx8 |
Jetson | --prefix /usr/ --libdir /usr/lib/aarch64-linux-gnu/ --with-platform=jetson |
Snapdragon / RB5-RB6 | --prefix /usr/ --with-platform=snapdragon |
./autogen.sh $OPTIONS # CHOOSE THE APPROPRIATE CONFIGURATION FROM THE TABLE ABOVE make sudo make install
Verify
The plugin installation can be verified by running:
gst-inspect-1.0 ptzr