Force autoplugger to produce byte-stream stream format for H264/H265

Eslam Ahmed eslam.ahmed at
Wed Nov 2 19:56:20 UTC 2022

To clarify, in the pad-added callback/signal of the decodebin:
I have a src pad with caps=video/x-h264,stream-format=avc, however the
downstream sink pad to link has
caps=video/x-h264,stream-format=byte-stream. Hence I am unable to link
them, I think I am missing a re-negotiation for the caps or something.

Best Regards,
Eslam Ahmed

On Wed, Nov 2, 2022 at 9:49 PM Eslam Ahmed <eslam.ahmed at> wrote:

> Hello,
> I am passing a pipeline to GstRTSPMediaFactory via
> gst_rtsp_media_factory_set_launch. I wish to use decodebin inside that
> pipeline and stop decoding at a given point.
> I am trying to force decodebin to stop decoding at
> caps=video/x-h264,stream-format=byte-stream. However, it doesn't seem to
> stop at the specified caps and it even continues decoding after obtaining
> video/x-h264,stream-format=avc from the h264parse element and produces I420
> Raw image.
> Is there a way to influence the h264parse that is inserted by the
> decodebin to produce stream-format of type byte-stream?
> Best Regards,
> Eslam Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list