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

Generate sink pipeline NDI|HX

Open SamiDiab opened this issue 2 years ago • 3 comments

Hi guys,

I am trying to generate a sink pipeline similar to the example provided in the Guide:

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

But I am trying to generate an NDI|HX sink, to do so I have to include the x264enc but the ndisinkcombiner and the ndisink only take video/x-raw format, how can I use this example to generate NDI|HX sink? is this possible at all ?

SamiDiab avatar Mar 14 '22 09:03 SamiDiab

Currently only the source element supports compressed formats.

sdroege avatar Mar 14 '22 09:03 sdroege

Thank you for your reply. is there any way we could detect if the NDI source is a compressed format or not ? I have tested on both without any luck to differentiate between them.

SamiDiab avatar Mar 14 '22 10:03 SamiDiab

All NDI sources are compressed but unless you use the Advanced SDK and opt-in to get compressed streams on the source element, it will be decoded internally and you get raw data out of the source.

sdroege avatar Mar 14 '22 10:03 sdroege