mirror of
https://github.com/matthew1000/gstreamer-cheat-sheet.git
synced 2024-11-29 03:21:02 +00:00
51 lines
2.4 KiB
Markdown
51 lines
2.4 KiB
Markdown
# GStreamer command-line cheat sheet
|
|
|
|
This series of docs provides a cheat sheet for GStreamer on the command-line.
|
|
|
|
## Contents
|
|
|
|
* [Test streams](test_streams.md)
|
|
* [Basics](basics.md)
|
|
* [RTMP](rtmp.md)
|
|
* [Mixing video](mixing.md)
|
|
* [Images](images.md)
|
|
* [Capturing images](capturing_images.md)
|
|
* [Sending/receiving video from shared memory](memory_transfer.md)
|
|
* [Network transfer](network_transfer.md) (including how to send so that VLC can preview)
|
|
|
|
## Sources and references
|
|
|
|
* [Basic command line reference](http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+10%3A+GStreamer+tools)
|
|
* [More examples here](http://docs.gstreamer.com/display/GstSDK/gst-launch)
|
|
* [List of all Gstreamer plugins](https://gstreamer.freedesktop.org/documentation/plugins.html)
|
|
* [Handy elements](https://gstreamer.freedesktop.org/documentation/tutorials/basic/handy-elements.html#uridecodebin)
|
|
|
|
## Other cheat-sheets
|
|
|
|
* http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet
|
|
* https://github.com/xmementoit/gstreamerCheatsheet/blob/master/README.md
|
|
* https://gist.github.com/nebgnahz/26a60cd28f671a8b7f522e80e75a9aa5
|
|
|
|
## Interaction
|
|
|
|
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 you have two options:
|
|
|
|
* *[GStreamer Daemon (gstd)](https://github.com/RidgeRun/gstd-1.x)* - allows setting and updating via a TCP connection
|
|
* *Develop using the GStreamer library*, in either [C](https://gstreamer.freedesktop.org/documentation/application-development/basics/helloworld.html), [Python](https://github.com/GStreamer/gst-python), or [C#/.NET](https://github.com/GStreamer/gstreamer-sharp)
|
|
|
|
### Python with GStreamer
|
|
|
|
Good GStreamer Python resources include:
|
|
|
|
* [Getting started with GStreamer with Python](https://www.jonobacon.com/2006/08/28/getting-started-with-gstreamer-with-python/)
|
|
* [Python GStreamer Tutorial](http://brettviren.github.io/pygst-tutorial-org/pygst-tutorial.html)
|
|
* [Function reference](http://lazka.github.io/pgi-docs/#Gst-1.0)
|
|
* [Nice example script](https://github.com/rabits/rstream/blob/master/rstream.py)
|
|
|
|
### C++ with GStreamer
|
|
|
|
My favourite reference is [Valadoc](https://valadoc.org/gstreamer-1.0/index.htm)
|
|
|
|
# Problems or suggestions with this guide?
|
|
|
|
If you spot anything incorrect or incomplete, reports are welcome, either using [issues](issues) or [pull requests](pulls)
|