Commit Graph

56 Commits (29cd083f0f09e823e323d3ed14d48eb4fd98010d)

Author SHA1 Message Date
Moe 5e51c6694c fix stray fps 2020-05-13 22:43:18 -07:00
Moe 0c3e611a39 fix mapping in detactor output 2020-05-13 20:14:06 -07:00
Moe 91bd1f3b5e Fix High CPU Usage with JPEG API and Timelapse 2020-05-13 17:38:56 -07:00
Moe f5c3467ea7 properly expose some object detection options 2020-05-13 15:32:53 -07:00
Moe a993130f4b Fix "Send Frames" for Object Detector 2020-05-13 14:30:50 -07:00
Moe 9c566644a1 Convert to Packagable Syntax 2020-05-09 17:27:44 -07:00
Moe 5dbeb8c5e5 Add Wallclock Timestamp toggle in Monitor Settings 2020-05-02 13:25:38 -07:00
Moe 1502d0a200 Allow disabling Wallclock Timestamps with conf.json parameter
- add `"wallClockTimestampAsDefault":false` to disable it.
2020-04-19 07:56:56 -07:00
Moe 9cd9446800 move segment file creation to separate pipe 2020-04-05 16:00:32 -07:00
Moe 426ce3a663 make use_wallclock_as_timestamps only apply to h264 input by default 2020-01-18 11:48:54 -08:00
Moe c287a9953c Fix dropInEvents deletion pointer
+ add Dashcam notice in Help window
+ remove system log whenever a monitor process thread starts (original ones still exist)
2020-01-03 17:10:36 -08:00
Moe 4959ade2c2 wallclock fix for strangely long, single frame videos 2019-12-23 12:23:41 -08:00
Moe 712c2a0419 light cleanup, still broken
still blacks on monitor restart with pipe 3 enabeld
2019-12-11 13:23:01 +06:00
Moe 3531e006f1 Update ffmpeg.js 2019-12-08 14:01:33 +06:00
Moe 891294281d Monitor black on start fix 2019-12-08 14:00:56 +06:00
Moe 2e03111043 Fix Steam Handler Memory Leak
+ minor function name cleanup, remove some globals
2019-12-07 10:09:09 +06:00
Moe 577190c657 disable loggers in added threads, need better solution 2019-12-05 18:38:52 +06:00
Moe eca9fca2e4 fix missing mainDirectory var 2019-12-05 18:31:19 +06:00
Moe f18a4ed4fc put snapshot/icon creation in separate thread 2019-12-05 18:23:46 +06:00
Moe da53108ba9 Multi Threaded Camera Spawn (Alpha) 2019-12-05 13:25:13 +06:00
Moe 0c4fdd0811 fix ffmpeg crashing on record 2019-10-27 14:52:04 -07:00
Moe d7d0aeb6a8 fix webm recording bug 2019-10-25 10:32:31 -07:00
Moe edbdcad7b6 clean up some object detector ffmpeg strings 2019-09-06 20:41:24 -07:00
Moe e474eba577 add ffmpegBinary to conf.json 2019-07-25 23:24:55 -07:00
Moe bbc6a64efc Add Watermark rules for Timelapse (JPEG)
+ fix stream_fps
2019-07-16 09:27:56 -07:00
Moe f2918cb09b rename `.mon` and `.mon_conf`
- now labelled `.activeMonitors` and `.rawMonitorConfigurations`
2019-07-07 20:39:41 -07:00
Moe 11a87cbb1f add MxPEG support
+ minor cleanup
2019-07-07 20:05:49 -07:00
Moe ee678cf4f3 proper fix for recording dimensions
- this fix is not backward compatible, you will need to reset your dimensions manually. default is Auto (blank).
2019-04-02 23:21:19 -07:00
Moe 0c3a3ada1e Fix Blank value insert for Monitor Settings+ 2019-04-02 22:37:37 -07:00
Moe 00ab3046ff Add JPEG-based Timelapse creation
- Currently can only retrieve data about Timelapse through API, GUI coming soon
+ Definition fixes
2019-03-21 14:30:50 -07:00
Moe 758fc700b1 Rewrite Settings and Montior Edit forms in JSON instead of HTML
- rewrite of forms in JSON allow auto-generating the necessary fields on almost any template with a lot more ease
- remove ejs files for uploaders and make fields generate by JSON as well
+ activate separated css files
2019-03-15 00:32:18 -07:00
Moe 38e67d933a Multi Trigger by Group
- In Global Detector Settings you can now find the option to trigger other cameras when a particular monitor has been triggered.
+ Remember monitor order in dashboard list
+ Allow sending frames to Plugin based detection with Primary Send Frames off.
+ minor clean up
2019-02-27 20:32:29 -08:00
Moe 127da9700d Merge branch 'patch-1' into 'dev'
Prevent corrupted recording when recording is interrupted.

See merge request 
2019-02-22 19:46:47 +00:00
Moe 89bbbf4330 Bug Fix for Detector flag building 2019-02-16 14:56:46 -08:00
Moe 322d50d912 Update ffmpeg.js 2019-02-16 12:40:20 -08:00
Moe 3503ac1426 Add RTMP Server with Node-Media-Server
- Instead of including the npmjs module; the rtmp portion has been ripped from the main package.
- to enable the RTMP server with default settings just add `"rtmpServer":true` to your conf.json
- `rtmpServer` object in conf.json correlates to `rtmp` object in NodeMediaServer configuration.
- WARNING : currently no authentication for incoming RTMP streams.
2019-02-13 22:29:19 -08:00
Bret Palsson 3a09a11ac5 Prevent corrupted recording when recording is interrupted.
It's very annoying to get partial video because the process died or was shutdown uncleanly. This fixes the issue. Here is an explanation of the options set:

Normally, a MOV/MP4 file has all the metadata about all packets stored in one location (written at the end of the file. 

faststart: Will move the metadata to the beginning of the file after the recording is complete.

frag_keyframe: Starts a new fragment at each video keyframe. This allows a file to work, even if the metadata isn't written at the end or beginning of the file, since it encodes with each keyframe. (Tested with kill -9 on and start/stop recording where the end metata data wasn't written)

empty_moov: will cause output to be 100% fragmented; without this the first fragment will be muxed as a short movie (using moov) followed by the rest of the media in fragments.
2019-01-26 05:51:50 +00:00
Moe 79e3632b88 Return of the coProcessor
- now is optional and can be enabled in the Input section.
+ add humanized log for "error while decoding", mention network performance issues
2019-01-22 20:09:20 -08:00
Moe 715b0e54cc Add Custom Flags field for Traditional Recording 2019-01-22 08:44:32 -08:00
Moe afdc0cf568 Audio Detector, Detect Object in Region, and API Methods for Scheduling System
- Audio Detector measures decibels (dB). Section can be found under Motion Detection.
- Regions can now be used with Object detection alone, find the option the Object Detection section.
- Scheduling System will allow automatically activating Monitor States based on time. GUI will be posted in the next commit.
+ Update Installers
+ Update framework.sql
+ `npm test` will run the test
+ Minor Bug Fixes
2018-12-29 11:32:12 -08:00
Moe f57250e25e Add "codeTester" module (Not Complete)
- Merge test functions into main app and invoke based on 1 of 2 Methods.
- Method 1 : Add `"testMode":true` to conf.json to start Shinobi in Test Mode.
- Method 2 : run `node camera.js test` in the Shinobi folder.
- CTRL+C to exit process and cleanup test files.
+ Code cleanup and bug fixes (found while testing the codeTester module)
+ Update "Entire System Export"
+ Additional Extenders
+ Make Input Map default "0" instead of "0:0"
+ Remove extra Whitespace from LICENSE and update the "Modification of this Software Product.".
2018-12-16 16:54:06 -08:00
Moe a380ba7d2c Check for static ffmpeg before system ffmpeg 2018-11-28 07:14:12 -08:00
Moe ee29c12c2e Fix videoSnap reference bug
+ add some extenders
2018-11-22 07:47:43 -08:00
Moe 74e8729cdc simplify snapshot icon and remove extra logs 2018-10-31 16:21:13 -07:00
Moe c87521ec0d Fix ffmpeg "undefined" bug
+ silence freebsd error
2018-10-28 15:28:22 -07:00
Moe ee881f7415 Test script additions and cleanup
- run test with "node test.js" or "npm test" inside the Shinobi directory
- minor readability cleanup
+ show Object Detection section with yolo plugin
+ prettify Video Grid css
+ make thumbnail load recursive instead of at once
2018-10-23 17:37:51 -07:00
Moe 224a06cb3e Prepare Build Testing
+ cleanup some comments functions
+ move some functions to startup.js
+ add ability to search videos with "startFrom" and "startTo" instead of "start" and "end"
2018-10-23 11:36:02 -07:00
Moe 00c6a2c025 light updates
- adjust static-ffmpeg check
- make inital monitor load synchronous
2018-10-10 16:10:59 -07:00
Moe 34e5095e16 make "availableHWAccels" configurable 2018-10-09 16:26:49 -07:00
Moe ec3e3ddd35 Check Hardware Acceleration methods on start
- show only available methods in client side
2018-10-09 16:25:16 -07:00