Commit graph

2224 commits

Author SHA1 Message Date
Sebastian Dröge
0a7d1639e7 Update to Rust edition 2021 and minimum supported Rust version to 1.56 2021-10-31 17:40:05 +02:00
Michael Farrell
5ae1f72162 cea608overlay: Update for multiple Pango API changes in gtk-rs-core#308
https://github.com/gtk-rs/gtk-rs-core/pull/308
2021-10-31 12:50:50 +02:00
Mathieu Duponchelle
79fb66f338 Initial commit 2021-10-28 05:14:41 +02:00
Sebastian Dröge
da4122a721 closedcaption/mccenc: Update for glib::DateTime / TimeSpan API changes 2021-10-23 13:07:01 +03:00
Sebastian Dröge
b9541b2ca4 Update for GstObjectImpl API change 2021-10-23 12:31:33 +03:00
Sebastian Dröge
db30cfcc74 ci: Install cargo-c 0.9.4 until our minimum supported Rust version is 1.56 2021-10-23 10:37:55 +03:00
Guillaume Desmottes
acce0ab4fc meson: build all workspaces all together
It's now possible thanks to cargo-c 0.9.3. Should reduce build time of
all plugins.

Fix #165
2021-10-19 07:49:22 +00:00
Guillaume Desmottes
97f45a0f77 README: newer cargo-c can now take the workspace name
Easier to use than the manifest path.
2021-10-19 07:49:22 +00:00
Sebastian Dröge
6111d0f4ed deny: Also ignore RUSTSEC-2020-0159 for now
Also waiting for https://github.com/chronotope/chrono/pull/578
2021-10-19 09:44:54 +03:00
François Laignel
27b9f0d868 Improve usability thanks to opt-ops
The crate option-operations simplifies usage when dealing with
`Option`s, which is often the case with `ClockTime`.
2021-10-18 15:09:47 +02:00
Sebastian Dröge
bd8a7e8df7 deny: Ignore RUSTSEC-2020-0071 for now
Waiting for https://github.com/chronotope/chrono/pull/578
2021-10-18 09:46:49 +03:00
Michael Farrell
b0cebbedbc readme: Fix GST_PLUGIN_PATH instructions to include target triple.
This change also puts the `target/` directory first, for locally-built
plugins to take priority over distribution-provided plugins. It also
encloses the environment variable in quotes, in case it contains paths with
spaces.
2021-10-18 03:01:05 +00:00
Sebastian Dröge
70f0aa9758 gtk4: Add support for rendering overlay composition rectangles directly via GTK 2021-10-17 19:03:24 +00:00
Sebastian Dröge
54c8f5b3ab fallbackswitch: Remove bundled aggregator copy and require GStreamer 1.18
1.18 is old enough at this point and carrying around a copy of
 aggregator is not sustainable.
2021-10-17 17:35:45 +03:00
Sebastian Dröge
c5d3a2efce Update for event API changes 2021-10-17 17:30:38 +03:00
Sebastian Dröge
01a551f2ac rav1enc/gifenc: Add VideoMeta to the supported metas in propose_allocation() 2021-10-16 16:21:49 +03:00
Sebastian Dröge
fe0075ad15 closedcaption/cea608overlay: Proxy the allocation query 2021-10-16 16:21:49 +03:00
Sebastian Dröge
cecacf5430 hsv: Port detecter/filter to VideoFilter base class 2021-10-16 16:21:49 +03:00
Sebastian Dröge
76a33e8f47 tutorial: Port Rgb2Gray to VideoFilter base class 2021-10-16 15:24:00 +03:00
Sebastian Dröge
cf637d0288 gtk4: Add gst_video::VideoMeta to the allocation metas in propose_allocation() 2021-10-16 15:05:18 +03:00
Sebastian Dröge
d17c3483c1 video: Update for new decide_allocation() signature 2021-10-16 15:02:11 +03:00
Sebastian Dröge
6ec98ec5e4 Update to pretty-assertions 1.0 2021-10-14 10:20:19 +03:00
Sebastian Dröge
6f7a8f36de deny: Add gtk4-rs repo URL to allow-git 2021-10-14 10:03:17 +03:00
Bilal Elmoussaoui
30796fbe07 Add a GTK4 paintable sink plugin
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
Co-authored-by: Jordan Petridis <jordan@centricular.com>
2021-10-13 12:28:51 +03:00
Sebastian Dröge
1a830c7c78 Update for glib::source_remove() removal 2021-10-12 06:31:53 +00:00
Sebastian Dröge
21e8c6dcd1 pngenc: Don't recreate the encoder after every frame
Version 0.17.2 of the encoder allows again to encode frame after frame
without creating a new encoder instance.
2021-10-09 12:14:37 +03:00
Samuel Alonso Rodriguez
cdfa63f341
Merge pull request #76 from sdroege/require-gstreamer-0.17.4
Require at least version 0.17.4 of the GStreamer core bindings
2021-10-06 12:36:16 +02:00
Sebastian Dröge
8585ef1e66 Require at least version 0.17.4 of the GStreamer core bindings
Fixes https://github.com/teltek/gst-plugin-ndi/issues/75
2021-10-06 12:53:51 +03:00
Vivia Nikolaidou
a132fdb8be togglerecord: Add is-live mode
No "gap eating" behaviour, will forward incoming segment
2021-10-04 16:44:04 +03:00
Vivia Nikolaidou
f6aa03b58a togglerecord: Fix lock ordering
Fixes deadlocks.

Correct lock ordering is:
1) Main stream state lock
2) Other stream state lock
3) Recording state lock
2021-10-04 13:18:20 +03:00
Samuel Alonso Rodriguez
74b47f016f
Merge pull request #74 from sdroege/src-compressed-data
Add support for receiving compressed data from the source
2021-10-02 11:02:29 +02:00
Sebastian Dröge
f890abe5cb Add support for receiving compressed data from the source
This requires building against and using the NDI Advanced SDK and is
opt-in via the "advanced-sdk" cargo feature.
2021-10-01 13:12:14 +03:00
Sebastian Dröge
db6b9531ca Add various header definitions from the NDI advanced SDK 2021-10-01 12:50:57 +03:00
Sebastian Dröge
b98efea5aa Allow selecting the receive color format in the source 2021-10-01 12:50:57 +03:00
Sebastian Dröge
ce45f5a673 Update README.md 2021-10-01 12:50:57 +03:00
Sebastian Dröge
8cf682d72b Move to NDIlib_recv_capture_v3() and NDIlib_send_send_audio_v3()
These allow more control over the data that is being sent/received, but
require NDI SDK 4.0 or newer.
2021-10-01 12:50:57 +03:00
Sebastian Dröge
7483a66b66 Convert NDIlib_recv_color_format_e to a type alias with constants
There are also other values available.
2021-10-01 12:50:57 +03:00
Sebastian Dröge
c8f12b8c3b Use a const function to create fourccs from strings 2021-10-01 12:50:57 +03:00
Samuel Alonso Rodriguez
c98b626f69
Merge pull request #73 from sdroege/ndisrc-timestamp-tracking-improvements
Various improvements to timestamp tracking code in the source
2021-10-01 10:50:36 +02:00
Jan Schmidt
3260651671 jsontovtt: Add an element for fragmented WebVTT
This element converts the CC JSON format to fragmented WebVTT.

Co-authored by Mathieu Duponchelle <mathieu@centricular.com>
2021-09-30 19:37:32 +00:00
Mathieu Duponchelle
bc587a09f8 cea608tojson: expose "unbuffered" property
In this mode, cues are output as soon as they are ready for
display, without a duration. This can be useful in live mode,
when downstream is OK with determining the duration after the
fact, through clear=True.

The consequence of this is that the current roll-up window will
be output repetitively, it is up to downstream to deal with that
how it prefers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/554>
2021-09-30 17:05:01 +02:00
Sebastian Dröge
e642d6a4c1 Set the RESYNC flag on buffers after time tracking state was reset 2021-09-30 17:54:15 +03:00
Sebastian Dröge
0911775142 Set the discont flag on the first audio/video buffer 2021-09-30 13:33:18 +03:00
Sebastian Dröge
9a53bcd405 Implement remote/local clock estimation with the same algorithm as the RTP jitterbuffer
This gives fewer jumps and generally leads to smoother and more correct
results, while at the same time also being faster.
2021-09-30 13:29:12 +03:00
Sebastian Dröge
0c89e0819f Use gst::Element::current_running_time() instead of manually implementing it 2021-09-30 11:02:26 +03:00
Sebastian Dröge
febb2fb035 Add receive-time timestamping mode
This directly uses the receive times of each packet.
2021-09-30 11:02:26 +03:00
Samuel Alonso Rodriguez
7c3e50c629
Merge pull request #72 from sdroege/combined-source-and-demuxer
Combine audio/video source into a single element and add a demuxer fo…
2021-09-30 09:51:46 +02:00
François Laignel
ed90b338f8 ts: runtime: add delay_for_at_least
The time driver for the threadshare runtime assigns the timer
entries to the nearest throttling time frame so that the timer
fires as close as possible to the expected instant. This means
that the timer might fire before or after the expected instant
(at most `wait / 2` away).

In some cases, we don't want the timer to fire early. The new
function `delay_for_at_least` ensures that the timer is assigned
to the time frame after the expected instant.
2021-09-30 09:00:05 +02:00
Sebastian Dröge
b3184b45bc Combine audio/video source into a single element and add a demuxer for that
This simplifies the code considerably.
2021-09-29 14:48:32 +03:00
Mathieu Duponchelle
01cc9e23d8 transcriberbin: switch to passthrough on transcriber error
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/569>
2021-09-28 16:17:57 +00:00