GStreamer In-Band Metadata for MPEG Transport Stream - Examples - Demo

From RidgeRun Developer Connection
Jump to: navigation, search


Previous: Examples Index Next: Examples/GstLaunch





This page describes the example demo that in located in <GST_METADATA_DIR>/src/examples. This demo will create a 10 seconds TS video, including some metadata.

To generate the test video run the following command:

cd <GST_METADATA_DIR>/src/examples
./gst-meta-demo

This will create a video named meta.ts. To play this video and print the included metadata, run the following pipeline:

gst-launch-1.0 -e filesrc location=meta.ts ! tsdemux name=demux demux. ! queue ! h264parse ! 'video/x-h264, stream-format=byte-stream, alignment=au' ! avdec_h264 ! autovideosink demux. ! queue ! 'meta/x-klv' ! metasink







Previous: Examples Index Next: Examples/GstLaunch