Format-specific Metadata

This article outlines the way we want to deal with format-specific metadata in Libav.

This vague term means additional side information that is important for interpreting the data correctly. Such metadata is supposed to be parsed at some point, and thus can be expected to have a fixed structure. Examples are e.g. the video rotation stored in mov, or replaygain information stored in various audio formats.

This is distinct from semantic metadata (what our current Metadata API is meant to be used for), which should describe the content in human-parsable terms (e.g. the author, title, etc.).


The questions to be resolved for dealing with such "metadata" in Libav are as follows.


The code, that actually makes use of this "metadata" to transform the data in some way, will typically live in lavfi.


It is conceivable that this "metadata" might be stored at the codec level.

In most cases the "metadata" is stored at the container level.

CategoryBlueprint CategoryBlueprintActive