Dan Kortschak
05a6b4435a
revid: rename KeyRB* and RB* to refer to pool
...
This also changes lexically significant strings in configuration text.
2021-05-17 11:18:44 +09:30
Dan Kortschak
7541015730
cmd/audio-netsender,device/alsa,revid: swap out ring buffer for pool buffer
...
Names of config fields have been left unchanged since they appear to be lexically
coupled to behaviour and so require greater care.
2021-05-17 11:15:38 +09:30
Saxon Nelson-Milton
ba7c76c2fc
revid/config/variables.go: created parseInt helper and using ParseUint in parseUint helper
2021-04-11 11:22:17 +09:30
Saxon Milton
88fb90f902
Merged in add-raspivid-params (pull request #460 )
...
device/raspivid & revid/config: exposed more raspivid parameters, namely contrast, sharpness, exposure value, ISO and AWBGains
Approved-by: Trek Hopton
2021-03-30 04:51:22 +00:00
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
Trek H
24a4a8d202
revid: make codec strings for vidgrind match av codecs
2021-03-15 11:26:41 +10:30
Trek H
778a19f939
codecutil, revid: made codecs represented as strings, updated where used
2021-02-22 15:15:30 +10:30
Trek H
9211ae4338
codecutil, revid: make codec a type and make const strings for metadata keys
2021-02-22 14:16:41 +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