gst-plugin-ndi icon indicating copy to clipboard operation
gst-plugin-ndi copied to clipboard

NDI to SRT

Open keith8496 opened this issue 1 year ago • 0 comments

I am trying to transcode an NDI stream to a lower bitrate and into a different protocol like SRT. I will also be experimenting with WebRTC in the near-future.

This command starts the stream. I can see the counters running in GStreamer and VLC, but I get no video in VLC. Any ideas?

gst-launch-1.0 ndisrc ndi-name="BIRDDOG (ATEM Multiview)" ! ndisrcdemux name=demux
demux.video ! queue ! videoconvert ! x264enc bitrate=2000 tune=zerolatency speed-preset=veryfast ! video/x-h264, profile=main ! h264parse ! mpegtsmux name=mux
demux.audio ! queue ! audioconvert ! voaacenc ! aacparse ! mux.
mux. ! srtsink uri=srt://:8888

I am new to GStreamer. I have been using it for all of three days. I'm on version 1.18. I have experience with NDI, transcoding, ffmpeg, OBS and those sorts of things. I'm trying to transcode from a high bitrate NDI stream to a lower bitrate (compressed) SRT stream. I will also be experimenting with WebRTC. I have a working command that converts NDI to RTMP, but I want to learn some of the other protocols.

keith8496 avatar Sep 18 '23 01:09 keith8496