gst-plugins-rs/tutorial
François Laignel 7ba0073052 use Pad builders for optional name definition
Also, apply auto-naming in the following cases

* When building from a non wildcard-named template, the name of the template is
  automatically assigned to the Pad. User can override with a specific name by
  calling `name()` on the `PadBuilder`.
* When building with a target and no name was provided via the above, the
  GhostPad is named after the target.

See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/448
Auto-naming discussion: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1255#note_1891181

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1197>
2023-05-12 12:55:31 +02:00
..
img Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
src use Pad builders for optional name definition 2023-05-12 12:55:31 +02:00
build.rs fix-getters-calls 0.3.0 pass 2021-04-20 18:19:58 +02:00
Cargo.toml Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
LICENSE-APACHE git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00
LICENSE-MIT git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00
README.md fix typos 2023-04-10 13:35:32 +02:00
tutorial-1.md fix typos 2023-04-10 13:35:32 +02:00
tutorial-2.md fix typos 2023-04-10 13:35:32 +02:00

Tutorial on how to write GStreamer plugins in Rust

This tutorial is for the gst-plugin-tutorial plugin. This plugin provides 4 features. There are separate turoials for rgb2gray and sinesrc feature for now and there will be more in future.

  1. Part 1: rgb2gray - A Video Filter for converting RGB to grayscale
  2. Part 2: sinesrc - A raw audio sine wave source
  3. Part 3: identity
  4. Part 4: progressBin - Prints progress information. Also showcases how to implement an enum-property on a plugin.