GStreamer Pan Tilt Zoom and Rotate Element - Examples

From RidgeRun Developer Wiki


Previous: Building GstPTZR Index Next: PC Pipelines




This page provides general considerations to run example GstPTZR pipelines.

Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help.



Important Considerations

  • Its important to have a constant internet connection, without internet the tests won't work.
  • If you are facing issues with any pipeline or configuration please contact support@ridgerun.com with the output of the GStreamer debug and any additional information you consider useful.
  • To get the necessary elements to test the pipelines please refer to GStreamer Pan Tilt Zoom and Rotate Element - Building GstPTZR.

GStreamer

All the GStreamer pipelines provided in the following sections use Gstreamer-1.0 and will not work in Gstreamer-0.10.

Check that the plugin is being properly picked up by GStreamer by running:

gst-inspect-1.0 ptzr

If the above command gives the output: "No such element or plugin 'ptzr'" it may be necessary to export the plugin path by running:

export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:/path/to/plugin/binary/

Make sure you have the following GStreamer elements:

  • videotestsrc
  • xvimagesink
  • videoconvert
  • udpsrc
  • tsparse
  • tsdemux
  • h264parse
  • avdec_h264
  • autovideosink

To install the necessary elements 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

Gstd

GStreamer Daemon , also called gstd, is a GStreamer framework for controlling audio and video streaming using TCP connection messages. Qt applications, web interfaces, and GStreamer element test suites show different ways the framework can be utilized. Gstd is gst-launch on steroids where you can create a GStreamer pipeline, play, pause, change speed, skip around, and even change element parameter settings all while the pipeline is active.

GStreamer Daemon is used in the Gstd example pipelines to change the parameters dynamically. The demo tool uses gstd via TCP with python to create a pipeline that can be used to demo the features of GstPTZR.

To test gstd pipelines you need to install the GStreamer Daemon at host. Please refer GStreamer Daemon - Building GStreamer Daemon guide for Getting the Code,Setup,Build and Install the daemon at host.


Previous: Building GstPTZR Index Next: PC Pipelines