I found a temporary workaround. I copied my stop command to the center control URL. Now, I can send the camera up/down/left/right then press the center button to stop it. I'm sure that the stop timeout works but I must not have something set right to activate it after the timeout. Any ideas?
@jason_r The clue was not being able to install canvas and it complaining about missing headers for opencv even though I had all the dev packages installed. What was particularly annoying was that the meter in the UI was moving, but recordings were still not happening.
Separately, I also had the problem of recording being deleted on a restart. This is a bug caused by using sqlite3. The code that checks for video on disk versus DB assumes MariaDB/MySQL. I switched to MySQL to fix that one.
Try without mounting mysql logs and connect to mysql via networking.
The image you are using installs the default ffmpeg from ubuntu LTS repo, have a look if they have built ffmpeg with --enable-vaapi , otherwise you may have to build your own ffmpeg and depending on other factors you may lose or not your changes on docker shoutdowns or restarts.
Then I believe you should map as --device /dev/dri:/dev/dri.
I'm looking into shinobi and haven't install it yet, moreover my synology is so old that it doesn't even support dockers... grab my words with tweezers.
I figured out my other issues as well. As it turns out, CentOS apparently installs an old version of Node (6.14 my my case) if you just do: yum install nodejs.
To fix it, I did this:
sudo yum remove nodesource-release* nodejs
sudo yum clean all
sudo rm -rf /var/cache/yum/*
sudo rm /etc/yum.repos.d/nodesource-el.repo
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
sudo yum install nodejs
Bam, 8.11.4 version installed and motion detection is working again.
Note: V10 does NOT work. Only v8 seems to work. I was able to stream with 10, but the little motion detector bar never appears and recordings never start.