Update Scanner AV Streaming on VM in Unraid

Skylar Grant 2024-07-14 15:05:25 +00:00
parent 4d232537e5
commit 03181984e1
1 changed files with 5 additions and 5 deletions

@ -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: