Giter VIP home page Giter VIP logo

ndi-rs's Introduction

ndi-rs's People

Contributors

revilo196 avatar slerpyyy avatar sp4ghet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ndi-rs's Issues

create VideoData

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.

Feature: Mac Bindings

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.

SendBuilder does not create valid sender

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

Sending Audio

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.