QtMultimedia on Debian testing (jessy), codec problems
-
Hi there,
I've been playing around with QtMultimedia (Qt5) on a Debian testing system and I just can't get certain videos to play. I get the following warning:
@
Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)high, codec_data=(buffer)0164001fffe100166764001facb4028022d0800001f480005dc0078c195001000468ee3cb0, width=(int)1280, height=(int)544, framerate=(fraction)24000/1001, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true'."
@What I don't understand is, that I can play the video with Totem or any other media player without problems, so the necessary GStreamer plugins should be installed correctly.
Anyone has an idea how I could get this to work? Or if it is possible to change the backend on linux to something like VLC?
Help would be appreciated :-)
-
I assume your other media players use different backend. Also there are several versions of gstreamer. Qt5.2 uses the 0.1 one. Check you have thi rght plugin/codecs for the right version of gstreamer. On windows it is harder to have the right dependencies installed by the way.
bq. Or if it is possible to change the backend on linux to something like VLC?
Not without a lot of work. You can develop your own VLC qt backend. I am developping one using ffmpeg + OpenAl.
http://qt-project.org/doc/qt-5.0/qtmultimedia/multimediabackend.htmlCédric