Behavior differences between decodebin3 and decodebin, and vtdec_hw not working on OSX

Jérôme Laheurte jerome at jeromelaheurte.net
Sat Nov 26 14:37:06 UTC 2016


Hello. While trying to play around with playbin3, I noticed the following. First, trying to play the same file, decodebin chooses avdec_h264 while decodebin3 tries vtdec_hw, on OS X 10.11.6 using GStreamer 1.10.0. Why is that ? Shouldn’t the highest rank win ? Anyway, the real problem is that vtdec_hw fails with the following error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstDecodebin3:decodebin3-0/GstVtdecHw:vtdechw0: GStreamer encountered a general resource error.
Additional debug info:
vtdec.c(310): gst_vtdec_negotiate (): /GstPipeline:pipeline0/GstDecodebin3:decodebin3-0/GstVtdecHw:vtdechw0:
VTDecompressionSessionCreate returned -8973
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Is there a way to tell decodebin3 to use another decoder ? With decodebin I’d use the autoplug signals, but decodebin3 does not seem to have them any more…

Best regards
Jérôme Laheurte

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161126/6528c3a4/attachment.sig>


More information about the gstreamer-devel mailing list