mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-20 09:06:32 +00:00
audio/transcribe: remove and merge with rusoto
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/348>
This commit is contained in:
parent
815aa80789
commit
7bf43241e5
8 changed files with 18 additions and 83 deletions
|
@ -7,7 +7,6 @@ members = [
|
|||
"audio/claxon",
|
||||
"audio/csound",
|
||||
"audio/lewton",
|
||||
"audio/transcribe",
|
||||
"generic/file",
|
||||
"generic/sodium",
|
||||
"generic/threadshare",
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
[package]
|
||||
name = "gst-plugin-transcribe"
|
||||
version = "0.6.0"
|
||||
authors = ["Jordan Petridis <jordan@centricular.com>", "Mathieu Duponchelle <mathieu@centricular.com>"]
|
||||
edition = "2018"
|
||||
description = "AWS Transcribe plugin"
|
||||
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
||||
license = "LGPL-2.1-or-later"
|
||||
|
||||
[dependencies]
|
||||
glib = { git = "https://github.com/gtk-rs/glib" }
|
||||
gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
||||
gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
||||
rusoto_core = "0.43.0"
|
||||
rusoto_credential = "0.43.0"
|
||||
rusoto_transcribe = "0.43.0"
|
||||
rusoto_signature = "0.43.0"
|
||||
reqwest = { version = "0.10", features = ["cookies", "gzip"] }
|
||||
futures = "0.3"
|
||||
tokio = { version = "0.2", features = ["time", "rt-threaded"] }
|
||||
async-tungstenite = { version = "0.5", features = ["tokio", "tokio-runtime", "tokio-tls"] }
|
||||
nom = "5.1.1"
|
||||
crc = "1.8.1"
|
||||
byteorder = "1.3.4"
|
||||
once_cell = "1.0"
|
||||
serde = "1"
|
||||
serde_derive = "1"
|
||||
serde_json = "1"
|
||||
|
||||
[lib]
|
||||
name = "gsttranscribe"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[build-dependencies]
|
||||
gst-plugin-version-helper = { path="../../version-helper" }
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
gst_plugin_version_helper::get_info()
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
// Copyright (C) 2020 Mathieu Duponchelle <mathieu@centricular.com>
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Library General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Library General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Library General Public
|
||||
// License along with this library; if not, write to the
|
||||
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
|
||||
// Boston, MA 02110-1335, USA.
|
||||
|
||||
#[macro_use]
|
||||
extern crate glib;
|
||||
#[macro_use]
|
||||
extern crate gstreamer as gst;
|
||||
|
||||
pub mod packet;
|
||||
|
||||
pub mod aws_transcribe_parse;
|
||||
|
||||
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
aws_transcribe_parse::register(plugin)
|
||||
}
|
||||
|
||||
gst::gst_plugin_define!(
|
||||
transcribe,
|
||||
env!("CARGO_PKG_DESCRIPTION"),
|
||||
plugin_init,
|
||||
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
|
||||
"LGPL",
|
||||
env!("CARGO_PKG_NAME"),
|
||||
env!("CARGO_PKG_NAME"),
|
||||
env!("CARGO_PKG_REPOSITORY"),
|
||||
env!("BUILD_REL_DATE")
|
||||
);
|
|
@ -1,10 +1,12 @@
|
|||
[package]
|
||||
name = "gst-plugin-rusoto"
|
||||
version = "0.6.0"
|
||||
authors = ["Arun Raghavan <arun@arunraghavan.net>"]
|
||||
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 = "MIT/Apache-2.0"
|
||||
description = "Amazon S3 Plugin"
|
||||
description = "Amazon Web Services plugin"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
@ -15,10 +17,21 @@ gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", fea
|
|||
gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_12"] }
|
||||
rusoto_core = "0.43"
|
||||
rusoto_s3 = "0.43"
|
||||
rusoto_credential = "0.43"
|
||||
rusoto_transcribe = "0.43"
|
||||
rusoto_signature = "0.43"
|
||||
url = "2"
|
||||
percent-encoding = "2"
|
||||
tokio = { version = "0.2", features = [ "rt-threaded" ] }
|
||||
lazy_static = "1.0"
|
||||
async-tungstenite = { version = "0.5", features = ["tokio", "tokio-runtime", "tokio-tls"] }
|
||||
nom = "5.1.1"
|
||||
crc = "1.8.1"
|
||||
byteorder = "1.3.4"
|
||||
once_cell = "1.0"
|
||||
serde = "1"
|
||||
serde_derive = "1"
|
||||
serde_json = "1"
|
||||
|
||||
[lib]
|
||||
name = "gstrusoto"
|
||||
|
|
|
@ -14,6 +14,8 @@ extern crate gstreamer_base as gst_base;
|
|||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
mod aws_transcribe_parse;
|
||||
mod packet;
|
||||
mod s3sink;
|
||||
mod s3src;
|
||||
mod s3url;
|
||||
|
@ -22,6 +24,7 @@ mod s3utils;
|
|||
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
s3sink::register(plugin)?;
|
||||
s3src::register(plugin)?;
|
||||
aws_transcribe_parse::register(plugin)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue