Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video
AgeCommit message (Collapse)Author
2021-05-18hsv: added support for more RGB and BGR formats to hsvdetector and hsvfilterBlaxar Waldarax
2021-05-13Update repository URL for gtk-rs "core" cratesSebastian Dröge
2021-05-05Fix new 1.52 clippy warningsSebastian Dröge
2021-05-04closedcaption/cea608overlay: Fix compilation with cairo API changesSebastian Dröge
2021-05-01rav1e: Fix compilation after VideoColorRange::Range0255 got renamed to ↵Sebastian Dröge
VideoColorRange::Range0_255
2021-04-26cdgdec: Remove unneeded VideoDecoderExtManual importSebastian Dröge
2021-04-25Update for Value trait refactoringSebastian Dröge
2021-04-20tttocea608: implement word wrapping in roll-up modes.Mathieu Duponchelle
In roll-up modes, we open new lines when the last column is reached. This commit implements lookahead on a word basis, in order to avoid splitting words unless absolutely necessary (when a word won't fit on a full row)
2021-04-20manual fixes remove get prefix round 2François Laignel
2021-04-20fix-getters-calls 0.3.0 passFrançois Laignel
2021-04-20fix-getters-def 0.3.0 passFrançois Laignel
2021-04-16tttocea608: only warn when we do drop charactersMathieu Duponchelle
In roll-up mode, we drop out of the loop and warn when the 32nd character is reached, the warning is unnecessary when there were no characters left to loop on. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/499>
2021-04-15closedcaption/caption.c: fix deletionMathieu Duponchelle
Trying to write "" in order to erase characters in the caption frame simply fails silently, the proper way to implement delete_to_end_of_row and backspace was to memset the relevant cells.
2021-04-13post fix-getters manual updatesFrançois Laignel
2021-04-12fix-getters-{def,calls} passFrançois Laignel
2021-04-01closedcaption: Fix build with MSVCSeungha Yang
Undefined ssize_t is used in eia608.h file as well
2021-03-25closedcaption: Don't needlessly create a full-range subslice of a sliceSebastian Dröge
2021-03-22Add license files to all new pluginsSebastian Dröge
2021-03-20video: implement webp decoder around libwebp-sys2 crateMathieu Duponchelle
Unlike webpdec from -bad, this element inherits from GstElement and can decode animated webp data.
2021-03-17cea608overlay: remove debug printsMathieu Duponchelle
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/480>
2021-03-17closedcaption: implement cea608tojson elementMathieu Duponchelle
This element outputs the same format expected by tttocea608 in json mode. It notably differs from cea608tott in that it only uses libcaption's low-level API, as it needs to maintain its own view of the current state of the screen, and make fine-grained decisions as to when to output data and how to timestamp it. It covers a large portion of the 608 spec, with the exception of a few features that probably haven't ever seen widespread usage, those are listed in a TODO list at the top. It has been tested with a reference file produced by CEA and covers all the features it demonstrates. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/480>
2021-03-12tttocea608: pad immediately for the duration of the input bufferMathieu Duponchelle
Pushing the pending padding once we receive the following gap or buffer means we will push it too late otherwise. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/480>
2021-03-09Update for the subclassing glib/gstreamer bindings API changesSebastian Dröge
2021-03-09Update pretty-assertions to 0.7, async-tungstenite to 0.13 and num-rational ↵Sebastian Dröge
to 0.4 Also get rid of the funty workaround as nom now depends on the right version.
2021-03-07Update for new #[glib::object_subclass] attribute macroSebastian Dröge
2021-02-15ccdetect: fix 608 detectionMathieu Duponchelle
When cc_type is 00 or 01 the CC is 608 data, the last bit only denotes the field Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15cea608overlay: support all VideoCaptionType metaMathieu Duponchelle
Also expose a field property, to allow selecting CC for a specific field when the information is available. Defaults to automatically picking the first field encountered. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15ccdetect: extract CDP parser to a separate moduleMathieu Duponchelle
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15tttocea608: be more conservative when inserting spacesMathieu Duponchelle
We don't need to insert a space when starting a new line, or before punctuation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15tttocea608: expose origin-column and origin-row propertiesMathieu Duponchelle
These can be controlled more precisely using json as the input format, but exposing them as properties is still useful when the input format is text. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-15tttocea608: make mode property mutable in PLAYINGMathieu Duponchelle
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/474>
2021-02-14Temporarily depend on funty 1.1.0 to work around breakage in 1.2.0Sebastian Dröge
See https://github.com/myrrlyn/funty/issues/3
2021-02-09Fix various warnings from clippy 1.50Sebastian Dröge
2021-01-31Use gst::PARAM_FLAG_MUTABLE_PLAYING and others consistently everywhereSebastian Dröge
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/139
2021-01-31cea608overlay: Handle errors when rendering captions more gracefullySebastian Dröge
Just don't output anything and log an error instead of panicking.
2021-01-25dav1d: Update to dav1d-rs 0.6Sebastian Dröge
2021-01-25Update for glib/gstreamer bindings API changesSebastian Dröge
2021-01-20tttocea608: implement paint-on modeMathieu Duponchelle
That mode has been mostly obsoleted by roll-up modes, but let's include it for completeness' sake.
2021-01-20closedcaption: implement a tttojson elementMathieu Duponchelle
That new element can for example be used to serialize the output of awstranscribe, ready for further editing
2021-01-20tttocea608: in-depth refactoring, support for new input formatMathieu Duponchelle
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-19libcaption: implement eia608_to_textMathieu Duponchelle
2021-01-19libcaption: fix bit set on indent preamblesMathieu Duponchelle
style preambles look like: |P|0|0|1|C|0|ROW| |P|1|N|0|STYLE|U| and column preambles look like: |P|0|0|1|C|0|ROW| |P|1|N|1|CURSR|U| Both preambles go through eia608_row_pramble(), the value they pass as the x parameter is supposed to hold 4 bits, either 0|STYLE or 1|CURSR This value then gets bit-shifted by 1 and or'd in the second byte. The value is also and' with 0x1E to ensure it can't leak into the upper bits. The previous code resulted in x being a 5-bit value, 0x10 (0b10000). This resulted in outputting a style preamble, as 0x10 << 1 & 0x1E is 0b00000. When the indent was 0 (the usual case), this went undetected, but with any other value it resulted in no indent being applied, but the text getting colored or italicized. This patch fixes x to have the correct value of 0x8 | indent.
2021-01-19libcaption: fix parity code calculationMathieu Duponchelle
A misplaced parenthesis was causing the odd parity bit to be set based on an incomplete version of the preamble
2021-01-15rav1enc: Make use of the opaque API to map frames/packets to the video ↵Sebastian Dröge
encoder frames
2021-01-15rav1enc: Update to rav1e 0.4Sebastian Dröge
2021-01-09Update to rand 0.8Sebastian Dröge
2021-01-04use cargo-c to produce cdy and static libsGuillaume Desmottes
cargo-c will produce a pkg-config file making it easier to statically link plugins. Also add 'static' features for plugins depending on < 1.14 as this is the minimal required version to use static linking because of ABI changes in core.
2020-12-30sccparse: Work around invalid drop-frame timecodesSebastian Dröge
Various SCC files have invalid drop frame timecodes. Every full minute the first two timecodes are skipped, except for every tenth minute, which means that e.g. "00:01:00;00" is not a valid timecode and the next valid timecode would be "00:01:00;02".
2020-12-30sccparse: Parse timecode only once when seekingSebastian Dröge
Also avoids an unwrap().
2020-12-30sccparse: Simplify timecode handling a bitSebastian Dröge