GStreamer pipelines for Qualcomm RB5 and RB6 with GstQtOverlay
GStreamer Qt Overlay |
---|
Overview |
Getting Started |
Examples |
Performance |
Similar Solutions |
Troubleshooting |
FAQ |
Contact Us |
Qualcomm Platform
Important: The support of QtOverlay is partial. One of the requirements to make it work is to have a valid frame buffer device active (/dev/fbX). Connecting an HDMI screen to the board enables it. However, if your application does not include an HDMI output device, you may need to modify the device tree and/or graphics driver.
Moreover, it is required to enable the graphics service. Please, follow the steps for bringing up the display from our Qualcomm RB5 Developer Wiki
Qualcomm RB5 / RB6 examples
Before running the examples below, make sure you have set up the environment correctly.
export WAYLAND_DISPLAY=wayland-0 export XDG_RUNTIME_DIR=/usr/bin/weston_socket export QT_QPA_PLATFORM=eglfs
If the element does not appear (gets blacklisted), please, delete the cache: rm ~/.cache/gstreamer-1.0/registry.*
Now, you are able to run the following examples:
Save a video overlay using a video test source
gst-launch-1.0 videotestsrc is-live=1 ! "video/x-raw,width=1280,height=720,format=RGBA" ! qtoverlay qml=main.qml ! queue ! videoconvert ! queue ! x264enc ! h264parse ! qtmux ! filesink location=video.mp4 -e
Save a video overlay using a camera source
gst-launch-1.0 qtiqmmfsrc ! "video/x-raw,width=1280,height=720,format=NV12" ! queue ! videoconvert ! qtoverlay qml=main.qml ! queue ! videoconvert ! queue ! x264enc ! h264parse ! qtmux ! filesink location=video.mp4 -e