Jump to content

Enable GStreamer Support for the Dragonwing EVK Board

From RidgeRun Developer Wiki


Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page




Enable GStreamer on the IQ-9075 Ubuntu image by installing the runtime tools and required plugin families, then verifying platform-specific version with gst-launch-1.0 --version.


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


Enable GStreamer Support in Ubuntu Image

Once the setup process is complete, GStreamer support must be enabled in order to access and use its APIs and plugins. Following GStreamer's official documentation, install the following packages. These packages provide multimedia processing, plugin support, hardware acceleration, and pipeline development tools:

sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio gstreamer1.0-plugins-base-apps gstreamer1.0-vaapi gstreamer1.0-qcom-sample-apps

Once the packages finish downloading, you can verify the GStreamer version running the following command:

 gst-launch-1.0 --version

If the installation succeeded, you should see a similar output to the following:

gst-launch-1.0 version 1.24.2
GStreamer 1.24.2
https://launchpad.net/ubuntu/+source/gstreamer1.0

Verify required elements

Run the following commands to verify the main elements are available:

required_elements=(
  mp4mux fakesink videoconvert
  qtiqmmfsrc v4l2h264enc
  qtivtransform waylandsink
)

for element in "${required_elements[@]}"; do
  if gst-inspect-1.0 "$element" >/dev/null 2>&1; then
    printf 'PASS %s\n' "$element"
  else
    printf 'MISSING %s\n' "$element"
  fi
done

After that, you can continue with the Example Pipelines section to test the different features GStreamer provides.

Troubleshooting

  • Clear a per-user registry only when plugin paths changed: rm -f ~/.cache/gstreamer-1.0/registry.*.
  • Find load errors with GST_DEBUG=GST_PLUGIN_LOADING:6.
  • Verify Wayland variables and permissions for display sinks.


FAQ

Why is qtiqmmfsrc necessary?
qtiqmmfsrc is the capture element for Qualcomm embedded systems. Using qtiqmmfsrc will grant access to the camera subsystem and image processing pipelines.

Related pages

References


Cookies help us deliver our services. By using our services, you agree to our use of cookies.