teltek / gst-plugin-ndi

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

NDI|HX2 #105

Open chrisiberg opened 2 years ago

chrisiberg commented 2 years ago

Has anybody luck with NDI|HX2 or is it not supported?

sdroege commented 2 years ago

That's working fine for me but maybe you need https://github.com/teltek/gst-plugin-ndi/pull/102

chrisiberg commented 2 years ago

Thanks a lot, now it plays more different sources of uncompressed NDI, but with NDI|HX2 i only see the "NDI Video decoder not found" screen. Is it possible to decode it with gst, can you please give me an example pipeline?

sdroege commented 1 year ago

Build the plugin with the advanced SDK (--features advanced-sdk) and then set color-format=compressed-v5-with-audio. Also make sure to have audio/video decoders in your pipeline.

The problem here is that the NDI SDK can't decode HX2 on Linux apparently, so you have to do decoding externally. On Windows (and probably macOS) it apparently supports decoding.

whitewater69 commented 1 year ago

Hey there, great plug in question on this topic. I have the advanced SDK running on linux and seems to be able to get an HX source with the following pipeline

gst-launch-1.0 ndisrc url-address="source address" ! ndisrcdemux name=demux demux.video ! queue ! videoconvert ! autovideosink

It seems like ndisrc finds a software decoder and decode the video but I would like to use hardware decoding and tried the follow pipeline but, while the pipeline seems to connect, it never seems to reach the play state.

gst-launch-1.0 ndisrc url-address="source ip" color-format=compressed-v5-with-audio ! ndisrcdemux name=demux demux.video ! queue ! h264parse ! nvv4l2decoder ! nvvidconv ! autovideosink

Any idea ?

Thanks !