Unsolved Using Gstreamer
-
Hello,
I would like to test the new gst-pipeline.
I tried a simple qml as described in MediaPlayer.
import QtQuick 2.15 import QtQuick.Window 2.15 import QtMultimedia 5.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Item { anchors.fill: parent MediaPlayer { id: mediaplayer source: "gst-pipeline: videotestsrc ! qtvideosinks" onError: { console.log(errorString); } } VideoOutput { anchors.fill: parent source: mediaplayer } } }
I tried for both kits :
- Desktop Qt 5.15.1 clang 64bit
- Qt 5.15.1 for iOS Simulator
And I get the same error :
qml: Failed to load media
Did I miss something ?
Thanks -
Hi,
From the looks of it you are trying to run that on macOS and iOS so it will not work. GStreamer is the backend for Linux.
Therefore, unless you built GStreamer and the corresponding plugin for your platform, you will not be able to use these custom pipelines.