Update Scanner AV Streaming on VM in Unraid
parent
ac89445500
commit
88860a8605
@ -18,9 +18,9 @@ This article will go through my setup for hosting a scanner A/V stream from an U
|
|||||||
|
|
||||||
### Set up the VM
|
### Set up the VM
|
||||||
1. Download Ubuntu Server ISO to UnRAID server
|
1. Download Ubuntu Server ISO to UnRAID server
|
||||||
2. Create an Ubuntu VM in UnRAID
|
2. Create an Ubuntu VM in UnRAID
|
||||||
-- Pass through a few CPU cores, at least to start with, this will make installation faster
|
-- Pass through 2-4 CPU cores for installation, can be scaled back later
|
||||||
-- Choose 2048-4096MB min ram, at least. Again can be scaled back after installation
|
-- Choose 2048-4096MB minimum RAM, at least.
|
||||||
-- 10GB vdisk should be enough, 20GB is what I used.
|
-- 10GB vdisk should be enough, 20GB is what I used.
|
||||||
-- Leave graphic card as is, you'll need VNC to complete the initial installation
|
-- Leave graphic card as is, you'll need VNC to complete the initial installation
|
||||||
-- Assign the sound card to the VM
|
-- Assign the sound card to the VM
|
||||||
@ -30,9 +30,9 @@ This article will go through my setup for hosting a scanner A/V stream from an U
|
|||||||
|
|
||||||
### Set up the Software Stack
|
### Set up the Software Stack
|
||||||
1. Run these commands
|
1. Run these commands
|
||||||
```
|
```sh
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo apt update && sudo apt upgrade -y
|
||||||
sudo apt install ffmpeg
|
sudo apt install ffmpeg -y
|
||||||
wget https://github.com/bluenviron/mediamtx/releases/download/v1.8.4/mediamtx_v1.8.4_linux_amd64.tar.gz
|
wget https://github.com/bluenviron/mediamtx/releases/download/v1.8.4/mediamtx_v1.8.4_linux_amd64.tar.gz
|
||||||
tar -xvf mediamtx_v1.8.4_linux_amd64.tar.gz
|
tar -xvf mediamtx_v1.8.4_linux_amd64.tar.gz
|
||||||
sudo mkdir /usr/local/share/mediamtx
|
sudo mkdir /usr/local/share/mediamtx
|
||||||
@ -40,7 +40,7 @@ sudo mv mediamtx /usr/local/bin/
|
|||||||
sudo mv mediamtx.yml /usr/local/share/mediamtx/
|
sudo mv mediamtx.yml /usr/local/share/mediamtx/
|
||||||
```
|
```
|
||||||
2. Edit mediamtx.yml and remove the `paths:` at the end, replacing with:
|
2. Edit mediamtx.yml and remove the `paths:` at the end, replacing with:
|
||||||
```
|
```yaml
|
||||||
paths:
|
paths:
|
||||||
scanner:
|
scanner:
|
||||||
source: publisher
|
source: publisher
|
||||||
|
Loading…
Reference in New Issue
Block a user