mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
743e97738f
This commit adds an optional transcript translation feature implemented as request src Pads. When requesting a src Pad, the user can specify the translation language code using Pad properties 'language-code'. The following properties are defined on the Element: - 'transcribe-latency': formerly 'latency', defines the expected latency for the Transcribe webservice. - 'translate-latency': defines the expected latency for the Translate webservice. - 'transcript-lookahead': maximum transcript duration to send to translation when a transcript is hitting its deadline and no punctuation was found. When the input and output languages are the same, only the 'transcribe-latency' is used for the Pad. Otherwise, the resulting latency is the addition of 'transcribe-latency' and 'translate-latency'. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1109>
71 lines
2.1 KiB
TOML
71 lines
2.1 KiB
TOML
[package]
|
|
name = "gst-plugin-aws"
|
|
version = "0.11.0-alpha.1"
|
|
authors = ["Arun Raghavan <arun@arunraghavan.net>",
|
|
"Jordan Petridis <jordan@centricular.com>",
|
|
"Mathieu Duponchelle <mathieu@centricular.com>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MPL-2.0"
|
|
description = "GStreamer Amazon Web Services plugin"
|
|
edition = "2021"
|
|
rust-version = "1.66"
|
|
|
|
[dependencies]
|
|
async-stream = "0.3.4"
|
|
base32 = "0.4"
|
|
aws-config = "0.54.0"
|
|
aws-sdk-s3 = "0.24.0"
|
|
aws-sdk-transcribestreaming = "0.24.0"
|
|
aws-sdk-translate = "0.24.0"
|
|
aws-types = "0.54.0"
|
|
aws-credential-types = "0.54.0"
|
|
aws-sig-auth = "0.54.0"
|
|
aws-smithy-http = { version = "0.54.0", features = [ "rt-tokio" ] }
|
|
aws-smithy-types = "0.54.0"
|
|
bytes = "1.0"
|
|
futures = "0.3"
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gio" }
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] }
|
|
http = "0.2.7"
|
|
once_cell = "1.0"
|
|
percent-encoding = "2"
|
|
tokio = { version = "1.0", features = [ "full" ] }
|
|
serde = "1"
|
|
serde_derive = "1"
|
|
serde_json = "1"
|
|
url = "2"
|
|
|
|
[dev-dependencies]
|
|
chrono = { version = "0.4", features = [ "alloc" ] }
|
|
env_logger = "0.10"
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_18"] }
|
|
rand = "0.8"
|
|
test-with = { version = "0.9", default-features = false }
|
|
|
|
[lib]
|
|
name = "gstaws"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
|
|
[features]
|
|
static = []
|
|
capi = []
|
|
doc = ["gst/v1_18"]
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.8.0"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gobject-2.0, glib-2.0, gmodule-2.0, openssl"
|