Data communication using video issues with decklink

Reinis reinis at xpresshd.com
Fri Sep 17 16:53:07 UTC 2021


Hello!

After my previous email I have created simple plugins to send and 
receive information through video. 
https://github.com/reinismu/gst-data-video
Basic example line `|GST_DEBUG=*:3 datasrc ! 
video/x-raw,framerate=25/1,width=1920,height=1080 ! datasink|` works 
fine, but when I try to send the same stream to decklink card

`GST_DEBUG=*:3 gst-launch-1.0 datasrc ! 
video/x-raw,framerate=25/1,width=1920,height=1080,format=UYVY ! 
decklinkvideosink device-number=1 mode=1080p25`

I get

```

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.066954349 330572 0x55d1513f6c00 FIXME default 
gstutils.c:4025:gst_pad_create_stream_id_internal:<datasrc0:src> 
Creating random stream-id, consider implementing a deterministic way of 
creating a stream-id
Redistribute latency...
0:00:00.067288248 330572 0x55d1513f6c00 WARN datasrc 
src/datasrc/imp.rs:178:gstdataembed::datasrc::imp:<datasrc0> Created 
buffer with size 8294400
0:00:00.067313957 330572 0x55d1513f6c00 WARN basesrc 
gstbasesrc.c:3127:gst_base_src_loop:<datasrc0> error: Internal data 
stream error.
0:00:00.067317744 330572 0x55d1513f6c00 WARN basesrc 
gstbasesrc.c:3127:gst_base_src_loop:<datasrc0> error: streaming stopped, 
reason error (-5)
ERROR: from element /GstPipeline:pipeline0/DataSrc:datasrc0: Internal 
data stream error.
Additional debug info:
../gstreamer/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): 
/GstPipeline:pipeline0/DataSrc:datasrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

```


When I use `videotestsrc` (`GST_DEBUG=*:3 gst-launch-1.0 videotestsrc ! 
video/x-raw,framerate=25/1,width=1920,height=1080,format=UYVY ! 
decklinkvideosink device-number=1 mode=1080p25`) It works fine.


Maybe someone can point me in the right direction?


Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210917/fd3c6e0e/attachment.htm>


More information about the gstreamer-devel mailing list