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

Eslam Ahmed eslam.ahmed at
Wed Nov 2 19:49:05 UTC 2022


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