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

NDI|HX2

Open chrisiberg opened this issue 2 years ago • 4 comments

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

chrisiberg avatar Jul 15 '22 20:07 chrisiberg

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

sdroege avatar Jul 18 '22 08:07 sdroege

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?

chrisiberg avatar Jul 25 '22 15:07 chrisiberg

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.

sdroege avatar Sep 07 '22 16:09 sdroege

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 !

whitewater69 avatar Aug 19 '23 14:08 whitewater69