Low level video frames and QGraphicsVideoItem
-
Hello there !
I'm trying to make low level video frame editing, but i'm stuck.. How could i send a QObject with QAbstractVideoSurface and QAbstractVideoFormat (like in this example http://qt-project.org/doc/qt-5.0/qtmultimedia/videooverview.html ) to a QGraphicsVideoItem ?I already thought to use QMediaPlayer, but the setMedia method handle only QUrl (so a defined file) or a QIODevice ( which makes the use of QAbstract classes fully useless). So i think it's not what i'm looking for.
Hope someone could help me
Edit:
i found the solution in old 4.8 examples
http://qt-project.org/doc/qt-4.8/multimedia-videographicsitem.htmlAnd not in 5.x versions of the same example (http://qt-project.org/doc/qt-5.1/qtmultimediawidgets/videographicsitem.html) unlike the sub-title said... because in qt 5.x they're no longer using qabstractvideo classes..
Bad copy paste of the qt 4.8 doc :(