Thanks for the answer. But before I dig any deeper I might as well ask if this is possible to do with only Qt as I usually use PyQt? I see you import a few headers which might not work with Python. The same thing is dead simple to do in X11 with the xvimagesink element and I've done it multiple times with GTK2/3, never with Qt though. Otherwise I might convince llelectronics to use gstreamer directly with his player.
Well, the default backend (MediaPlayer) works reasonably well but as you can see in this thread, and other places, it got a few bugs and missing features. The main issues identified so far: * Messed up colors for many non h264 files, possibly fixed with a ffmpegcolorspace element * Lack of proper subtitle support, on/off, chose between multiple ones * Missing capability to chose between many audio tracks in video files
Those three are the big ones I think. I know you're in the process of upgrading to gst-1 but still it would be nice if the messed up colors would be fixed. And to have an on/off switch for subtitles.
Edit: Also MediaPlayer got pretty good support for metadata which you would have to deal with in another way if you use gstreamer directly.