gst-plugins-rs/net
François Laignel 299e25ab3c net/aws/transcriber: translate: optional experimental translation tokenization
This commit adds an optional experimental translation tokenization feature.
It can be activated using the `translation_src_%u` pads property
`tokenization-method`. For the moment, the feature is deactivated by default.

The Translate ws accepts '<span></span>' tags in the input and adds matching
tags in the output. When an 'id' is also provided as an attribute of the
'span', the matching output tag also uses this 'id'.

In the context of close captions, the 'id's are of little use. However, we can
take advantage of the spans in the output to identify translation chunks, which
more or less reflect the rythm of the input transcript.

This commit adds simples spans (no 'id') to the input Transcript Items and
parses the resulting spans in the translated output, assigning the timestamps
and durations sequentially from the input Transcript Items. Edge cases such as
absence of spans, nested spans were observed and are handled here. Similarly,
mismatches between the number of input and output items are taken care of by
some sort of reconcialiation.

Note that this is still experimental and requires further testings.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1109>
2023-03-14 13:48:32 +00:00
..
aws net/aws/transcriber: translate: optional experimental translation tokenization 2023-03-14 13:48:32 +00:00
hlssink3 Update for gst::Element::link_many() and related API generalization 2023-03-09 16:46:52 +02:00
ndi ndisinkcombiner: Properly handle caps changes 2023-03-01 12:30:54 +00:00
onvif Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
raptorq Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
reqwest Fix a few new clippy warnings 2023-03-07 08:47:01 +00:00
rtp Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
webrtc webrtc: Update to aws 0.54/0.24 2023-03-11 09:37:14 +02:00
webrtchttp Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00