I've done a QML extension for playing a gstreamer pipeline. At a high-level, I used the appsink module of gstreamer to receive video frames from the pipeline. Then I created a class that derived from QDeclarativeItem to render the video frames in QML. This approach avoids having to worry about the gstreamer window ID of an arbitrary sink.
-Tico On Sep 20, 2011, at 9:42 AM, Girish Ramakrishnan wrote: > Hi Savio, > There is very little information to help you out. Can you tell us more > about the hardware and platform you are working on? The solution to > integrating media with QML depends largely on your target. > > It looks like you are using X11 (since you want to try XEmbed) and you > also have gstreamer working. Which begs the question, why you are not > using mobility to start with? qt-mobility provides you a Video item > that you can use in QML (and uses gstreamer as backend). > > Girish > > On Tue, Sep 20, 2011 at 4:20 AM, Savio Sebastian > <[email protected]> wrote: >> Hi all, >> 1)In my application i need to run a gstreamer pipeline from c++ and get the >> video displayed on the QML. >> I am able to to run the gstreamer pipeline from c++ class.I tried to export >> it as QML Extension plugin so that it can be displayed on QML,but i am not >> able to do it so. >> 2)Is there a way by which we can get the window id of an app that is >> launched using QProcess so that i can embed it in QX11EmbedContainer and >> show it in my app >> Any examples or help will be useful for me >> Thanks >> >> >> >> _______________________________________________ >> Qt-qml mailing list >> [email protected] >> http://lists.qt.nokia.com/mailman/listinfo/qt-qml >> >> > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
