[Development] R: [GSTREAMER/QML] How to pass custom options from qml to gst
olszak.tomasz at gmail.com
Wed Mar 27 18:55:35 CET 2013
As far as i know Qt uses in QtMultimedia fakesink and xvideosink for
gstreamer pipeline. If you want to use custom videosink you should create
your own Qml plugin. There are some examples on the web:
This above creates fakesink to catch frame from custom videosink. You can
create such pipeline in your own custom QML element (Video) and draw each
frame received from gstreamer in paintEvent. Look at sources of
QtMultimedia to see how it is implemented. Simply changing xvideosink to
your HW accelerated videosink should resolve your problem.
2013/3/27 Matteo Brichese <mbrichese at came.it>
> On Wed, Mar 27, 2013 at 8:27 AM, Matteo Brichese <mbrichese at came.it>
> >> Hi everyone, I don't know if this is the right place to ask this
> question, but I cannot find better ML than this, so, if you know a better
> ML to ask, please tell me and sorry.
> >> I've a gstreamer 0.10.36 installation on my board and it's hw
> accelerated, now I'm trying to make some test with QtMultimedia5 and the
> Video element inside QML.
> >> The video element with my video test don't work out of the box, so I'm
> asking you if there is some particular method to pass some extra parameter
> to the gstreamer for playing the video.
> >> I've some particular command for the gst pipeline like nv_omx_videosink
> and other nvidia related things that the default video element can't know.
> >> So, how can I play a video embedded in a qml file thru gst?
> >You're better off asking this question in the gstreamer-devel list.
> >David E. Narvaez
> In the gstreamer list they don't know anything about qt/qml, I know how to
> play video with gstreamer, but I don't know how to play video in qml using
> There is a ML on QtMultimedia?
> Matteo Brichese
> Software Engineer
> mbrichese at came.it
> Came Cancelli Automatici S.p.A.
> Development mailing list
> Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development