GstBuffer metadata

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

GstBuffer metadata

Tomasz Grobelny-2
I'm new to GStreamer but I've read a bit of documentation and still have some
unanswered questions. Namely: is it possible to associate arbitrary metadata
with given GstBuffer? I would like to tag each packet with priority
information depending on it's type (for example audio with higher priority
and video lower). Then I would use this metadata in different plugin that
will transmit GstBuffers to network (eg. dccpsinkserver). The metadata should
be ignored if given plugin cannot understand it. Would that be possible?
Thanks in advance,
--
Regards,
Tomasz Grobelny

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstBuffer metadata

Stefan Sauer
hi,

Tomasz Grobelny schrieb:
> I'm new to GStreamer but I've read a bit of documentation and still have some
> unanswered questions. Namely: is it possible to associate arbitrary metadata
> with given GstBuffer? I would like to tag each packet with priority
> information depending on it's type (for example audio with higher priority
> and video lower). Then I would use this metadata in different plugin that
> will transmit GstBuffers to network (eg. dccpsinkserver). The metadata should
> be ignored if given plugin cannot understand it. Would that be possible?
> Thanks in advance,

there is some discussion about exactly that feature on
http://gstreamer.freedesktop.org/wiki/BufferMetadata

Maybe you can add your usecase there.

Stefan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstBuffer metadata

Tomasz Grobelny-2
Dnia Monday 19 of May 2008, napisałeś:

> hi,
>
> Tomasz Grobelny schrieb:
> > I'm new to GStreamer but I've read a bit of documentation and still have
> > some unanswered questions. Namely: is it possible to associate arbitrary
> > metadata with given GstBuffer? I would like to tag each packet with
> > priority information depending on it's type (for example audio with
> > higher priority and video lower). Then I would use this metadata in
> > different plugin that will transmit GstBuffers to network (eg.
> > dccpsinkserver). The metadata should be ignored if given plugin cannot
> > understand it. Would that be possible? Thanks in advance,
>
> there is some discussion about exactly that feature on
> http://gstreamer.freedesktop.org/wiki/BufferMetadata
>
Hmm... the discussion didn't seem to atract many participants. At least
judging from the list of people who modified the page. And it was started
quite some time ago. Does there exist any timeframe for implementing this
feature?

> Maybe you can add your usecase there.
>
I could and I did. Based on this page I have a few notes:
1. Would such a change be possible in the stable series of GStreamer?
2. "Elements that can use the data need to know the name of the element that
created it." - that seems to be quite a limiting approach. Maybe some kind
of 'metadata type' would suffice?
3. As for invalidating metadata: maybe each 'metadata type' could have a
default merging strategy (append, drop, min, max, etc.)?

BTW, thanks for the link - it gave me the idea of (ab)using offset field for
my purpose.
--
Regards,
Tomasz Grobelny

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel