playbin3, decodebin3: how to get information about unsupported streams

Edward Hervey bilboed at bilboed.com
Thu Feb 1 07:55:29 UTC 2024


Hi,

You can detect that by comparing:
* The list of streams in the collection (GST_MESSAGE_STREAM_COLLECTION). That will contain the list of all streams, including unsupported ones
* With the list of selected streams (GST_MESSAGE_STREAMS_SELECTED), which are the ones that were actually decoded and exposed

Edward

On Wed, 2024-01-31 at 15:00 +0000, Sachs Jürgen via gstreamer-devel wrote:
>  We are using playbin3 for a mediaplayer implementation. We play a multiplex with audio and video and for video there is no decoder available. Then playbin3 creates a valid pipeline with only audio sink. So far so good.
> Is there a recommended way how to get information, that not all streams from demux element are decoded? The “old” decodebin was emitting an “unknown-type” signal in that case. This is no longer available in playbin3
>  
> Thanks for any hint
> /Juergen
>  
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240201/6391cc09/attachment.htm>


More information about the gstreamer-devel mailing list