qtvideosink not work on embedded target
-
hello,
I'm trying to develop app using custom gstreamer pipeline, with below example, I'm able to run it on PC ubuntu, but not on embedded, I really wonder what does qtvideosink depend on?
import QtQuick 2.0
import QtMultimedia 5.12Item {
MediaPlayer {
id: mediaplayer
source: "gst-pipeline: videotestsrc ! qtvideosink"
autoPlay: trueVideoOutput { anchors.fill: parent source: mediaplayer }
}
I feel like this could relate to opengl, let me know how I debug it?
-
hello,
I'm trying to develop app using custom gstreamer pipeline, with below example, I'm able to run it on PC ubuntu, but not on embedded, I really wonder what does qtvideosink depend on?
import QtQuick 2.0
import QtMultimedia 5.12Item {
MediaPlayer {
id: mediaplayer
source: "gst-pipeline: videotestsrc ! qtvideosink"
autoPlay: trueVideoOutput { anchors.fill: parent source: mediaplayer }
}
I feel like this could relate to opengl, let me know how I debug it?
@qtvideosink said in qtvideosink not work on embedded target:
but not on embedded
What happens there?
You should first check whether the plug-in are properly loaded: set QT_DEBUG_PLUGINS env variable, run the application and check its output (see https://doc.qt.io/qt-6/debug.html). -
@qtvideosink said in qtvideosink not work on embedded target:
but not on embedded
What happens there?
You should first check whether the plug-in are properly loaded: set QT_DEBUG_PLUGINS env variable, run the application and check its output (see https://doc.qt.io/qt-6/debug.html).@jsulm said in qtvideosink not work on embedded target:
QT_DEBUG_PLUGINS
hello jsulm,
actually every looks good from the log perspective, the only problem is when I run app, there's only a empty windows without videotestsrc rendering. check the below log with QT_DEBUG_PLUGINS set to 1. also in the qml I have print mediaplayer status.
from below it change from 2 to 6, still quite good.btw, I'm not able to attach log directly via code style, it is detected as spam, I don't know why.
so I paste it here qtvideosink-debug-plugin