gst-launch-1.0
Build and run a GStreamer pipeline. See also: `gst-inspect-1.0`, `ffmpeg`.
More info →Subcommands (17)
Mix audio streams together.
Generate basic audio signals.
Filter pipeline capabilities.
Automatically decode data.
Dummy sink that swallows everything. Useful for testing what part of a pipeline is breaking.
Read data from a file.
Diagnose data passed through the element.
Read frames from a libcamera device.
Read data from a PipeWire node.
Standalone media player.
Read audio data from a Pulseaudio source.
Multithread the pipeline and buffer data.
Load data from an URI and automatically decode it.
Read frames from a Video4Linux2 device.
Convert between raw video pixel formats.
Normalize input framerate.
Produce test video data.
Options (2)
-v, --verbosebooleanPlay test audio and enable verbose output
gst-launch-1.0 audiotestsrc {{[-v|--verbose]}} ! autoaudiosink-e, --eos-on-shutdownbooleanForce an End Of Stream event if the pipeline is shut down with `<Ctrl c>` for containers that require finalization such as `mp4`
gst-launch-1.0 {{[-e|--eos-on-shutdown]}} videotestsrc ! x264enc ! mp4mux ! filesink location={{path/to/file.mp4}}Examples (8)
Play test video in a window
gst-launch-1.0 videotestsrc ! autovideosinkPlay test audio and enable verbose output
gst-launch-1.0 audiotestsrc [-v|--verbose] ! autoaudiosinkPlay a media file in a window
gst-launch-1.0 playbin uri=protocol://host/path/to/fileRe-encode a media file
Stream a file to an RTSP server
gst-launch-1.0 filesrc location=path/to/file ! rtspclientsink location=rtsp://host_IP/path/to/fileForce an End Of Stream event if the pipeline is shut down with `<Ctrl c>` for containers that require finalization such as `mp4`
Multiplex together test video and test audio into a file
Enable debug output and dump a pipeline into a `.dot` file which can then be rendered with tools like `dot`
GST_DEBUG=1..5 GST_DEBUG_DUMP_DOT_DIR=path/to/directory gst-launch-1.0 pipeline