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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Jérôme Laheurte-3
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (859 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Dufresne-5
Le samedi 26 novembre 2016 à 15:37 +0100, Jérôme Laheurte a écrit :
> 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…

Sounds familiar. I believe decodebin3 does not yet fully implement
decoder fallbacks. decoebin will in this regard try the hw decoder and
then fallback to software.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Jérôme Laheurte-3

> Le 27 nov. 2016 à 02:22, Nicolas Dufresne <[hidden email]> a écrit :
>
> Le samedi 26 novembre 2016 à 15:37 +0100, Jérôme Laheurte a écrit :
>> 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…
>
> Sounds familiar. I believe decodebin3 does not yet fully implement
> decoder fallbacks. decoebin will in this regard try the hw decoder and
> then fallback to software.
Ah, makes sense. Let’s say playbin3 is still a bit too experimental for me then :)

Best regards
Jérôme Laheurte


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (859 bytes) Download Attachment