[Qt-qml] Qml to do xoverlay video. While using VLC or FFMPEG or Gstreamer video framework?

Shamun shamun.toha at gmail.com
Sat May 14 21:30:14 CEST 2011


Hello,

How can i attach other frameworks video windows with Qml window or to any
Qml canvas?

#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
    viewer.setMainQmlFile(QLatin1String("qml/QmlTest1/main.qml"));

    // set the window no border, to do full screen live VIDEO
    viewer.setWindowFlags(
                            Qt::CustomizeWindowHint |
                            Qt::FramelessWindowHint
    );
    viewer.showExpanded();

    return app.exec();
}


Thanks & Regards
Shamun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110514/17378f0f/attachment.html 


More information about the Qt-qml mailing list