Commit Graph

1144 Commits

Author SHA1 Message Date
Trek Hopton a266587397 revid: added basic disk and file size checking
* revid: reordered the file write method to exit earlier and remove a flag that wasn't needed
* revid: add comments to MaxFileSize to specify that it is in bytes

Approved-by: Alan Noble
Approved-by: Saxon Milton
2023-10-20 03:29:36 +00:00
Alan Noble a2aaa605fd Merged in enable-mts-timestamps (pull request #522)
Enable MTS timestamps with audio input

* Enable MTS timestamps with audio input.


Approved-by: Saxon Milton
2023-10-19 23:11:20 +00:00
David Sutton 5761f81315 Skip senders tests in CI - Resolves #413
Using a env var in CircleCI, these tests will be skipped when commits are pushed to bitbucket.
NOTE: this is a temporary patch, and these tests should be properly reviewed.

Approved-by: Trek Hopton
2023-10-09 08:02:38 +00:00
Saxon Nelson-Milton 79b0a49994 revid: don't append Config.RTMPURL
Config.RTMPURL was being appended when updated, which means that
it would just continue to grow, and by the time we actually try
to use the RTMP URLs that are stored, we end up using old ones.
Instead this should just be completely replaced.
2023-07-16 06:49:49 +00:00
Saxon Milton 06a81a2b3b Merged in modify-vidforward-rtmp (pull request #497)
vidforward: modify viforward to accept multiple RTMP URLs

Approved-by: Alan Noble
2023-03-12 09:26:44 +10:30
Saxon Nelson-Milton f8fe900207 revid: accept multiple RTMP outputs
This change modifies the revid config RTMPURL field to be a slice
instead of a single string. This allows use to have multiple RTMP
outputs.
2023-03-05 08:25:14 +10:30
Saxon Nelson-Milton 96078e1091 Don't do anything about cuff chan receive timeout 2023-02-09 10:46:59 +10:30
Saxon Nelson-Milton 4fe01f6899 revid/senders.go: Utilise HTTPAddress variable in config
This change bumps the required iot tag and adds functional option
variadic parameters to the httpSender constructor so that we can
provide the HTTPAddress config variable and modify the httpSend
destination address. In addition to this, we have added an option
for the report callback.
2023-02-04 18:21:19 +10:30
Saxon Nelson-Milton 300c5bc14d revid/senders.go: increase buffer pool maxAlloc in mtsSender 2022-11-13 09:38:49 +10:30
Saxon Nelson-Milton 67e03d0f5c Invert tag for inclusion of CV functionality
Prior to this change, CV was included by default, however, this
doesn't seem appropriate given that this functionality is rarely
used. For that reason, the meaning of the nocv tag has been
inverted i.e. it is now called withcv, and it the tag must be
included to build CV components.
2022-11-13 08:19:12 +10:30
Saxon Nelson-Milton fe2f091272 run gofmt 2022-11-06 17:25:28 +10:30
Saxon Nelson-Milton dddfcc256b vidforward & codecutil & mts & device & revid: improved Noop lexer code using ring buffer structure and improved overall commenting and code 2022-09-21 16:47:58 +09:30
Saxon Nelson-Milton b312774b49 cmd/vidforward & revid & device & codec/codecutil: fixes bugs and improving stream quality 2022-09-14 07:44:35 +00:00
Saxon Nelson-Milton 46e97debd5 cmd/vidforward & revid: initial implementation of vidforwarding software 2022-09-09 11:24:29 +09:30
Saxon Milton f9fddcf0e8 Merged in fix-loop (pull request #483)
revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness

Resolves issue #374

Approved-by: Trek Hopton
2022-09-01 05:58:45 +00:00
Saxon Nelson-Milton 862c06b5f3 revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness 2022-08-31 16:58:40 +09:30
Saxon Nelson-Milton 9978e0187c revid/senders.go: using logging.Logger interface 2022-06-08 14:13:14 +09:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton e894abe339 improved container/mts/encoder.go error wrapping and checking errors from encoder write in revid/senders_test.go 2022-05-27 11:58:53 +09:30
Russell Stanley 445ab1d785 turbidity: updated naming convention and comments per comments on PR 2022-04-28 13:43:49 +09:30
Russell Stanley 175cfc4925 revid/config: add transform matrix test case 2022-04-11 13:15:07 +09:30
Russell Stanley 3047704ca0 revid: add transfrom matrix variable 2022-04-11 09:23:40 +09:30
Russell Stanley 4f33f13358 patch build issues from latest turbidity probe PR 2022-02-08 09:57:05 +10:30
Russell Stanley 7da2097cf9 added testing file and began write implementation 2022-02-01 16:25:42 +10:30
Saxon Nelson-Milton bdb44214a1 rv & revid/{revid.go, pipeline.go}: added probe component to revid and wrote skeleton of probe implementation for turbdidity sensing in rv 2022-02-01 16:25:42 +10:30
Dan Kortschak baef3c0585 device/alsa,revid: clarify type conditions and remove redundant condition 2022-01-13 16:08:02 +10:30
Saxon Nelson-Milton 49aa588aae cmd/rv/main.go & revid/config/variables.go: rename Variables Type_ field to Type and comment Variables global. 2021-07-22 13:06:06 +09:30
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
Dan Kortschak f27e4abdf8
ci,filter: simplify, generalise and document build constraints 2021-05-17 10:51:50 +09:30
Saxon Milton 7da843531e Merged in readme-top (pull request #465)
added README.md files to top level packages

Approved-by: kortschak
2021-04-11 03:33:50 +00:00
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 Nelson-Milton 7b00f00e16 added README.md files to top level packages 2021-04-11 11:19:37 +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 1a90a1dbda revid: wrap error from mtsEnc with more info 2021-03-15 11:47:48 +10:30
Trek H 24a4a8d202 revid: make codec strings for vidgrind match av codecs 2021-03-15 11:26:41 +10:30
Trek H bd76fc3449 revid: check the error returned from mtsEnc 2021-03-13 02:33:59 +10:30
Trek H 357cb196b9 mts: change meta const names eg. WriteRateStr to WriteRateKey 2021-02-22 16:17:36 +10:30
Trek H fb4c56d0fa Merge branch 'master' into meta-str 2021-02-22 15:31:06 +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
Trek H 9589719fb6 revid: add rate using timelapse interval for JPEG 2021-02-22 11:45:48 +10:30
Trek H 86c9e4d0a9 revid: improve logging 2021-02-15 10:52:19 +10:30
Trek H 26bb498917 revid: remove print statement 2021-02-11 13:35:11 +10:30
Trek H 0f9b06b266 revid: only set local clock if it hasn't already been set 2021-02-11 09:58:05 +10:30
Saxon Nelson-Milton fa4713f8fd device/raspistill & revid & container/mts: fixed issues with raspistill test implementations and made slight logging improvements in mts encoder and revid. 2021-02-03 12:17:23 +10:30
Saxon Nelson-Milton 0148c89c7b container/mts/encoder.go & revid: adressing PR feedback 1 2021-01-29 11:18:19 +10:30
Saxon Nelson-Milton b077752462 revid & device/raspistill & container/mts: integrating device/raspistill functionality into revid 2021-01-27 16:49:17 +10:30
Saxon Nelson-Milton c18e263d95 device/raspistill & revid/config: PR problem fixes run 1 2021-01-27 13:46:56 +10:30