CmdID

CmdID / Commands

gst-launch-1.0

Build and run a GStreamer pipeline. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Play test video in a window

gst-launch-1.0 videotestsrc ! autovideosinkIdentify

Play test audio and enable verbose output

gst-launch-1.0 audiotestsrc --verbose ! autoaudiosinkIdentify

Play a media file in a window

gst-launch-1.0 playbin uri=protocol://host/path/to/fileIdentify

Re-encode a media file

gst-launch-1.0 filesrc location=path/to/file ! file_typedemux ! codec_typedec ! codec_typeenc ! file_typemux ! filesink location=path/to/fileIdentify

Stream a file to an RTSP server

gst-launch-1.0 filesrc location=path/to/file ! rtspclientsink location=rtsp://host_ip/path/to/fileIdentify

Force 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 --eos-on-shutdown videotestsrc ! x264enc ! mp4mux ! filesink location=path/to/file.mp4Identify

Multiplex together test video and test audio into a file

gst-launch-1.0 --eos-on-shutdown videotestsrc ! x264enc ! element_name. audiotestsrc ! opusenc ! element_name. matroskamux name=element_name ! filesink location=path/to/file.mkvIdentify

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 pipelineIdentify