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
If i am not mistaken Nestcams are p2p cameras. You can't access them without Nest servers. The worst part is the hardware CAN do this for you. It is a software limitation. Perhaps there is some way to modify the software on the camera? Like some custom firmware?
I remember looking for one a long time ago but i never found one... but that was 3 years ago and these cameras seem to still be very popular. Someone may have cracked it by now.
The ONVIF discovery is based on this https://github.com/futomi/node-onvif ... I have noticed some of my cameras do not appear in the list but others do. I am not sure what causes it to not get something vs get something. I assume its doing basic ONVIF calls to ensure the device is usable and during the scan of your cameras it didn't pass this validation.
Frankly It baffles me and I would like a way to fix it.. just don't know how yet.. sorry I am not more help.
Can Shinobi handle 64 cameras at 1080 @ 20 fps on the old DVR Box? Or even the Mac minis?
Currently the only way i can see Shinobi replacing your current system is if you can make use of the GPU. Simply put, you have a lot of cameras with a high FPS... following I'll assume a high bitrate to maintain quality. I have exposed some options to do that but I have yet to successfully achieve hardware acceleration with a chip that is not from NVIDIA...
Let's assume you get the configuration for hardware acceleration all working and you are using RTSP/H.264 cameras. The mac mini might be pushing your luck if it doesn't have at least 4GB RAM and a decent GPU. Lots of older mac minis sport an NVIDIA Geforce. If yours does it would make things really easy.
If the mac mini doesn't have the min specs mentioned above the i7 would be a better choice.
In either case installing Ubuntu would be the best for Shinobi. Mainly because it is the most supported OS for Shinobi and runs with the least trouble.
And since we are a school I don't have a huge budget at all.
No worries Shinobi Pro is free for schools! That includes elementary schools, special needs programs, and universities
I'm glad you like it Contributions of any kind are all helpful! Posting code, bugs, and helping out in the community chat and forum
Yes, can set it to 0 and it will keep trying forever. Newer versions of Shinobi will state that.. sorry
I hope you enjoy your stay, cheers!
sorry for the late repsonse.
currently Shinobi does not have this ability.. as the event (trigger) would be recorded for the actual time. Not the time of the video.
although if it did have this ability reading at 2x would not be an issue. You can still mark the event for when it happened in the video. Just add the elapsed time to the start time of the video and bam you have an event at the correct time.
If i were to estimate the time it would take to add such a feature it may be around 4 - 6 weeks... but currently i don't know when i'll be available to even start researching ways to achieve this. If you would like to try adding the feature yourself then you can post here with questions
camera.js is technically the only process you need to start, cron isn't needed unless you use filters or have videos getting older sooner than your storage maxing.
pm2 stop camera.js && pm2 start camera.js
inside the shinobi folder. is how you stop and start.
The one that worked can you post the settings for that here please.
Looks like your connection to Shinobi Forum was lost, please wait while we try to reconnect.