From 03181984e1a216e20662c9500961542e0d06ac7f Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 14 Jul 2024 15:05:25 +0000 Subject: [PATCH] Update Scanner AV Streaming on VM in Unraid --- Scanner-AV-Streaming-on-VM-in-Unraid.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scanner-AV-Streaming-on-VM-in-Unraid.md b/Scanner-AV-Streaming-on-VM-in-Unraid.md index b30548c..f66cdff 100644 --- a/Scanner-AV-Streaming-on-VM-in-Unraid.md +++ b/Scanner-AV-Streaming-on-VM-in-Unraid.md @@ -10,13 +10,13 @@ This article will go through my setup for hosting a scanner A/V stream from an U * Logitech C90 webcam # Guide -## Assign devices to VM +### Assign devices to VM (This is only necessary if your sound card is PCI-connected) 1. In UnRAID go to Tools -> System Devices 2. Check the box(ex) for the IOMMU group(s) for your audio card 3. Reboot the server -## Set up the VM +### Set up the VM 1. Download Ubuntu Server ISO to UnRAID server 2. Create an Ubuntu VM in UnRAID * Pass through a few CPU cores, at least to start with, this will make installation faster @@ -28,7 +28,7 @@ This article will go through my setup for hosting a scanner A/V stream from an U 3. Start up the VM and proceed through installation of Ubuntu Server 4. (Optional) Shutdown the VM and adjust the specs back to minimal (1G RAM, 1-2CPU cores) -## Set up the Software Stack +### Set up the Software Stack 1. Run these commands ``` sudo apt update && sudo apt upgrade -y @@ -48,7 +48,7 @@ paths: ``` 3. Run it with `mediamtx /usr/local/share/mediamtx/mediamtx.yml` and test, adjusting configuration as needed. -## Daemonize the Stream +### Daemonize the Stream 1. Create a service file: `sudo nano /etc/systemd/system/mediamtx.service` 2. Place the following in the file: ```ini @@ -72,7 +72,7 @@ WantedBy=multi-user.target 6. Check on the status: `sudo service mediamtx status` 7. Get more log info: `journalctl -u mediamtx` -## [Coming Soon] Accessing the Stream +### [Coming Soon] Accessing the Stream # `mediamtx` and `ffmpeg` Configuration Information ### Paths Section: