gst-plugins-rs/video/closedcaption/tests
Mathieu Duponchelle 42b4defb5c tttocea608: in-depth refactoring, support for new input format
Up to now, tttocea608 supported text/utf8, and no interface to
control the positioning of closed captions apart from new lines
in the input text.

CEA 608 supports a larger set of features than that, such as
positioning CC precisely in its 32 x 15 grid, styling text,
switching from one mode to another, resetting the base row
in roll-up mode etc ..

A custom, JSON-based format is now supported by the element
(caps application/x-json, format=cea608), allowing users to
control those features in a pretty advanced manner.

A side effect of this is that the approach previously used
by the element to ensure frame-accurate CC display is now
untenable: where we knew before that an input buffer would
at most span 74 buffers and calculate a somewhat reasonable
latency based on that, this is no longer possible. Instead
we pick the approach most CC encoders seem to pick, and
accept a certain latency at display time: for example the
flipping of the back buffer to the display buffer for a
10-character text buffer will occur 7 frames after its
PTS. This has obvious benefits in terms of code complexity
and should generally be acceptable.

+ Removes a now irrelevant test, updates other tests

+ Extracts the Mode enum to the root of the crate, it will
  be used by another element in a follow-up commit
2021-01-20 02:29:19 +01:00
..
captions-test_708.mcc Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
ccdetect.rs Use typed integer literals instead of casting 2020-12-29 17:29:46 +02:00
cea608tott.rs video: Update to 2018 edition 2020-11-23 10:28:35 +02:00
dn2018-1217.scc Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
mcc_enc.rs closedcaption: Update for glib::DateTime API changes 2020-12-24 13:36:07 +02:00
mcc_parse.rs Update to rand 0.8 2021-01-09 12:34:42 +02:00
scc_enc.rs video: Update to 2018 edition 2020-11-23 10:28:35 +02:00
scc_parse.rs Update to rand 0.8 2021-01-09 12:34:42 +02:00
timecodes-cut-down-sample.scc Drop gst-plugin- prefix in plugin directory name 2020-04-05 19:10:47 +00:00
tttocea608.rs tttocea608: in-depth refactoring, support for new input format 2021-01-20 02:29:19 +01:00