3 releases (breaking)
|0.7.0||Jul 9, 2021|
|0.6.0||Jul 10, 2020|
|0.0.0||Apr 4, 2020|
#44 in Video
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.
You will find the following plugins in this repository:
file: A Rust implementation of the standard
sodium: Elements to perform encryption and decryption using libsodium.
threadshare: Some popular threaded elements reimplemented using common thread-sharing infrastructure.
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.
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.
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
You can use
--libdir to pass a custom
/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
gst-plugins-rs and all crates contained in here that are not listed below are licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
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.