How send rtp_forward packets to decklink

91 views
Skip to first unread message

ramon .Gaba

unread,
Feb 24, 2023, 1:55:03 PM2/24/23
to meetecho-janus
Hi, I'm trying to play rtp packets from the videoroom plugin to a blackmagic decklink.
After hundreds of tests I get no errors in gstreamer but at the output of the blackmagic I get a black signal.

If I capture the same rtp stream to disk in mkv format the recording is perfect.

Does anyone know how to play rtp_forward from a videoroom to a decklink?

### To mkv work perfect.
gst-launch-1.0 -v -e \
matroskamux name=mux streamable=1 ! filesink location=rtpdump.mkv \
rtpbin name=rtpbin latency=100 \
udpsrc port=5002 caps="application/x-rtp, media=audio, payload=(int)111, encoding-name=OPUS, clock-rate=48000" ! rtpbin.recv_rtp_sink_0 \
udpsrc port=5004 caps="application/x-rtp, media=video, payload=(int)96, encoding-name=VP8, clock-rate=90000" ! rtpbin.recv_rtp_sink_1 \
rtpbin. ! rtpopusdepay ! mux.audio_0 \
rtpbin. ! rtpvp8depay ! mux.video_0


### To blackmagic decklink I get a black screen.
gst-launch-1.0 -v -e \
rtpbin name=rtpbin latency=100 \
udpsrc port=5002 caps="application/x-rtp, media=audio, payload=(int)111, encoding-name=OPUS, clock-rate=48000" ! rtpbin.recv_rtp_sink_0 \
udpsrc port=5004 caps="application/x-rtp, media=video, payload=(int)96, encoding-name=VP8, clock-rate=90000" ! rtpbin.recv_rtp_sink_1 \
rtpbin. ! rtpopusdepay ! queue ! opusdec ! decklinkaudiosink device-number=5 \
rtpbin. ! rtpvp8depay ! queue ! vp8dec ! videoconvert ! video/x-raw,format=UYVY,width=1920,height=1080 ! decklinkvideosink device-number=5 mode=11

With ffmpeg I get hight latency and audio out of sync.

Thanks,
Reply all
Reply to author
Forward
0 new messages