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)
-
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
- 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)