Custom buffer?

Bilel Bghiel bilel at scentronix.com
Thu May 19 18:28:04 UTC 2022


This works, nice! thank you

On Thu, May 19, 2022 at 7:28 PM Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:

> Le jeudi 19 mai 2022 à 18:01 +0200, Bilel Bghiel via gstreamer-devel a
> écrit :
> > Linking 2 elements (flxMux video & avdec_h264) results in the following
> error:
> >
> > GST_CAPS
> > gstpad.c:3235:gst_pad_query_accept_caps_default:<avdec_h26417171:sink>
> caps:
> > video/x-h264, stream-format=(string)avc, width=(int)1280,
> height=(int)720,
> >
> codec_data=(buffer)014d001fffe1000e674d001f95a814016e9b8080808101000468ee3c80
> > were not compatible with: video/x-h264, alignment=(string)au, stream-
> > format=(string){ avc, byte-stream }; video/x-h264, alignment=(string)nal,
> > stream-format=(string)byte-stream
> > GST_CAPS gstpad.c:5757:pre_eventfunc_check:<avdec_h26417171:sink> caps
> > video/x-h264, stream-format=(string)avc, width=(int)1280,
> height=(int)720,
> >
> codec_data=(buffer)014d001fffe1000e674d001f95a814016e9b8080808101000468ee3c80
> > not accepted
> >
> >
> > The only thing I see different here is the codec_data buffer. Is there a
> way
> > to custom generate this or is there something else I'm missing?
>
> The difference is the alignment/stream-format. Insert the element
> "h264parse" to
> ensure its being adapted.
>
> Nicolas
>
> >
> > Kind regards
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220519/d90b0dc1/attachment.htm>


More information about the gstreamer-devel mailing list