Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] OBS-NDI (QT6)

Featured Replies

This is the support page for the updated version of OBS-NDI.

 

Big thanks go to patrickstigler on whom this container is based on.

 

https://hub.docker.com/r/asparon/obs-ndi

 

Docker OBS and NDI (QT6)

This container is based on https://hub.docker.com/r/patrickstigler/obs-ndi. Due to some QT-changes in the OBS code the initial version by patrick needed some changes.

To start the container:

docker run --shm-size=256m -it -e VNC_PASSWD=headless -p 5901:5901 -p 6901:6901 -p 4455:4455 asparon/obs-ndi:latest

The shm-size argument is to make sure that the webclient does not run out of shared memory and crash.

 

You have to change the "Network Type" to "Custom: br0" in order to be able to find the NDI-Source of your desktop in the container an vice versa.

 

You can change the default VNC password of 'headless'.

 

You can connect with your own VNC client via 5901 or use the webclient at 6901.

To enable GPU Support:

Nvidia:

add -e NVIDIA_VISIBLE_DEVICES=your_GPU_ID -e NVIDIA_DRIVER_CAPABILITIES=all and also add --runtime=nvidia as extra parameter.

Intel:

add --device=/dev/dri (not tested yet)

I can verify this docker works while the older one has not worked for some time. Thank you! I added the extra parameter for Intel QuickSync but did not see it as an encoding option with a cursory glance. I have to dig into this more, though.

I was able to get Quicksync (ffmpeg VAAPI h264) working after installing the intel media driver:

 

apt install intel-media-va-driver-non-free
  • 3 weeks later...

Hey hey, been slowly migrating a second PC over the unraid, finally got everything moved over and set up. Got OBS-NDI to replace the PC that I took down and been dealing with a weird issue.
When an NDI Source isn't running, CPU idles around 3-10%, but the minute I make an NDI source visible (whether I use NDI screen cap, or NDI from my gaming machine) my CPU immediately jumps up to 70-80% and I'm not exactly sure why. 
I passed through my 2080 Super to handle the encoding, but I'm not sure if it's accurately being used or not.

Specs 
CPU: AMD Ryzen 7 2700X Eight-Core

RAM: 16 GiB DDR4 Ballistix something or other
GPU: NVIDIA GeForce RTX 2080 SUPER

I did a small test stream, it hits around 50FPS but I'm wanting to get 60 and it should be fine.

My gaming PC and Unraid are connected via an ethernet hub and I'm not sure what other info might be helpful here.

  • 4 weeks later...

Hello , Thank you for the docker,

I probably missed something...

I downloaded the docker and started it

When vnc into docker I only see a desktop and no obs program....

What am I missing?

 

Than you for any help.

 

  • 4 weeks later...

I'm trying to use this and for whatever reason its setting the IP as 10.0.0.2 when my server is 10.0.0.200. When I set it manually to say 10.0.0.202 I'm able to connect. Also, is there any way to update the OBS version used in this? We are up to 30.0.0.2 now.

Edited by Jed05

On 9/26/2023 at 1:42 PM, Asparon said:

This is the support page for the updated version of OBS-NDI.

 

Big thanks go to patrickstigler on whom this container is based on.

 

https://hub.docker.com/r/asparon/obs-ndi

 

Docker OBS and NDI (QT6)

This container is based on https://hub.docker.com/r/patrickstigler/obs-ndi. Due to some QT-changes in the OBS code the initial version by patrick needed some changes.

To start the container:

docker run --shm-size=256m -it -e VNC_PASSWD=headless -p 5901:5901 -p 6901:6901 -p 4455:4455 asparon/obs-ndi:latest

The shm-size argument is to make sure that the webclient does not run out of shared memory and crash.

 

You have to change the "Network Type" to "Custom: br0" in order to be able to find the NDI-Source of your desktop in the container an vice versa.

 

You can change the default VNC password of 'headless'.

 

You can connect with your own VNC client via 5901 or use the webclient at 6901.

To enable GPU Support:

Nvidia:

add -e NVIDIA_VISIBLE_DEVICES=your_GPU_ID -e NVIDIA_DRIVER_CAPABILITIES=all and also add --runtime=nvidia as extra parameter.

Intel:

add --device=/dev/dri (not tested yet)

Hello

could you add 1440p support pls in config 

regards,

 

 

  • 3 weeks later...

I am able to find my output in the drop down but there is no picture arriving on the container side. Am I missing something?

 

//E: It seems like a firewall thing. As long as the firewall is disabled it works. Does anyone know the port I have to open (because there is no NDI related executables as they are just dlls).

//E2: nvm - added the OBS Studio app on the allow list and it is fixed

Edited by Evidenz

  • 3 weeks later...

I'm also getting high CPU usage when using this docker container. Adding an NDI source jumps my CPU usage to 80% on a Ryzen 7 3700X. GPU is attached and working when locally recording. 

Thanks for the template! I'm using it as a playout server.

 

I added an auto start so in the event the container is updated/server restarts it will resume the stream on startup.

Add a file map to /home/headless/.config/autostart/ and place an app.desktop file in the mapped autostart folder with the following to trigger Xfce to start OBS:

[Desktop Entry]
Type=Application
Name=conky
Exec=obs &
StartupNotify=false
Terminal=false

 

This is coupled with an OBS LUA script I wrote that auto starts streaming and sequences media playback.

Edited by firetime

  • 2 months later...

@Asparon

Hello - thanks for this container.  Couple questions.

1) when I try to authenticate via youtube it displays an error input/output error likely related to the container's web browser.  I get the same thing when attempting to use the web browser in the container.
image.png.2be2d0d2f22492a5dfff99afffd40996.png

2) I think this is related to 1 but I don't see manage broadcasts

Thanks!

Edited by repomanz

  • 3 months later...

Hello, just got OBS-NDI to try, but it is impossible to use actually.

When NDI source is added it eats exactly as for other people that told about this problem - 70-80% of cpu usage, I can't reach 60fps at 1080p, max I can get is ~45fps.
I see that my gpu is getting used, but only when streaming, I never thought that it could be so demanding for cpu unfortunately. 

Specs 
CPU: AMD Ryzen 5 3600

RAM: 32gb 3200
GPU: NVIDIA GeForce GTX 1060

  • 2 months later...

Is there a way (environment variable or config setting) to change the port which the VNC server uses? Not the NoVNC client, specifically the actual VNC protocol port. 5901 often clashes with Unraid VMs which autostart to 5900 + 1 * however many VMs on VNC there are, which when they are running then prevent this container from starting. I can't just bind mount to another port because this container needs to run on network: host in order to detect NDI outputs on the actual (not internal Docker) network via mDNS.

  • 1 year later...

Did you ever figure this out? I'm running into the same issue.

On 4/3/2024 at 1:03 PM, repomanz said:

@Asparon

Hello - thanks for this container.  Couple questions.

1) when I try to authenticate via youtube it displays an error input/output error likely related to the container's web browser.  I get the same thing when attempting to use the web browser in the container.
image.png.2be2d0d2f22492a5dfff99afffd40996.png

2) I think this is related to 1 but I don't see manage broadcasts

Thanks!

  • 4 weeks later...
On 4/4/2024 at 2:03 AM, repomanz said:

@Asparon

Hello - thanks for this container.  Couple questions.

1) when I try to authenticate via youtube it displays an error input/output error likely related to the container's web browser.  I get the same thing when attempting to use the web browser in the container.
image.png.2be2d0d2f22492a5dfff99afffd40996.png

2) I think this is related to 1 but I don't see manage broadcasts

Thanks!

i'm getting this issue as well (on the Asparon version). any help is much appreciated!

im unable to install patrickstigler's version despite deleting the 2 nvidia variables.

  • 4 months later...

I know this is pretty old now but looks like it should still work.

However, I can't seem to get it to see my Intel QuickSync.

I've tried three repositories, I've tried the /dev/dri thing, the /dev/dri/renderD128 thing, the adding --device=/ev/dri to extra parameters thing, the going into console and using apt install intel-media-va-driver-non-free, and adding UMASK 000

Whatever I do, encoder only shows Software.

Am I missing anything?

I just wanna use OBS directly on my Unraid server to stream movies on the server itself to Owncast which is also on the server without having to spinup a VM everytime.


Edited by DevanteWeary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.