![]() |
![]() |
![]() |
GStreamer Bad Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
GstMetadataMux;
"exif" gboolean : Read / Write "iptc" gboolean : Read / Write "xmp" gboolean : Read / Write
This element writes tags into metadata (EXIF, IPTC and XMP) chunks, and writes the chunks into image files (JPEG, PNG). Tags the are received as GST_EVENT_TAG event or set by the application using GstTagSetter interface.
gst-launch -v -m filesrc location=orig.jpeg ! metadatamux ! filesink location=dest.jpeg
gst-launch -v -m filesrc location=orig.png ! metadatademux ! pngdec ! ffmpegcolorspace ! jpegenc ! metadatamux ! filesink location=dest.jpeg
If this element receives a GST_TAG_EXIF, GST_TAG_IPTC or GST_TAG_XMP which are whole chunk metadata tags, then this whole chunk will be modified by individual tags received and written to the file. Otherwise, a new chunk will be created from the scratch and then modified in same way.
plugin | metadata |
author | Edgard Lima <edgard.lima@indt.org.br> |
class | Muxer/Extracter/Metadata |
name | sink |
direction | sink |
presence | always |
details | image/jpeg, tags-extracted=(boolean)true; image/png, tags-extracted=(boolean)true |
name | src |
direction | source |
presence | always |
details | image/jpeg; image/png |
typedef struct { GstBaseMetadata metadata; } GstMetadataMux;
The opaque GstMetadataMux data structure.