Skip to content

Allow matroskamux/demux storing/reading any gstreamer tags

There are a set number of gstreamer tags that get mapped to the official matroska tags on muxing. This MR introduces a new custom matroska tag for storing any gstreamer tag not mappend. I'm not sure if this is a feature that would make sense to upstream into matroskamux/demux, but might as well give it a go. It is very useful when storing custom metadata for exotic uses of matroska.

This implementation does this by serializing these gstreamer tags into <tag_name>@<serialized_tag_value> and stores this one string in a SIMPLETAG. Not sure if this is the ideal way to do this. Maybe serializing gstreamer tags into nested matroska tags is better, I'm not sure.

Merge request reports

Loading