teltek / gst-plugin-ndi

GStreamer NDI Plugin for Linux
GNU Lesser General Public License v2.1
154 stars 27 forks source link

I want to send NDI streams to AWS kinesis video streams(kvs). #100

Open mktid opened 2 years ago

mktid commented 2 years ago

As a result of using this plugin, I was able to receive and display NDI streams, but what are the launch commands for streaming NDI streams to AWS kinesis video streams(kvs)? I'm imagining that the link between ndisrc and kvssink isn't working because all the installations are working fine and sending from the webcam that came with my PC to kvs is fine. The code I entered is below, this code raises an error. This code sends only video, but in the end I want to multiplex audio as well. Please tell me what I will fix.

gst-launch-1.0 ndisrc ndi-name="xxx" ! ndisrcdemux name=demux demux.video ! queue ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name="test" storage-size=512 access-key="yyy" secret-key="zzz" aws-region="ap-aaa-1"

The error code is also written below.

ERROR: from element /GstPipeline:pipeline0/NdiSrc:ndisrc0: Internal data stream error. ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/NdiSrc:ndisrc0: streaming stopped, reason not-linked (-1)

sdroege commented 2 years ago

You'll probably have to connect the audio pad of the demuxer to something too, that's probably the underlying problem here but hard to say without debug logs.