GStreamer plugins written in Rust. *These plugins can be used by applications written in other programming languages as well of course, they are just like any other GStreamer plugins available on the system.*
Find a file
Mathieu Duponchelle ef41adf776 fallbacksrc: implement manual unblocking feature
This enables a use case for preparing slow to start up sources
ahead of time in a live cueing system, where a stream is scheduled
to start at some point in the future, and the application wants to
make sure it is ready for prime time by that time, instead of
spinning it up at the last moment and waiting for the stream to
actually come up.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/515>
2021-06-30 00:46:46 +00:00
audio fix clippy warnings 2021-06-05 10:36:22 +02:00
ci ci: Update to dav1d 0.9.0 2021-06-20 11:54:06 +03:00
generic fix clippy warnings 2021-06-05 10:36:22 +02:00
net awstranscriber: further decouple output from input 2021-06-26 00:46:28 +02:00
text textwrap: switch accumulate-time property to uint64 2021-06-23 16:33:07 +02:00
tutorial tutorial: migrate to new ClockTime design 2021-06-05 10:36:21 +02:00
utils fallbacksrc: implement manual unblocking feature 2021-06-30 00:46:46 +00:00
version-helper gst-plugin-version-helper: Add missing 3 backticks to README.md 2021-06-29 00:24:53 +03:00
video transcriberbin: new high-level bin for speech to Closed Caption 2021-06-30 02:07:01 +02:00
.gitignore .gitignore builddir 2021-06-03 09:19:31 +02:00
.gitlab-ci.yml ci: Update image version 2021-06-20 11:54:06 +03:00
Cargo.toml video: implement webp decoder around libwebp-sys2 crate 2021-03-20 10:53:20 +02:00
cargo_wrapper.py meson: fix copy of build artifacts 2021-04-16 14:25:02 +02:00
deny.toml deny: Update 2021-06-08 08:52:31 +03:00
LICENSE-APACHE Change license from LGPLv2.1+ to Apache2/MIT 2017-02-16 17:52:27 +02:00
LICENSE-LGPLv2 Add gst-plugin-togglerecord 2017-12-05 09:56:58 +02:00
LICENSE-MIT Change license from LGPLv2.1+ to Apache2/MIT 2017-02-16 17:52:27 +02:00
Makefile Clean up Makefile some more 2019-07-06 10:32:22 +03:00
meson.build meson: fix csound detection 2021-05-26 12:08:05 +02:00
meson_options.txt Add csound-based filter plugin 2020-03-22 13:44:40 +02:00
README.md use cargo-c to produce cdy and static libs 2021-01-04 12:26:45 +01:00
update-version.sh Add update-version script 2020-04-15 20:39:31 +02:00

gst-plugins-rs crates.io pipeline status

Repository containing various GStreamer plugins and elements written in the Rust programming language.

The plugins build upon the GStreamer Rust bindings. Check the README.md of that repository also for details about how to set-up your development environment.

Plugins

You will find the following plugins in this repository:

  • generic

    • file: A Rust implementation of the standard filesrc and filesink elements

    • sodium: Elements to perform encryption and decryption using libsodium.

    • threadshare: Some popular threaded elements reimplemented using common thread-sharing infrastructure.

  • net

    • reqwest: An HTTP source element based on the reqwest library.

    • rusoto: A source and sink plugin to talk to the Amazon S3 object storage system using the Rusoto library.

  • audio

    • audiofx: Plugins to apply audio effects to a stream (such as adding echo/reverb, removing noise or normalization).

    • claxon: A FLAC decoder based on the Claxon library.

    • csound: A plugin to implement audio effects using the Csound library.

    • lewton: A Vorbis decoder based on the lewton library.

  • video

    • cdg: A parser and renderer for CD+G karaoke data.

    • closedcaption: Plugins to deal with several closed caption formats (MCC, SCC, EIA-608/CEA-608 and timed text).

    • dav1d: AV1 decoder based on the dav1d library.

    • flavors: FLV demuxer based on the flavors library.

    • gif: A GIF encoder based on the gif library.

    • rav1e: AV1 encoder based on the rav1e library.

  • utils

    • fallbackswitch: Aggregator element that allows falling back to a different sink pad after a timeout.

    • togglerecord: Element to enable starting and stopping multiple streams together.

Building

gst-plugins-rs relies on cargo-c to generate shared and static C libraries. It can be installed using:

$ cargo install cargo-c

Then you can easily build and test a specific plugin:

$ cargo cbuild --manifest-path video/cdg/Cargo.toml
$ GST_PLUGIN_PATH=$GST_PLUGIN_PATH:target/debug gst-inspect-1.0 cdgdec

The plugin can also be installed system-wide:

$ cargo cbuild --manifest-path video/cdg/Cargo.toml --prefix=/usr
$ cargo cinstall --manifest-path video/cdg/Cargo.toml --prefix=/usr

This will install the plugin to /usr/lib/gstreamer-1.0. You can use --libdir to pass a custom lib directory such as /usr/lib/x86_64-linux-gnu for example.

Note that you can also just use cargo directly to build Rust static libraries and shared C libraries. cargo-c is mostly useful to build static C libraries and generate pkg-config files.

LICENSE

gst-plugins-rs and all crates contained in here that are not listed below are licensed under either of

at your option.

gst-plugin-togglerecord is licensed under the Lesser General Public License (LICENSE-LGPLv2) version 2.1 or (at your option) any later version.

gst-plugin-csound is licensed under the Lesser General Public License (LICENSE-LGPLv2) version 2.1 or (at your option) any later version.

GStreamer itself is licensed under the Lesser General Public License version 2.1 or (at your option) any later version: https://www.gnu.org/licenses/lgpl-2.1.html

Contribution

Any kinds of contributions are welcome as a pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in gst-plugins-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.