Chapter 11. Metadata

GStreamer makes a clear distinction between two types of metadata, and has support for both types. The first is stream tags, which describe the content of a stream in a non-technical way. Examples include the author of a song, the title of that very same song or the album it is a part of. The other type of metadata is stream-info, which is a somewhat technical description of the properties of a stream. This can include video size, audio samplerate, codecs used and so on. Tags are handled using the GStreamer tagging system. Stream-info can be retrieved from a GstPad.

11.1. Stream information

Stream information can most easily be read by reading them from a GstPad. This has already been discussed before in Section 7.3.1. Therefore, we will skip it here.