1.0.0 • Published 3 years ago

@ndi.js/cli v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Example CLI for Node NDI

Setup

To install globally, run:

npm install -g @ndi.js/cli

Usage

To see the options, run:

./ndi.ts

Random Source

Sends a random video/audio source:

./ndi.ts random
OptionDescriptionDefault
videoSend video signaltrue
widthWidth of video signal1920
heightHeight of video signal1080
framesFrames per second60
audioSend audio signaltrue
channelsChannels on audio signal2
sampleRateSample rate of audio signal48000

V4L2 Source

Sends a V4L2 only-video source

./ndi.ts v4l2 /dev/videoN