Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate sink pipeline NDI|HX #95

Open
SamiDiab opened this issue Mar 14, 2022 · 3 comments
Open

Generate sink pipeline NDI|HX #95

SamiDiab opened this issue Mar 14, 2022 · 3 comments

Comments

@SamiDiab
Copy link

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 ?

@sdroege
Copy link
Contributor

sdroege commented Mar 14, 2022

Currently only the source element supports compressed formats.

@SamiDiab
Copy link
Author

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.

@sdroege
Copy link
Contributor

sdroege commented Mar 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants