GSTMETA is removed when some elements are used.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GSTMETA is removed when some elements are used.

kgopelo99
I am trying to add metadata based on
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/allocation.html?gi-language=c#gstmeta
<https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/allocation.html?gi-language=c#gstmeta>
that will be passed throughout the pipeline i.e
appsrc->jpegparse->queue->nvv4l2decoder->nvstreammux->nvinfer->appsink but
the metadata is not found in the sink of the appsink.

But if I have this pipeline appsrc->jpegparse->queue->appsink I can get the
metadata. But If I replace queue with jpegdec, I cannot get the metadata.

Does some elements remove the GSTMETA?
How can I tackle this.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GSTMETA is removed when some elements are used.

Nicolas Dufresne-5
Le lundi 25 novembre 2019 à 09:36 -0600, kgopelo99 a écrit :

> I am trying to add metadata based on
> https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/allocation.html?gi-language=c#gstmeta
> <https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/allocation.html?gi-language=c#gstmeta>
> that will be passed throughout the pipeline i.e
> appsrc->jpegparse->queue->nvv4l2decoder->nvstreammux->nvinfer->appsink but
> the metadata is not found in the sink of the appsink.
>
> But if I have this pipeline appsrc->jpegparse->queue->appsink I can get the
> metadata. But If I replace queue with jpegdec, I cannot get the metadata.
>
> Does some elements remove the GSTMETA?
> How can I tackle this.
As long as the meta did not have GST_META_TAG_VIDEO_STR set, it should
be transferred. In this case, I would use pad probes to debug, e.g.
after nvv4l2decoder, then nvstreammux and finally nvinfer to find out
which of these tree is responsible. Then you'll have to fix it yourself
or ask NVidia to do so, since these are third party plugins.

>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment