LinuxCommandLibrary

gst-launch-0.10

Build and run GStreamer pipelines

SYNOPSIS

gst-launch-0.10 [OPTIONS] pipeline-description

PARAMETERS

--help
    Show help options.

--version
    Show program version.

-v, --verbose
    Output status information and property notifications.

-q, --quiet
    Do not output status information.

-m, --messages
    Output messages with time stamps.

-t, --tags
    Output tags (metadata) with time stamps.

-e, --eos-on-shutdown
    Send EOS (End-Of-Stream) event to the pipeline before shutting down.

--gst-debug=[level],[category:level],...
    Set the debug level; level can be a number between 0 and 9, or a string.

--gst-debug-help
    Show available debug categories.

--gst-debug-no-color
    Disable colored debugging output.

--gst-debug-color-mode={off|on|disable}
    Specify the mode for colored debugging output

--gst-debug-file=[filename]
    Redirect debugging output to the specified file.

--gst-disable-seccomp
    Disable sandbox by setting seccomp policy to "none"

--gst-disable-registry-fork
    Disable fork of the plugin registry

--gst-plugin-spew
    Enable detailed plugin loading messages.

--gst-plugin-path=[path]
    Add the specified path to the plugin search path.

--gst-plugin-load=[plugin]
    Explicitly load a specified plugin.

--gst-disable-scanner
    Disable usage of the scanner

--gst-version
    Show GStreamer version.

DESCRIPTION

The `gst-launch-0.10` command is a powerful tool used in Linux for building and running GStreamer pipelines from the command line. GStreamer is a multimedia framework, and `gst-launch-0.10` provides a quick and easy way to test, debug, and prototype pipelines before embedding them in applications. It parses a pipeline description string, creates the corresponding GStreamer elements, links them together, and starts the pipeline. This allows users to experiment with different media sources, filters, sinks, and other GStreamer elements to achieve desired multimedia processing outcomes.
It's frequently used for tasks like playing audio/video files, capturing webcam streams, transcoding media, and streaming content over the network. The command provides a flexible and accessible interface to GStreamer's capabilities, enabling developers and multimedia enthusiasts to quickly build and test complex media processing workflows. Note that `gst-launch-0.10` is part of the older GStreamer 0.10 series, which is largely superseded by GStreamer 1.0. While some systems may still have it installed, new development should use `gst-launch-1.0`. Using it requires understanding of GStreamer element names and their properties.

CAVEATS

This command belongs to the GStreamer 0.10 series, which is outdated. Using `gst-launch-1.0` is highly recommended for new projects.

PIPELINE DESCRIPTION

The pipeline description is a string that specifies the GStreamer elements to be used and how they are connected. It follows a specific syntax, where elements are chained together using '!' symbols. For example: `v4l2src ! video/x-raw,width=640,height=480 ! autovideosink`. This would capture video from a V4L2 source, ensure it's a raw video stream with 640x480 resolution and display it in a suitable video sink.

HISTORY

gst-launch-0.10 was developed as part of the GStreamer 0.10 multimedia framework. It provided a command-line interface for constructing and executing pipelines. Over time, GStreamer evolved, and the 1.0 series was introduced, bringing significant API changes and improvements. As a result, gst-launch-1.0 became the preferred tool, and gst-launch-0.10 is now considered legacy. While some older systems may still rely on it, new development should target GStreamer 1.0.

SEE ALSO

Copied to clipboard