r_e_c_u_r icon indicating copy to clipboard operation
r_e_c_u_r copied to clipboard

Feature Request: NDI Support

Open teafella opened this issue 4 years ago • 9 comments

It would be great to be able to feed recur NDI

This would eliminate the need for a capture card when trying to get video out of your computer (or other pis) into recur.

It would also enable you to feed recur further into a VJ setup using Resolume.

Would this be difficult to do?

teafella avatar Oct 18 '19 19:10 teafella

i thought about this too. there is not much info online about ndi on rpi's , i think it is only recently even compatible with ARMs. if possible it would be through the openframeworks extension ofxNDI , this thread sounds promising - although only sending not receiving , maybe possible in the near future ? https://github.com/leadedge/ofxNDI/issues/4

cyberboy666 avatar Oct 18 '19 20:10 cyberboy666

https://forums.newtek.com/showthread.php/151197-NDI-for-arm-devices

cyberboy666 avatar Oct 18 '19 20:10 cyberboy666

I have a C++ class for sending NDI if you are interested, I'm not sure how easy it is to include in the python codebase though. NDI has a specific shared binary for rpi at /lib/ndi/arm-rpi3-linux-gnueabihf/ on the linux lib

Idk how this works with ofx since ive never used it. From what I understand its C++ based so it should be possible.

I haven't spent time properly testing the receiving code yet but it seems to be working based on the test code in the library.

teafella avatar Oct 18 '19 20:10 teafella

cool ! that sounds promising , the r_e_c_u_r backend is based in openframeworks, which yeah is just libraries around C++ , so it should be possible. i will have to look into this and have a play around. im not much of a C++ dev though so lets see. if you get receiving code working in C++ i would be keen to have alook

cyberboy666 avatar Oct 21 '19 14:10 cyberboy666

Sienna said they can do it: https://twitter.com/NDI_Cloud/status/1145754510343778314?s=19 but nothing to find. Asked the support and they said "no known release date...."

also tried this: https://github.com/johanels/raspberrypi-FFmpegNDI But only sending works..

magdesign avatar Oct 24 '19 23:10 magdesign

I tried implementing a receive on the PI and I am only able to receive audio at the moment, which leads me to believe the SDK doesn't support video, I am contacting ndi via email to see whats up since a new version of NDI was just released.

From what I gather from the forums, the issue is lack of ndi codec for arm based processors.

Re Sienna: Their iPad app (ipad is arm based) also seems to receive NDI, though its very laggy and freezes after like 5 min. I'm not sure how they where able to hack this together...

teafella avatar Nov 21 '19 21:11 teafella

Reply from NDI support: "At the current time we do not have an optimized version of the ARM decoder. This is something we would like vey much to do but it takes quite a bit of time and it is not something that we currently have our own need for and so we need to always find a way to fit this work between other tasks. If there are any parties that want to work with us on an optimized version of the codec we'd be happy to help them contribute to this, it would typically require knowledge of ARM assembly.

Andrew"

Anyone good at ARM assembly over here? lol

teafella avatar Nov 21 '19 22:11 teafella

I think this guys would be able to write the code: https://github.com/z37soft/INetSyphon_RaspberryPi_SDK http://www.techlife.sg/

magdesign avatar Nov 21 '19 22:11 magdesign

Thanks for the update ! Def would be keen to intergrate this once it is supported; a bit out of my depth to help with that but will keep an eye on the progress :) , please let me know if you hear more !

On Thu 21. Nov 2019 at 23:30, magdesign [email protected] wrote:

I think this guys would be able to write the code: https://github.com/z37soft/INetSyphon_RaspberryPi_SDK http://www.techlife.sg/

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/langolierz/r_e_c_u_r/issues/91?email_source=notifications&email_token=AC3WCEQZ2JARFING6RDVIVLQU4DWTA5CNFSM4JCLVLTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE34AAY#issuecomment-557301763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3WCEQ2CFWN5UIVMXN5OVLQU4DWTANCNFSM4JCLVLTA .

cyberboy666 avatar Nov 22 '19 19:11 cyberboy666