playbin3 picking wrong h265 decoder

Nicolas Dufresne nicolas at ndufresne.ca
Wed Dec 28 21:06:54 UTC 2022


Le mer. 28 déc. 2022, 15 h 15, Bill Hofmann via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :

> Folks:
>
> On 1.21.3, with a build that I have verified includes vah265dec, with a
> graph that looks like:
>
> playbin3 uri="http://127.0.0.1/foo.m3u8"
>     video-sink="kmssink name=kmssink0 connector-id=308 plane-id=31
> skip-vsync=true"
>     audio-sink="volume name=volume0 volume=0.01 ! alsasink name=alsa
> device=plughw:CARD=PCH,DEV=3"
>
> I note that it looks like avdec_h265 is getting picked for the decoder,
> and it is having problems keeping up with the stream. I know (from a
> hand-built graph) that the VA versions keep up reasonably well (4k h265
> Main10 L5.1 stream).
>
> I recall that there was some way of changing priorities of different
> plugins, but for the life of me, can't find out where that is documented.
>
> Any hints?  Perhaps this belongs somewhere in the decodebin/playbin docs?
>
> Gonna be moving to uridecodebin3, for other reasons, but I expect I'd have
> the same problem there.
>

This is the new VA plugin, we are just an air from being able to deprecate
the old one, meanwhile, you have to rank it. From command line (hopefully I
got the env name right):

export GST_PLUGIN_FEATURE_RANK=vah265dec:9999

Nicolas


> -Bill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221228/6dd46c4e/attachment.htm>


More information about the gstreamer-devel mailing list