mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-30 07:20:59 +00:00
39155ef81c
Also move processing from the capture thread to the streaming thread. The NDI SDK can cause frame drops if not reading fast enough from it. All frame processing is now handled inside the ndisrcdemux. Also use a buffer pool for video if copying is necessary. Additionally, make sure to use different stream ids in the stream-start event for the audio and video pad. This plugin now requires GStreamer 1.16 or newer. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1365>
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "gst-plugin-ndi"
|
|
version = "0.12.0-alpha.1"
|
|
authors = ["Ruben Gonzalez <rubenrua@teltek.es>", "Daniel Vilar <daniel.peiteado@teltek.es>", "Sebastian Dröge <sebastian@centricular.com>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MPL-2.0"
|
|
description = "GStreamer NewTek NDI Plugin"
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
anyhow = "1.0"
|
|
byte-slice-cast = "1"
|
|
byteorder = "1.0"
|
|
data-encoding = "2.4.0"
|
|
atomic_refcell = "0.1"
|
|
libloading = "0.8"
|
|
quick-xml = "0.31"
|
|
smallvec = { version = "1.11", features = ["const_generics"] }
|
|
thiserror = "1.0"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path = "../../version-helper" }
|
|
|
|
[features]
|
|
default = ["sink"]
|
|
sink = ["gst/v1_18", "gst-base/v1_18"]
|
|
advanced-sdk = []
|
|
static = []
|
|
capi = []
|
|
doc = ["gst/v1_18"]
|
|
|
|
[lib]
|
|
name = "gstndi"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.9.21"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
import_library = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-audio-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|