How to tee streams from uridecodebin?

Samyak samtan106 at gmail.com
Fri Jul 9 12:24:57 UTC 2021


Hey,
Right now I'm trying to attach tee elements to the video and audio pads of
uridecodebin. However, I am getting the following error: "Pads do not have
a common format".

I am using the 'pad-added' event on uridecodebin and based on whether the
pad caps start with 'video/x-raw' or 'audio/x-raw', I am assigning a
different tee element to each cap. I am attaching the tee element by
getting a static sink pad from tee and trying to link it with the source
pad of uridecodebin. However, when I do that I get the above error.

This is the full pipeline I am using:
https://drive.google.com/file/d/1eEd_uPWhyu_FDnxTKwDTxpYSemUT_eTb/view?usp=sharing
(It doesn't include the uridecodebin element for some strange reason. Maybe
because the linking failed?).
Is there any more information I can dig up to help debug this?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210709/7e698a4d/attachment.htm>


More information about the gstreamer-devel mailing list