View Single Post
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#57
Originally Posted by xerxes2 View Post
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.
I am not asking you to do it with GStreamer directly. I personally prefer using GStreamer directly because QtMultimedia is IMO utter crap but that's my personal opinion anyway.

I have recently rewrote an app of mine to not use QtMultimedia because it prevented me from supporting all the use cases I need. If it works for you then fine, use it!

There is no xvimagesink in Sailfish as it's X11 specific and we use wayland.

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 should go to together.jolla.com not here

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.
GStreamer 1.0 has nothing to do with the above issues AFAICT. These are QtMultimedia issues.

Edit: Also MediaPlayer got pretty good support for metadata which you would have to deal with in another way if you use gstreamer directly.
MediaPlayer gets most of its info from GStreamer so not an issue.

All what I am saying is that I prefer GStreamer to QtMultimedia but it doesn't mean that the workd has to use it. It's just a matter of taste.
__________________
We need a coffee machine that doesn't ask for coffee beans every 10 hours
 

The Following User Says Thank You to MSameer For This Useful Post: