GitHub - Happyrobot33/HNode: Open source Artnet DMX to video grid node renderer, built in unity 6, created for maximum data standard flexibility (original) (raw)

pixelated H as HNode logo

Open source Artnet DMX to video grid node renderer, built in unity 6, created for maximum data standard flexibility

Features

Install

Get recent version of HNode in releases tab

Usage

There are a few ways you can use HNode to run lights in world:

HNode with OBS

Setting up HNode to work with OBS Studio

OBS Studio is a free-to-use software avaliable at GitHub or Steam.

  1. You have to get plugin Spout2 for OBS
  2. Add Spout2 Capture source
  3. Set field SpoutSenders to HNode Output or the one you set in HNode application
  4. Set Composite mode to Default to allow transparancy from HNode
    • Also you can (but not required):
      * hold LeftAlt and Left Mouse Button to crop unused part of Spout2 Capture, just don't over do it.
      * Also you can Right Click on it Transform > Edit and set Crop values from there.

So now we have HNode that outputs texture into OBS, but how do we put this into VRC World or similar?

There are a few ways to do this:

For an local-test example we'll go with MediaMTX

  1. Get latest binary for your system from MediaMTX releases
  2. Extract it in empty folder, run main file (on Windows it's mediamtx.exe)
  3. Go to your OBS Studio settings > Stream
  4. Set Service to Custom, Server: rtmp://localhost/
  1. Go to Output > Streaming
  2. Set things below:
    1. Streaming Settings:
      1. Audio Encoder: FFmpeg AAC
      2. Video Encoder: For NVIDIA: NVIDIA NVENC H.264. (This is mostly depends on how good your hardware is, with great CPU you can go with x264)
      3. Rescale Output: Disabled
    2. Encoder Settings:
      1. Rate Control: Constant Bitrate
      2. Bitrate 5000 Kbps or above for crazy visuals
      • only if you use Binary or Ternary gridnode, otherwise it is mostly not useful
      • And don't set it too low or too high or you'll experience issues like high stream delay, low FPS etc.
      1. Keyframe interval: 1s
      2. Preset: Slow (Good Quality)
      • You can set it higher if your hardware is way too good but not recomended in most cases
      1. Tuning: High Quality
      • You can try Ultra low latency but there's no guarantee that it'll be actually low latency since it may give you issues.
      1. Multipass Mode: Two Passes (Quarter Resolution)
      2. Profile: high
      3. Look-ahead: Off
      4. Adaptive Quantization (or Psycho-Visual Tuning): Off
      5. B-Frames: 2
  3. Go to Output > Audio
  4. Set on each track Audio Bitrate to 320
  1. Go to Audio
  2. Set things below:
  1. Go to Video and set things below:
  1. Go to Advanced and set things below:

This should be good to go, Apply your settings and try Start Streaming. Go to your world and put in video player url rtspt://localhost:8554/(anything you put in Stream key/Server)

HNode with MIDIDMX

VRC-MIDIDMX

Troubleshooting

  1. I don't have any options in Spout2 Capture SpoutSenders
  1. Lights don't do anything when I run sequences in Lighting console
  1. I have lights run in Lighting console but not in HNode

LICENSES

HNode

VRC-MIDIDMX

KlakSpout

DryWetMIDI

CrcSharp

YamlDotNet

Graphy