Hi, I'm Rick 👋

Fixer - Engineer - Coder

Rick Timmis

Hi, I'm Rick 👋

Fixer - Engineer - Coder

Zero-Lag NDI Streaming: Send OBS Video from Linux Host to Windows VM Over Host-Only Network

host-only-networking.jpg

Introduction

If you’re streaming or recording from a Linux machine (like Kubuntu) using OBS Studio, but want to offload encoding, effects, or streaming to a Windows setup—all while keeping latency ultra-low—you don’t need WiFi, capture cards, or expensive hardware.

Enter NDI® (Network Device Interface) combined with a VirtualBox host-only network. This setup creates a private, wired-like connection between your Linux host and Windows virtual machine. Video travels over a dedicated virtual Ethernet link with typically 30ms or less latency, full quality, and no interference from your home network or neighbors.

It’s secure, isolated, and blazing fast—perfect for multi-PC streaming workflows. Bonus: your CPU load drops because the heavy lifting can move to the VM. Setup takes about 10-15 minutes.

Understanding the Setup

This works great for gaming streams (capture on Linux host, encode/stream from powerful Windows VM) or complex productions.

Prerequisites:

Implementation: Step-by-Step Guide

1. Create the Host-Only Network on Linux Host

Open VirtualBox → FileHost Network Manager (or Preferences → Network on older versions).

To bring the interface up (if needed):

sudo ip addr add 192.168.56.1/24 dev vboxnetX  # Replace X with the number (e.g., vboxnet0)
sudo ip link set vboxnetX up

(You can find the interface name in Host Network Manager.)

2. Configure the Windows VM Network

Inside Windows:

Test connectivity: From Windows CMD, ping 192.168.56.1. From Linux terminal, ping 192.168.56.2.

3. Enable NDI Output on Linux OBS (Host)

Your program feed is now broadcasting over NDI.

4. Add NDI Source in Windows OBS (VM)

Expect 30ms or less delay, buttery smooth even with audio (dogs barking included). Monitor CPU usage—you’ll likely see a nice drop on the host.

Troubleshooting Tips:

Further Reading

This setup turns your Linux host + Windows VM into a pro-grade, lag-free production pipeline. No more WiFi excuses—go wired (virtually) and watch your streams shine!