Age | Commit message (Collapse) | Author |
|
|
|
Unlike webpdec from -bad, this element inherits from GstElement
and can decode animated webp data.
|
|
The element expects an array of "commands", as GstStructures,
in the form:
operation, pattern=<pattern>, ...
The only operation implemented for now is replace-all, eg:
replace-all, pattern=foo, replacement=bar
Other operations can be implemented if useful in the future,
eg. "match" could post a message to the bus when the pattern
is encountered.
The main use case for this is automatic speech recognition,
as implemented by eg awstranscribe as users may want to replace
swear words with tamer language.
Commands are applied in order.
The interface is usable through the CLI with the usual escaping
strategies, though trying to pass in actual regular expressions
through it is a bit tricky, as this introduces yet another
level of escaping.
|
|
This new crate consists of two elements, jsongstenc and jsongstparse
Both these elements can deal with an ndjson based format, consisting
for now of two item types: "Buffer" and "Header"
eg:
{"Header":{"format":"foobar"}}
{"Buffer":{"pts":0,"duration":43,"data":{"foo":"bar"}}}
jsongstparse will interpret this by first sending caps
application/x-json, format=foobar, then a buffer containing
{"foo":"bar"}, timestamped as required.
Elements further downstream can then interpret the data further.
jsongstenc will simply perform the reverse operation.
|
|
Need to define CARGO_HOME so it's installed to the same places as the
rest of the Rust tools.
|
|
Will ensure that our static libraries and pkg-config files are properly
generated.
|
|
Will be re-used for another test.
Also explicitly list the 'rs' prefixed plugins.
|
|
|
|
Will prevent us to forget adding new plugins to meson.
|
|
Otherwise errors are silently ignored.
|
|
|
|
Save us from using the static version when building the crate.
|
|
Build our own images based on the ones used by gstreamer-rs ci.
Fix #109
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/321>
|