3 unstable releases
0.2.1 | Nov 5, 2021 |
---|---|
0.2.0 | Nov 5, 2021 |
0.1.0 | Sep 29, 2021 |
#46 in #video-stream
28KB
676 lines
Plugins to allow communicating data over video (Compatible with SDI)
How it works?
datasrc
waits for send-data
action and sends it down the line.
datasink
reads each incoming frame, checks Magic number, decodes content and signals it. (Check examples/data-from-decklink.rs)
Example usage
-
cargo build --release
-
export GST_PLUGIN_PATH=$(pwd)/target/release
-
GST_DEBUG=datasink:4 gst-launch-1.0 datasrc ! video/x-raw,framerate=25/1,width=1920,height=1080 ! datasink
-
cargo run --example src-to-sink
Notes
- 0 and 256 bits are used for sdi synchronization so we cant use them. (https://forum.blackmagicdesign.com/viewtopic.php?f=12&t=147543#p791374)
Dependencies
~12MB
~253K SLoC