Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-27 07:36:09

Common GStreamer Tools

Common GStreamer Tools

3.1 gst-launch-1.0

Builds a pipeline from the command line:

gst-launch-1.0 videotestsrc ! autovideosink

Add -v to print Caps negotiation information:

gst-launch-1.0 -v videotestsrc ! autovideosink

3.2 gst-play-1.0

Quickly plays a local file or URI:

gst-play-1.0 test.mp4
gst-play-1.0 https://example.com/test.mp4

Common options:

OptionDescription
--videosink=<element>Specify the video output element
--audiosink=<element>Specify the audio output element
--use-playbin3Use Playbin3
--flags=<value>Control playback features such as video, audio, and subtitles

Common --flags values:

ValueFunction
1Video only
2Audio only
3Video and audio
4Subtitles
7Video, audio, and subtitles

3.3 gst-inspect-1.0

Queries plugins, elements, pads, Caps, properties, and default values:

# List all plugins and elements
gst-inspect-1.0

# Inspect a specific element
gst-inspect-1.0 waylandsink
gst-inspect-1.0 v4l2src

Plugin capabilities vary with the GStreamer, SDK, and platform versions. Treat properties in this document as a reference and check the output on the target system before use.

3.4 gst-discoverer-1.0

Analyzes the container, tracks, and codec formats in a file or URI:

gst-discoverer-1.0 test.mp4
gst-discoverer-1.0 rtsp://127.0.0.1:8554/live

If the system is missing a demuxer, parser, or decoder, this command usually reports the missing component.

On this page