sp4ghet / ndi-rs Goto Github PK
View Code? Open in Web Editor NEWNewTek NDI®bindings for rust
License: Other
NewTek NDI®bindings for rust
License: Other
Is there a way to create a VideoData with some image data input?
currently it is only possible to create an empty frame. Is this correct or am I not seeing something.
How can I send data when I'm not able to create a Video Frame?
Could also help implementing this, but I don't know where to start.
I want to use NDI to send some generated Visuals.
What all would be involved in adding support for Mac OS? Is there a limitation or compatibility issue, or just a matter of adding the SDK files, running the code gen, and detecting the correct OS bindings to use?
I might try to take a pass at it and see.
Using default Send creation works fine
let send = ndi::Send::new().expect("msg");
println!("{}", send.get_source().get_name());
Returns: MYCOMPUTER (send)
as expected
But when using SenderBuilder:
let send = ndi::SendBuilder::new().ndi_name("MyVideo".to_string()).clock_video(true).build().expect("Failed to create send");
println!("{}", send.get_source().get_name());
Returns MYCOMPUTER (�V��V)
and the Sender is not visible.
Looks like SenderBuilder.build() passes a ptr to a temporary cstr, that gets invalid before creattion
yes
I'm working on a project to send video and audio from decoded frames from ffmpeg,
I've got the video send working via the ndi::VideoData::from_buffer() method however I can't see the equivalent method on the AudioData struct, its setup for receiving audio.
Am I missing something or is that bit incomplete in this library?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.