Building GStreamer Color Transfer

From RidgeRun Developer Connection
Jump to: navigation, search


Previous: Evaluating GstColorTransfer Index Next: PC Pipelines





This page provides a guide to install GStreamer Color Transfer.

Dependencies

GStreamer Color Transfer has the following dependencies:

  • gtk-doc-tools
  • libgtk2.0-dev
  • libgstreamer-plugins-base1.0-dev
  • libgstreamer-plugins-bad1.0-dev
  • libglew-dev
  • libcpputest-dev

Make sure you have the following GStreamer elements:

  • videotestsrc
  • xvimagesink
  • videoconvert
  • multifilesrc
  • jpegparse
  • jpegdec
  • videoscale
  • videorate

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 libgstreamer-plugins-bad1.0-dev libcpputest-dev

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

Color transfer uses the "deviceQuery" CUDA example to get your GPU specifications and build the element on the most efficient way possible. To compile this sample run:

 
cd /usr/local/cuda/samples/1_Utilities/deviceQuery/
sudo make

You can disable GPU support wit the option "with-platform" on the autogen script.

Install plugin

Linux

System Configure Option ($OPTIONS)
Ubuntu 64 bits --prefix /usr/ --libdir /usr/lib/x86_64-linux-gnu/
RidgeRun's Embedded FS --prefix /usr/
Jetson TX1 TX2 --prefix /usr/ --libdir /usr/lib/aarch64-linux-gnu/
Table 1. Platform configuration options

OPTIONS=# CHOOSE THE APPROPRIATE CONFIGURATION FROM THE TABLE ABOVE
./autogen.sh $OPTIONS 
make
sudo make install

Verify

The plugin installation can be verified by running:

gst-inspect-1.0 colortransfer


Previous: Evaluating GstColorTransfer Index Next: PC Pipelines