Commit Graph

3437 Commits

Author SHA1 Message Date
Scott a111f21427 filter: return length from the filter's Write method 2020-01-27 11:23:56 +10:30
Scott fb43e9214a filter: change formatting of code 2020-01-27 10:51:06 +10:30
Scott b15b649151 filter: check for errors after decoding 2020-01-27 10:51:06 +10:30
Scott e0fa474906 filter: DiffFilter → Difference 2020-01-27 10:51:06 +10:30
Scott 458933babb filter: create function for satisfying circleci tests 2020-01-27 10:50:54 +10:30
Scott ced8727c07 filter: create a simple difference motion filter using gocv 2020-01-27 10:50:27 +10:30
Saxon cfd3f0fc3c revid: consider when r.cfg.FileFPS ==0 2020-01-25 10:15:27 +10:30
Saxon Milton 89ca5d6052 Merged in loop-mode (pull request #354)
revid: add input source loop mode

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-24 23:24:58 +00:00
Saxon dcafcbf69e cmd/revid-cli: fixed build error 2020-01-25 09:53:21 +10:30
Saxon a0a99e17db revid/revid.go: logging unexpected EOF from input source 2020-01-25 09:42:32 +10:30
Saxon f82ab42246 revid & cmd/revid-cli: InputFPS field now FileFPS and added check so that only used with File input 2020-01-25 09:39:42 +10:30
Saxon 64754f7e0f revid: use loop in processFrom instead of goto 2020-01-24 21:58:57 +10:30
Saxon 0e14c0a056 cmd/revid-cli: improved commentfor Loop flag description 2020-01-24 20:24:23 +10:30
Saxon 4e7e5ebca3 revid/revid.go: cleaned up prcoessFrom (added deger for waitgroup.Done and added info log) 2020-01-24 20:15:40 +10:30
Saxon 0f5aaf6cb5 revid & cmd/revid-cli: added InputFPS config.Config field
The InputFPS field can control rate at which we lex frames from the input source. This has
not been a useful feature until now; we now want to simulate realtime input device using file
input. This requires firstly the Loop mode, and now also realistic input rate.
2020-01-24 20:05:43 +10:30
Saxon 99b931f948 revid & cmd/revid-cli: added loop mode so that input may be restarted after completion
Loop flag has been added to command line flags and in turn sets the Loop field that has been
added to the config.Config struct. mode variable now also checked to see if value set to
Loop, in which case revid config.Config.Loop = true. Revid.processFrom modified so that
when input source has completed Revid.cfg.Loop is checked and input restarted if true.
2020-01-24 19:21:18 +10:30
Trek Hopton 1b7e817266 Merged in m3u-packages (pull request #332)
mjpeg-player: made node.js packages compatible for es6 import/exports

Approved-by: Saxon Milton
Approved-by: Scott Barnard
2020-01-24 08:44:25 +00:00
Trek H bd52a5e658 mjpeg-player: added back changes that were overwritten 2020-01-24 19:12:07 +10:30
Trek H be0e2c81b8 Merge branch 'master' into m3u-packages 2020-01-24 19:10:35 +10:30
Trek Hopton da4562b948 Merged in m3u-live (pull request #348)
Original hls.js files for reloading live playlists.

Approved-by: Saxon Milton
Approved-by: Scott Barnard
2020-01-24 06:43:30 +00:00
Trek H 5373bb4256 Merge branch 'master' into m3u-live 2020-01-24 15:59:59 +10:30
Trek H 0cbe77c205 Merge branch 'master' into m3u-packages 2020-01-24 15:57:18 +10:30
Scott Barnard 27681e773f Merged in send-logs (pull request #337)
Send log files to netreciever

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-24 05:11:51 +00:00
Scott 44508fd269 use iot v1.2.13 2020-01-24 15:36:27 +10:30
Scott 62141926ff main: netLogger → netLog 2020-01-24 15:15:42 +10:30
Trek H 239c91e4f8 Merge branch 'master' into m3u-live 2020-01-24 14:30:46 +10:30
Trek H 31dc50a4a2 mjpeg-player: adding back files 2020-01-24 14:18:26 +10:30
Trek H 6ed6d1c28b mjpeg-player: removed files from branch that are changed in existing PRs 2020-01-24 14:10:42 +10:30
Saxon Milton c2329b3a3f Merged in lexers-return-ioeof (pull request #330)
codec: lexers return ioeof

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2020-01-23 03:23:03 +00:00
Scott Barnard 8ac664f11e Merged in less-frames-knn (pull request #346)
Less frames knn

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-23 02:28:43 +00:00
Scott eca9453399 filters_circleci.go: Changed function to pass circleci builds 2020-01-23 12:49:45 +10:30
Scott 207e96b999 KNN filter detects motion on an interval 2020-01-23 12:45:00 +10:30
Scott Barnard 65bc98efbf Merged in less-frames-fix (pull request #345)
Less frames fix

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-23 02:07:34 +00:00
Scott 3c0076751e Fixed variables 2020-01-23 12:15:07 +10:30
Scott 0e94a0172b cmd/revid-cli/main.go: netlogger.NetLogger -> netlogger.Logger 2020-01-23 09:41:54 +10:30
Scott 0cfa93a314 Uses iot v1.2.12 2020-01-22 16:34:20 +10:30
Ella Pietraroia 92b2040360 Merged in less-frames (pull request #343)
Less frames

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-22 05:35:25 +00:00
Ella Pietraroia 3851a20aa0 commenting 2020-01-22 16:04:16 +10:30
Ella Pietraroia c9dee735d4 back to old return 2020-01-22 15:44:53 +10:30
Ella Pietraroia c3f1d957e3 formatting 2020-01-22 15:43:10 +10:30
Scott 93f7d5849e Added newlines to logger.New 2020-01-22 15:36:20 +10:30
Ella Pietraroia 2e70e3fa1b change to error handling 2020-01-22 15:34:32 +10:30
Scott 9d2fd53335 megabytes -> MB 2020-01-22 15:33:23 +10:30
Ella Pietraroia fd8e2e2426 full stops 2020-01-22 15:25:34 +10:30
Ella Pietraroia 963b74bed0 change variable name FilterFrames to MotionFilter 2020-01-22 14:57:35 +10:30
Ella Pietraroia b597fb9a1a commenting and refinement 2020-01-22 14:53:03 +10:30
Saxon 9b8667e56c fixed handling of errors from lex methods 2020-01-22 13:45:01 +10:30
Saxon 78484b5f5b codec/h264/lex.go: fixed handling of errors from ScanUntil 2020-01-22 13:43:08 +10:30
Ella Pietraroia b588321d00 adding in so builds with circleci build 2020-01-22 13:12:22 +10:30
Saxon bf289221de codec/h264/lex.go: simplified return logic 2020-01-22 13:08:02 +10:30