Skip to content

About

A simple Chromium browser wrapper to NDI source.

Resources

Stars

51 stars

Watchers

6 watching

Forks

Repository files navigation

Tractus HTML to NDI Utility

A simple wrapper around CEFSharp and NDI Wrapper for .NET. Sends HTML pages to NDI, including audio if playback on the page is supported.

Grab the latest ZIP file from the releases page.

Usage

Launch as-is for a 1920x1080 browser instance. The app will ask you for a source name if one is not provided on the command line.

If the web page you are loading has a transparent background, NDI will honor that transparency.

Command Line Parameters

Parameter Description
--ndiname="NDI Source Name" The source name this browser instance will send. Defaults to "HTML5".
--width=1920 The width of the browser source. Defaults to 1920.
--width=1080 The height of the browser source. Defaults to 1080.
--port=9999 The port the HTTP server will listen on. Defaults to 9999.
--url="https://www.tractus.ca" The startup webpage. Defaults to https://testpattern.tractusevents.com/.

Example Launch

.\Tractus.HtmlToNdi.exe --ndiname="HTML 5 Test" --w=1080 --h=1080 --url="https://testpattern.tractusevents.com"

API Routes

Route Method Description Example
/seturl POST Sets the URL for this instance. {"url": "https://www.google.ca"}

Known Limitations

  • Frames are sent to NDI in RGBA format. Some machines may experience a slight performance penalty.
  • H.264 and any other non-free codecs are not available for video playback since this uses Chromium. Sites like YouTube likely won't work.
  • Audio data received from the browser is passed to NDI directly.
  • NDI frame rate is set to 60 frames per second. The internal max render frame rate is set to be capped at 60 frames per second.

More Tools

We have more tools available at our website, tractusevents.com.

About

A simple Chromium browser wrapper to NDI source.

Resources

Stars

51 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages