Commit Graph

86 Commits

Author SHA1 Message Date
Saxon Nelson-Milton 8ad9ee5361 device/raspivid & revid/config: exposed more raspivid parameters, namely contrast, sharpness, exposure value, ISO and AWBGains 2021-03-30 15:19:57 +10:30
Saxon Nelson-Milton c18e263d95 device/raspistill & revid/config: PR problem fixes run 1 2021-01-27 13:46:56 +10:30
Saxon Nelson-Milton 45c019a062 device: add raspistill package housing release and testing implementations 2021-01-20 14:33:47 +10:30
Saxon Milton 80746f9a03 Merged in mjpeg-to-jpeg (pull request #446)
codec: renmaed mjpeg package to jpeg and alter terminology throughout av repo to use mjpeg and jpeg terms appropriately.

Approved-by: Trek Hopton
2021-01-18 05:27:04 +00:00
Saxon Nelson-Milton 80bf76f703 revid/config/variables.go: exported config map key constants 2021-01-18 15:48:43 +10:30
Saxon Nelson-Milton af519d61fa codec: renmaed mjpeg package to jpeg and alter terminology throughout av repo to use mjpeg and jpeg terms appropriately. 2021-01-18 15:29:21 +10:30
Saxon Nelson-Milton cf9bb6af52 revid/config/variables.go: creating config map key consts and type consts 2021-01-04 14:08:00 +10:30
Trek H cc8d205d67 revid: simplify write rate 2020-08-14 11:32:32 +09:30
Trek H 03a24475f8 revid: bug fix to pass tests 2020-08-11 13:49:41 +09:30
Trek H 5fe586913f alsa, revid: added correct device configuration and defaulting for audio 2020-08-11 11:43:17 +09:30
Saxon dc3258b255 revid/config/config.go: put Config struct fields in alphabetical order 2020-05-20 11:13:14 +09:30
Saxon 8d7be149f0 revid/config: add logger suppression var Suppress to Variables slice and Config struct 2020-05-20 00:11:14 +09:30
Saxon Milton ce50b5fbd1 Merged in nicer-update-func (pull request #411)
revid/config: variables struct providing names, types, update and validation

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-05-19 06:02:02 +00:00
Saxon 147f975646 revid/config: add missing audio related enums for Input and InputCodec TypeData map keys 2020-05-02 18:47:52 +09:30
Saxon aa29647fcb revid/config/config.go: add InputAudio source in Input config field comment 2020-05-02 18:45:38 +09:30
Saxon Milton 4cf155bbc2 Merged in correct-config-types (pull request #401)
Correct types of fields in revid/config/config.go Config struct
2020-05-02 03:55:13 +00:00
Saxon Milton 3a076cd9c0 Merged in sort-out-rb-capacity (pull request #397)
revid: get rid of output specific ring buffer parameters and use only RBCapacity and RBWriteTimeout

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-04-27 03:49:23 +00:00
Saxon c0614c3456 revid: reverted to fixed element size ring buffer 2020-04-09 15:55:01 +09:30
Saxon Milton f9dc1d0139 Merged in remove-logging-pkg-prefix (pull request #393)
revid: no longer prepending package name before log messagges

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-29 00:28:45 +00:00
Saxon b8a135e0d0 revid/config: adding Bitrate to TypeData map 2020-03-28 01:10:28 +10:30
Saxon f1c1339e9f revid: no longer prepending package name before log messagges 2020-03-28 01:08:09 +10:30
Scott 8f589c8cff revid/config: add package comments to config package 2020-02-26 14:32:08 +10:30
Scott Barnard 24a4654f6b Merged in time-filter (pull request #379)
filter: time based motion filter

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-17 00:04:13 +00:00
Scott 57b3f53bf3 filter: time based filter for overcoming discontinuities
When the filter has short discontinuities in detection, those frames are sent so that the video is more continuous.
2020-02-17 09:41:07 +10:30
Saxon Milton e312bca992 Merged in validate-before-set (pull request #378)
revid/config/parameter: validate set val passed and then only if good we set receiver

Approved-by: kortschak <dan@kortschak.io>
2020-02-16 22:25:43 +00:00
Saxon Milton 81aa35b586 Merged in parameter-implementations (pull request #376)
revid/config/parameter: wrote code for the generation of Parameter interface implementations and commit resulting code

Using a template, code has been created to generate repetitive implementations of an interface name Parameter. The code iterates through a list of params and creates implementations for each one.

Approved-by: Scott Barnard <scott@ausocean.org>
2020-02-12 00:27:08 +00:00
Scott fa15d92388 filter: Difference → Diff 2020-02-10 15:29:20 +10:30
Scott 5f02bb3829 filter: combine common filter variables 2020-02-07 14:34:43 +10:30
Scott 86ec511697 revid: remove ShowWindows variable 2020-02-04 13:32:45 +10:30
Scott 10bfc296be filter: add option to reduce resolution of frames for MOG motion filter
A new netsender variable, FilterDownscaling is used for reducing the resolution of frames within the MOG motion filter.
This does not affect the resolution of the video output, it is only used to speed up calculations.
A FilterDownscaling factor of 2 is equivalent to skipping every 2nd pixel in the image.
2020-02-04 11:47:09 +10:30
Ella Pietraroia 2c947edc2b iteration error fix 2020-01-31 15:23:18 +10:30
Ella Pietraroia ed35bd83cb basic filter that does not use gocv for motion detection 2020-01-31 11:11:00 +10:30
Scott 5951dbcd2b revid/config: FileFps → FileFPS
This corrects the case of the FileFPS string literal.
2020-01-29 09:17:58 +10:30
Scott 5ff90e4411 make config error messages more consistent 2020-01-28 16:09:16 +10:30
Scott ced8727c07 filter: create a simple difference motion filter using gocv 2020-01-27 10:50:27 +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 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
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 c3f1d957e3 formatting 2020-01-22 15:43:10 +10:30
Ella Pietraroia 963b74bed0 change variable name FilterFrames to MotionFilter 2020-01-22 14:57:35 +10:30
Scott eea0f2d9dc revid/config/config.go: added vartype mode 2020-01-20 11:51:30 +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
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
Scott 6d2c58cd66 CameraIP variable added 2020-01-09 15:28:49 +10:30
Saxon d90d2203bd revid: only using one set of ring buffer parameters rather than MTS and RTMP 2020-01-09 13:58:44 +10:30