In-band Metadata for MPEG Transport Stream Examples

From RidgeRun Developer Wiki



Previous: Example overviews/GstSEI Index Next: Contact Us





Summary

GStreamer In-Band Metadata for MPEG Transport Stream is a set of plugins for the communication channel used to carry additional data or information related to a specific source, allowing receivers to extract and access this metadata, such as GPS location in video frames, while ensuring it does not affect the operation of receivers unable to interpret in-band metadata.

In-band Metadata examples list
Example Description
Simple Examples Examples pipelines for inserting metadata into an audio, video or text metadata files.
GStreamer C App Example of inserting metadata into an audio+video recording.
GStreamer Python App Example of inserting metadata into a UDP stream and extracting at client pipeline.

Simple Examples

The simple examples show the different options available for controlling the metadata insertion. Metadata can be inserted into audio, video or an independent metadata files. The metadata can be extracted from the files and displayed in the terminal.

If the metadata file option is selected, the user has the option to change the rate of the metadata insertion. This property is useful to avoid sending unnecessary and repeated data.

GStreamer C App

The application shows an example of how to create an audio+video recording with metadata inserted. The metadata string is updated by dynamically updating the property. The user can change what method is used to push the metadata. There are options for changing the location where the recording is saved and changing the duration of the recording.

To playback the created file and extract the metadata, the simple examples script can be used.

GStreamer Python App

The Python application shows how to insert metadata into an video stream. The video stream is transmitted through UDP and received by a client pipeline. The client pipeline will playback the video stream and extract the metadata. The metadata is displayed in the terminal.

This example uses GStreamer Daemon to manage the pipelines and the element properties. To run the example, GStreamer Daemon must be installed in the computer.


Previous: Example overviews/GstSEI Index Next: Contact Us