teltek / gst-plugin-ndi

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

Can't open some NDI Streams with audio even though the official NDI tools are able to open them. #118

Open LIWCKPP opened 9 months ago

LIWCKPP commented 9 months ago

While working with this I found that some NDI sources with audio were failing to open properly(testing opening audio only from NDI Sources).

I tried testing the basic functionality with:

# Audio/Video source pipeline
$ gst-launch-1.0 ndisrc ndi-name="REDACTED (My NDI source)" ! ndisrcdemux name=demux   demux.video ! queue ! videoconvert ! autovideosink  demux.audio ! queue ! audioconvert ! autoaudiosink

# Audio/Video sink pipeline
$ gst-launch-1.0 videotestsrc is-live=true ! video/x-raw,format=UYVY ! ndisinkcombiner name=combiner ! ndisink ndi-name="My NDI source"  audiotestsrc is-live=true ! combiner.audio

And it didn't seem to work either, even though I can use the Studio Monitor(official NDI App) to open the NDI Stream properly so it is at least generating it correctly but there may be some issues when we try to open it. I was able to open some other NDI sources so I was left wondering what made these special and why the plugin couldn't handle them.

Tested on Windows, GStreamer 1.22.2.