Gstreamer command-line cheat sheet
Find a file
2022-07-20 21:31:01 +01:00
html_examples Whole bunch of changes, including memory and queues 2018-06-08 21:35:46 +01:00
images Add tee examples 2018-04-03 22:51:32 +01:00
python_examples New example of how playbin sinks can be set 2019-02-15 10:41:17 +00:00
basics.md Fix Markdown 2022-07-20 21:31:01 +01:00
images.md Fix Markdown 2022-07-20 21:31:01 +01:00
installing.md Fix Markdown 2022-07-20 21:31:01 +01:00
mixing.md Fix Markdown 2022-07-20 21:31:01 +01:00
network_transfer.md Fix Markdown 2022-07-20 21:31:01 +01:00
queues.md Fix Markdown 2022-07-20 21:31:01 +01:00
README.md Fix broken links, add install comments 2022-07-20 21:23:04 +01:00
rtmp.md Fix Markdown 2022-07-20 21:31:01 +01:00
rtp.md Various tweaks from a few more months of learning 2019-02-02 09:00:48 +00:00
sharing_and_splitting_pipelines.md Fix Markdown 2022-07-20 21:31:01 +01:00
srt.md Fix Markdown 2022-07-20 21:31:01 +01:00
tee.md Fix Markdown 2022-07-20 21:31:01 +01:00
test_streams.md Fix Markdown 2022-07-20 21:31:01 +01:00
writing_to_files.md Fix Markdown 2022-07-20 21:31:01 +01:00

GStreamer command-line cheat sheet

GStreamer is a powerful library for manipulating audio and video - including live streams. This repo provides:

  • a cheat sheet for GStreamer on the command-line, and
  • a few Python examples.

Whilst the command line is great, programmatic usage (in Python or another language) allows you to dynamically manipulate the A/V streams.

Contents

Sources and references

Other cheat-sheets

Interacting with the GStreamer pipeline

If you want to interact with GStreamer after it's started (e.g. respond to an event, or dynamically change a pipeline), the command-line GStreamer doesn't really cut it. Instead, here are some options:

Python with GStreamer

Python is an easy language, so it's no surprise that it's good way to develop using GStreamer.

Some example scripts can be found in the python_examples/ directory.

Other good GStreamer Python resources that I've found:

C/C++ with GStreamer

My favourite reference is Valadoc

Problems or suggestions with this guide?

If you spot anything incorrect or incomplete, reports are welcome, either using issues or pull requests

My GStreamer project

Creating this guide gave me enough GStreamer understanding to make a prototype Brave, a live video editor for the cloud. (Regrettably this prototype has not been updated in a few years.)