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

Sender Example? #4

Open
ThomasLengeling opened this issue Jun 26, 2024 · 3 comments
Open

Sender Example? #4

ThomasLengeling opened this issue Jun 26, 2024 · 3 comments

Comments

@ThomasLengeling
Copy link

Hi!, very nice library the viewer example works very fast!,

I'm wondering if you have an example on how to send NDI, that would very helpful

Many Thanks
Thomas

@nocarryr
Copy link
Owner

Thanks for your interest!

It's been difficult to find an easy example for sending video. Mostly because colorspace conversion, chroma subsampling and planar packing of the various video formats is a very very deep rabbit hole (not to mention CPU-intensive for python/cython)

A while back I was working on some examples using ffmpeg since it already has very efficient pixel format conversion. Here's a gist with a sender and a player, both with click cli's.

Note though, that it's using pipes to get the raw data from/to ffmpeg, so it'll only work in Linux and macOS (which is why I never added it to this repository)

@nocarryr
Copy link
Owner

@ThomasLengeling here's another example found in the wild:
https://gist.github.com/royshil/2abf89b8d12072cdd793ddda2b73c497

@ThomasLengeling
Copy link
Author

Thank you very much!, I'll try these examples!

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