mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 21:41:03 +00:00
0bb626c653
Useful complement to cea708overlay, that can only render native 708. The element isn't an aggregator, and simply parses and renders closed caption meta on its input video buffers. No property is exposed, the rendering is done using a monospace font, over a 32 x 15 grid with the font size fitted to fill as much of the viewport as possible. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/343>
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
[package]
|
|
name = "gst-plugin-closedcaption"
|
|
version = "0.6.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>", "Jordan Petridis <jordan@centricular.com>"]
|
|
license = "LGPL-2.1-or-later"
|
|
edition = "2018"
|
|
description = "Rust Closed Caption Plugin"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/glib" }
|
|
combine = "4.0"
|
|
either = "1"
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
chrono = "0.4"
|
|
lazy_static = "1.2"
|
|
atomic_refcell = "0.1"
|
|
cairo-rs = { git = "https://github.com/gtk-rs/cairo", features=["use_glib"] }
|
|
cairo-sys-rs = { git = "https://github.com/gtk-rs/cairo" }
|
|
pango = { git = "https://github.com/gtk-rs/pango" }
|
|
pangocairo = { git = "https://github.com/gtk-rs/pangocairo" }
|
|
|
|
[dependencies.gst]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer"
|
|
|
|
[dependencies.gst-base]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer-base"
|
|
|
|
[dependencies.gst-video]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package="gstreamer-video"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.6"
|
|
rand = { version = "0.7", features = ["small_rng"] }
|
|
|
|
[dev-dependencies.gst-check]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer-check"
|
|
|
|
[lib]
|
|
name = "gstrsclosedcaption"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
cc = "1.0"
|