I believe that Rob Clark did something like this for the OMAP a while ago using shaders. Could be interesting to look into.
Cheers, Johan Thelin Recommended on-line reading: http://www.thelins.se | http://www.qtcentre.org Recommended off-line reading: The Foundations of Qt Development (ISBN: 1-59059-831-8) On Wed, Mar 27, 2013 at 6:55 PM, Tomasz Olszak <[email protected]> wrote: > Hi, > 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: > http://imxcv.blogspot.com/2012/03/video-to-texture-streaming-part-2-imx6.html > > 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. > -- > Regards, > Tomasz Olszak > > 2013/3/27 Matteo Brichese <[email protected]> >> >> >> >> On Wed, Mar 27, 2013 at 8:27 AM, Matteo Brichese <[email protected]> >> wrote: >> >> 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[0] 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 >> gstreamer. >> >> There is a ML on QtMultimedia? >> >> --- >> Matteo Brichese >> Software Engineer >> [email protected] >> Came Cancelli Automatici S.p.A. >> www.came.com >> _______________________________________________ >> Development mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/development > > > > > > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
