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
To test this pipelines, it is required to enable the graphics service. Please, follow the steps for bringing up the display from our Qualcomm RB5 Developer Wiki or Qualcomm Dragonwing 9075 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
Qualcomm Dragonwing 9075 examples
Before running the examples below, make sure you have set up the environment correctly.
export QT_QPA_PLATFORM=wayland
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:
The examples use the following main.qml file:
import QtQuick 2.0
Item {
id: root
width: 800
height: 600
transform: Rotation {
origin.x: root.width / 2
origin.y: root.height / 2
axis { x: 1; y: 0; z: 0 }
angle: 180
}
Image {
id: pngImage
objectName: "pngImage"
anchors.centerIn: parent
source: "ridgerun.png" // Your PNG path
fillMode: Image.PreserveAspectFit
width: parent.width / 2
height: parent.height / 2
}
}
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 ! v4l2h264enc ! 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 ! v4l2h264enc ! h264parse ! qtmux ! filesink location=video.mp4 -e
