teltek / gst-plugin-ndi

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

NDI to SRT #115

Open keith8496 opened 11 months ago

keith8496 commented 11 months ago

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.