Commit graph

533 commits

Author SHA1 Message Date
Sebastian Dröge 8ce4ca6512 closedcaption: Update version number to 0.5.2 in mcc_enc test 2019-07-07 13:37:14 +03:00
Sebastian Dröge 31a1305a2d Update versions to 0.5.2 2019-07-07 12:13:56 +03:00
Sebastian Dröge 612436a37b Bring gitlab CI in sync with gstreamer-rs and add clippy task
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/issues/58
2019-07-06 10:40:01 +03:00
Sebastian Dröge b5b7e91c49 Fix various clippy warnings 2019-07-06 10:39:30 +03:00
Sebastian Dröge 2a7bcca7eb Update rand to 0.7 and rusoto to 0.40 2019-07-06 10:38:25 +03:00
Sebastian Dröge d192c55ae6 Clean up Makefile some more
Use $(DESTDIR) as prefix for the installation to make distros' lifes
easier and have a simple "all" / "build" / "install" rule. By default we
do a release build, if DEBUG=1 is specified we do a debug build.
2019-07-06 10:36:48 +03:00
Sebastian Dröge 76d916f427 sodium: Statically register the plugin in the example
So that it's not needed to set up GST_PLUGIN_PATH accordingly or install
the plugin first before running the examples.
2019-07-05 17:05:47 +03:00
Sebastian Dröge 9c0e01a330 sodiumdecrypter: Fix some typos 2019-07-05 17:05:47 +03:00
Sebastian Dröge e7194e8f25 sodiumdecrypter: Ensure to pull enough data from upstream if not starting on a chunk boundary
We round down to the previous chunk boundary, but then we also have to
add the difference between the offset of that chunk to the requested
offset to the size of the buffer that is pulled from upstream. Otherwise
there will be an unneeded short read, which could cause downstream to
EOS too early.
2019-07-05 17:05:47 +03:00
Sebastian Dröge 9ac080dc88 togglerecord: Minor code cleanup 2019-07-05 17:05:47 +03:00
Sebastian Dröge d43289b6b1 togglerecord: Don't hold any mutexes while adding/removing pads
Otherwise something might easily deadlock if the application is doing
something from the pad-added/pad-removed signals.
2019-07-05 17:05:47 +03:00
Sebastian Dröge 4d9704cc14 togglerecord: Register plugin as a static plugin in the example
Instead of doing complicated things with the plugin path and the
registry.
2019-07-05 17:05:47 +03:00
Sebastian Dröge 456db123f2 Update element/typefind factory ranks
The only None ranks now are:
- cdgdec/cdgparse: Primary
- rav1enc: Primary
- reqwesthttpsrc: Marginal
- s3sink/s3src: Primary
- mccenc/mccparse: Primary
- sccenc/sccparse: Primary

All other ranks are set to None until the elements are ready to replace
the existing C elements, or are otherwise production-ready and of a
element kind that should be autoplugged in one way or another.

For example the sodium elements are production-ready but can't be
autoplugged and as such should stay at a None rank.
2019-07-02 13:17:36 +03:00
Marcin Kolny 0722107a57 Add plugin to stream data to AWS S3 bucket 2019-07-02 13:17:11 +03:00
Sebastian Dröge cba3c01703 Update Makefile with a release target, and an install and install-release target 2019-07-02 13:16:55 +03:00
Sebastian Dröge 43aeb840e5 Update versions of everything and use releases instead of GIT 2019-06-25 10:30:12 +03:00
Sebastian Dröge 7948b266c5 cdg: ... ranges (inclusive) are deprecated in favour of ...= 2019-06-24 21:35:30 +03:00
Sebastian Dröge 294a888978 Update git2 dependency to 0.9 2019-06-24 21:22:35 +03:00
Sebastian Dröge 4c08971486 rav1enc: Update for API changes
Everything was moved into individual modules instead of exporting it all
from the top-level.
2019-06-14 09:12:28 +03:00
Mathieu Duponchelle 99aca7469e rav1e: fix building after API break in rav1e
7791bb185b
renamed Packet::number to Packet::input_frameno
2019-06-13 00:52:44 +02:00
Guillaume Desmottes 4327ad84e9 cdgparse: fix bytes to time None conversion
Use to crash when unwrapping.
2019-06-08 12:21:26 +05:30
Guillaume Desmottes 9af2823f58 cdgparse: fix time to bytes None conversion
Time(None) should be converted to Bytes(None).

Fix seeking with stop=-1
2019-06-07 16:57:30 +05:30
Guillaume Desmottes 288908edc0 cdg: implement typefind 2019-06-06 18:35:49 +05:30
Sebastian Dröge 50037325ff Explicitly add dyn keyword to trait objects
Trait objects without are deprecated with the latest nightly and this
makes it more clear that we're doing dynamic dispatch anyway.
2019-06-06 09:26:02 +03:00
Guillaume Desmottes d12950a434 cdg: set rank of parser and decoder to Primary 2019-06-04 14:35:10 +05:30
Guillaume Desmottes 53e530f7db port all plugins to new register API
Rank is now an enum rather than a u32
2019-06-04 14:35:10 +05:30
Sebastian Dröge ea14f36a0d Update for the TryInto/TryFrom gstreamer API changes 2019-06-03 19:47:26 +03:00
Guillaume Desmottes 4eac148045 cdgdec: remove parsing code
Now rely on cdgparse to do the parsing.
2019-06-03 17:39:32 +05:30
Guillaume Desmottes 0a9536046b cdg: add cdgparse 2019-06-03 17:39:32 +05:30
Guillaume Desmottes 79cef6cbf7 cdg: factor out constants module 2019-06-03 17:39:32 +05:30
ahamedsajeer.15 dc45b7f8ac Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00
ahamedsajeer.15 0f15b58453 gst-plugin-tutorial: Add markdown of tutorial from blog post and updating to latest version 2019-06-03 13:20:32 +03:00
Sebastian Dröge a11550a59d CI: Update minimum supported Rust version to 1.34
To be in sync with gstreamer-rs.
2019-06-03 13:04:50 +03:00
Guillaume Desmottes f867673853 sodium: remove 'rs' prefix from elements 2019-05-29 15:43:56 +05:30
Guillaume Desmottes 3e01736caf sodium: rename plugin to 'gstsodium' 2019-05-29 15:43:12 +05:30
Guillaume Desmottes aa12b6bdc2 cdg: rename plugin to gstcdg
No need to prefix it with 'rs', there is no other CDG implementation in
GStreamer.
2019-05-29 11:42:41 +05:30
Sebastian Dröge 06bb9e1da7 s3: Fix plugin name 2019-05-28 14:14:07 +00:00
Guillaume Desmottes a710cd0751 cdg: fix plugin name
The plugin name needs to match the lib name so plugin entry points are
properly named.
Fix regression introduced when switching to the new plugin symbols.
2019-05-28 15:43:49 +05:30
Sebastian Dröge 2fc89ced15 Fix various compiler warnings 2019-05-28 04:43:54 +02:00
Sebastian Dröge fbee00caab Update for gstreamer gst_plugin_define! API changes 2019-05-27 20:31:39 +00:00
Arun Raghavan e70937a8d7 Update URIHander::set_uri based on gstreamer-rs API changes
Went from Option<String> to &str.
2019-05-27 14:41:58 +00:00
Sebastian Dröge 857800b7b6 rav1enc: Set chroma site and colorimetry from the caps 2019-05-26 17:16:21 +02:00
Sebastian Dröge 2af9057200 rav1enc: Minor cleanup 2019-05-26 16:26:30 +02:00
Arun Raghavan a7d24506c2 Add a plugin to read data from Amazon S3
Moving from https://github.com/ford-prefect/gst-plugin-s3/ to have these
plugins in a central location.
2019-05-25 16:57:39 +02:00
Guillaume Desmottes c46ec64b03 cdg: update image and cdg_renderer deps 2019-05-25 15:42:01 +02:00
Sebastian Dröge 150f672fde rav1e: Add AV1 encoder around rav1e crate 2019-05-25 15:01:18 +02:00
Sebastian Dröge fda1233163 Update some dependencies 2019-05-24 13:33:51 +02:00
Sebastian Dröge 9bccc50add Update for gstreamer-rs API changes 2019-05-24 13:09:32 +02:00
Guillaume Desmottes d7125aee68 Cargo: set opt-level to 1 in dev builds
We need some level of optimizations so the CDG decoder is usable in dev
build. '1' is suitable for debugging according to the doc.
2019-05-23 16:49:13 +02:00
Guillaume Desmottes cfe660ae82 cdg: add cdgdec element
CDG video decoder used to render karaoke videos.

Acting as a parser for now as we don't have cdgparse yet. I'll probably
implement it at some point once we have GstBaseParse bindings.
2019-05-23 16:49:13 +02:00