Commit Graph

3377 Commits

Author SHA1 Message Date
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
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
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
Ella Pietraroia 2e70e3fa1b change to error handling 2020-01-22 15:34:32 +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
Trek Hopton a0026bd2f0 Merged in js-mjpeg (pull request #341)
mjpeg-player: append to lexer

Approved-by: Alan Noble
2020-01-20 11:40:42 +00:00
Trek H e278397aa3 mjpeg-player: append to lexer
The mjpeg lexer can now have data appended to it as many times as needed instead of having the data passed at construction.
2020-01-20 21:00:24 +10:30
Ella Pietraroia d5e0bf7731 remove all tests 2020-01-20 16:19:04 +10:30
Saxon 2d2e1b0ad1 revid/revid.go: added logger message back 2020-01-20 16:10:10 +10:30
Ella Pietraroia 0c081e0b23 more testing prints now in lex 2020-01-20 15:45:43 +10:30
Saxon f64c986efc codec: corrected error handling in lexers 2020-01-20 15:03:49 +10:30
Trek Hopton feae838b3f Merged in m3u-files (pull request #329)
All files for m3u addition present with updated extensions

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-20 04:03:54 +00:00
Ella Pietraroia c99d3564bf more testing 2020-01-20 14:31:40 +10:30
Ella Pietraroia 44aac3f9fd timing for 25 frames testing 2020-01-20 14:09:42 +10:30
Scott Barnard 75946c6bdd Merged in mode-var-type (pull request #331)
revid: include mode var in var types

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-20 03:18:46 +00:00
Scott eea0f2d9dc revid/config/config.go: added vartype mode 2020-01-20 11:51:30 +10:30
Trek H e58e95f3ed Merge branch 'master' into m3u-files 2020-01-17 16:44:21 +10:30
Saxon fdf393566a codec/h265/lex_test.go: adapted test for changes to error lex can return 2020-01-17 16:41:12 +10:30
Trek H acb6c28b9b mjpeg-player: added packages used by hls.js code 2020-01-17 16:28:48 +10:30
Scott Barnard 123c7d163a Merged in mjpeg-extract-error (pull request #327)
Fixed mjpeg extract.go returning errors when it should not.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-17 05:56:59 +00:00
Saxon 399ecb8874 revid: do more thinking about errors in processFrom 2020-01-17 16:23:28 +10:30
Trek H fd476ad964 mjpeg-player: renamed all .ts files to .js 2020-01-17 16:20:30 +10:30
Saxon e45f51a31f codec/mjpeg/lex.go: return error if io.EOF is encountered 2020-01-17 16:07:37 +10:30
Saxon a26777b697 codec/h264&h265/lex.go: returning errors even if io.EOF, and not bothering to return what's currently in buffer if error 2020-01-17 16:07:10 +10:30
Ella Pietraroia 61bb0b68f6 adding staright to file testing in, need to remove 2020-01-16 15:57:57 +10:30
Ella Pietraroia b0dd41dcf0 back to no testing 2020-01-16 14:39:44 +10:30
Alan Noble 3a743ea917 revid/config/config.go: reverted incorrect change 2020-01-15 13:58:51 +10:30
Alan Noble ea42a532d7 Merge branch 'master' of https://bitbucket.org/ausocean/av 2020-01-15 13:47:37 +10:30
Alan Noble 4bfad21003 revid/config/config.go: fixed typo in outputs data type (enums->enum) 2020-01-15 13:46:56 +10:30
Scott 8dbcf1c148 extract_test.go: Simplified test code 2020-01-15 13:22:41 +10:30
Scott Barnard bf9f44dfb7 Merged in camera-ip-variable (pull request #326)
CameraIP variable added

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-14 10:49:56 +00:00
Scott 35a413c80a Added test file for extract.go 2020-01-14 16:46:35 +10:30
Scott 4b28558924 Frame counter resets on a consistent interval. 2020-01-13 10:49:01 +10:30
Ella Pietraroia 0b95041d4f quantization = 0 for input encode is MJPEG 2020-01-13 10:49:01 +10:30
Ella Pietraroia 6f16f68611 adding variable to choose how many frames to skip before filtering 2020-01-13 10:49:01 +10:30
Ella Pietraroia b39a440105 making mog filter that only dectects motion on every 5 frame (will make this a var) 2020-01-13 10:49:01 +10:30