Wow, I'm on a roll The camera I was working on is now working just fine with the settings I originally had (even still have the stream type set to MJPEG).
Sorry it's kind of a useless thread for anyone else who may have the same issue in the future! Maybe it was just needing the pm2 restart?
May be your nodejs is too old.
If you you use Ubuntu 16.04, you can refer to
and use nvm to install it.
@hrf hey sorry for leaving you hanging. You can't install packages from Ubuntu on Debian? im not really familiar with Debian and only have had it working once or twice. Maybe you can add the Ubuntu repos to download the packages needed?
Hmm, something happened and the cpu usage is so low..
I have now added 2 more cameras.
3 x 1920x1080 Stream: HLS copy Recording: .mp4 copy Motion: Delete motionless video
Shift + i applied
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25824 lasse 20 0 983812 97516 30936 S 1.4 2.4 0:54.33 ffmpeg
25728 lasse 20 0 983132 92804 30824 S 1.1 2.3 0:40.99 ffmpeg
27980 lasse 20 0 983472 94040 30952 S 1.1 2.3 0:08.26 ffmpeg
1658 lasse 20 0 931512 53492 22548 S 0.1 1.3 0:11.04 PM2 v2.9.1+
1731 lasse 20 0 1250708 102488 23748 S 0.1 2.5 0:23.00 node /home+
22538 root 20 0 0 0 0 S 0.1 0.0 0:00.56 kworker/u2+
Hyper-V states 4 % cpu
What i have change recently:
After fresh install and 2-3 reboot, the shinobi dashboard could not load in browser.
pm2 list Showed Camera.js memory usage raised to 1.5gb and restarted over and over.
syslog showed that access to mysql was not gained with IP "192.168.XXX.XXX" same as eth0 static ip of the server on local network.
So i change the mysql user Majesticflame @ localhost --> any host and everything worked as normal.
I doubt this lowered my cpu usage, but i have no explanation for that.
Fixed, but official docs are not corrected. Followup here in Bug Report section. https://forum.shinobi.video/topic/100/recording-fps-width-height-not-present
For future readers of this thread, there was incorrect information in the OS X install docs, which has not been updated/fixed as of this writing. Currently (as of this reply), Step 4 - Download the Repo reports the following git code:
git clone https://github.com/moeiscool/shinobi Shinobi && cd Shinobi
However, the correct git command which has the proper build (Pro) is:
git clone https://github.com/ShinobiCCTV/Shinobi Shinobi
If you want the dev build, use -b dev:
git clone https://github.com/ShinobiCCTV/Shinobi Shinobi -b dev