AW: Passing my own metadata

Thornton, Keith keith.thornton at zeiss.com
Fri Jul 10 06:26:28 PDT 2015


Thanks Dimitrios, Tim. Rebuilt from GIT Master and now it is working.

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Dimitrios Katsaros
Gesendet: Donnerstag, 9. Juli 2015 10:04
An: Discussion of the development of and with GStreamer
Betreff: Re: Passing my own metadata

No, that is incorrect. The framework is build as such that you do not need to reimplement existing components to handle the passing for metadata.
Instead, every metadata type defines its own transformation function that allows you to manipulate metadata for any given case of transformation, weather it is passthrough or a copy transform.
For an example of metadata handling you can check out: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-allocation-meta.html
I would also suggest seeing how other people have implemented metadata. A good example, that is a bit more advanced, is the video metadata used by all video components. You can find the source file in gst-plugins-base/gst-libs/gst/video/gstvideometa.h/c
Dimitrios

On Thu, Jul 9, 2015 at 8:50 AM, Thornton, Keith <keith.thornton at zeiss.com<mailto:keith.thornton at zeiss.com>> wrote:
Hi,
Have I understood correctly that if I wish to pass some metadata through my pipeline
MyFirstFilter ! videocrop ! videoscale ! videorate ! MySecondFilter
I would need to re-implement the plugins videocrop, videoscale and videorate and implement
The copy_metadata, transform_metadata functions.
Grüße


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150710/63de03fd/attachment-0001.html>


More information about the gstreamer-devel mailing list