Custom buffer?
Nicolas Dufresne
nicolas at ndufresne.ca
Thu May 19 17:28:17 UTC 2022
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
More information about the gstreamer-devel
mailing list