StreaMonitor
StreaMonitor copied to clipboard
How do i add a NAS based Mount to config save all the videos?
I wanted to add an external NAS based mount point to configuration of StreaMonitor to save all the videos. I have enabled auto mount in the fstab.
Hi
To do so you need to change DOWNLOADS_FOLDER in parameters.py. Set it to the mountpoint of your network share.
But keep the following things in mind:
- You will have to test if you get clean files. It's not clear whether ffmpeg will produce working files on network shares. This will depend on the used technology (SMB, NFS, AFP...), the OS, the versions and the way how ffmpeg works with files. It's possible that the Filesystem check of StreaMonitor doesn't work.
- I would recommand using two different networks but at least two network adapters. StreaMonitor produces much data transfer. Dpending on your internet connection this can lead to much traffic also for your local network. Due to the fact that network filer technologys produce also heavy loads you can get load problems on your network. You can get around this by using two separate networks with two separate adapters.
- A better solution - actually not supported by stream monitor - would be moving stuff. So you would need to implement this by yourself. E.g. when files are not associated to a running ffmpeg process move them to the network share. This could be implemented by a python script which runs every hour by a cronjob. For the recording system use SSDs. HDDs are a really bad idea for a recording box (that's my experience).
Best Regards
Just download the latest release into the filesystem of that mount and start it. I have tested it with ext4 and xfs filesystem so make sure you format your nas disk with that filesystem. Or mount it using the nfs client