Saxon
3c273adf4c
cmd/revid-cli: not expecting error from revid.Stop() in revid-cli anymore:
2019-03-02 13:30:46 +10:30
Saxon
b9bccaabdd
cmd/revid-cli: fixed default value for log verbosity flag
2019-02-28 16:53:06 +10:30
Saxon
589d922ddb
cmd/revid-cli: verbosity flag default to Info
2019-02-28 14:12:44 +10:30
Saxon Milton
b6a3e062b5
Merged in path-flag-fix (pull request #143 )
...
revid: got rid of OutputFileName and InputFileName
2019-02-28 03:04:05 +00:00
Saxon Milton
4cfb85b8e1
Merged in fix-verbosity-flag (pull request #144 )
...
cmd/revid-cli: initialisation of logger actually usses what was given as revid-cli verbosity flag input
2019-02-28 03:03:13 +00:00
Saxon Milton
c247e63bd0
Merged in default-mode-crash-fix (pull request #150 )
...
revid-cli: initialising config.Output slice when no outputs are defined so that a default output can still be set
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-25 06:42:38 +00:00
Alan Noble
95303b4e71
Set default log level to Info (to match the comment).
2019-02-25 06:31:12 +00:00
Saxon
37850e8350
revid-cli: initialising config.Output slice when no outputs are defined so that a default output can still be set
2019-02-25 12:59:57 +10:30
saxon
c3743174da
cmd/revid-cli: initialisation of logger actually usses what was given as revid-cli verbosity flag input
2019-02-12 18:37:15 +10:30
saxon
3ee2683ca9
cmd/revid-cli & revid: outputFileNamePtr => outputPathPtr, config.OutputFileName=>config.OutputPath, inputFileNamePtr=>inputPathPtr and finally, config.InputFileName=>config.InputPath
2019-02-12 18:22:46 +10:30
saxon
2a61f2d08d
cmd/revid-cli: added space before rv declaration
2019-02-12 11:37:50 +10:30
saxon
e2d80b423c
cmd/revid-cli: removed comment we don't need anymore
2019-02-12 11:33:48 +10:30
saxon
69029889fe
cmd/revid-cli: using closure for readPin func so that we don't have to have global revid
2019-02-12 11:32:02 +10:30
saxon
b9c53791d8
cmd/revid-cli: updated readPin func comment
2019-02-12 10:42:26 +10:30
saxon
4e1c8e7c45
cmd/revid-cli: made Revid global so that revid.Bitrate() can be accessed in readPin
2019-02-12 10:39:23 +10:30
saxon
f67fb1ec8a
cmd/revid-cli: replaced use of send() with netsender.Run() and implemented readPin func.
2019-02-11 16:49:28 +10:30
saxon
5090056972
cmd/revid-cli: send-retry cmd line flag is now retry
2019-02-08 18:19:44 +10:30
saxon
c5d93b53d5
Merge branch 'master' into send-retry-flag
2019-02-08 18:18:01 +10:30
saxon
8bdfed9960
stream/mts: fixing conflicts
2019-02-08 10:13:51 +10:30
saxon
e2bbc84c1e
cmd/revid-cli: using const strings for copyright metadata preamble
2019-02-07 08:25:37 +10:30
saxon
2b7ab27763
cmd/revid-cli & stream/mts/meta: added meta.NewWith function that creates a new meta.Data and adds an initial entry. Using meta.NewWith in revid-cli to initialise mts' global meta.Data with some preamble data.
2019-02-06 10:19:12 +10:30
saxon
ea8572a777
cmd/revid-cli: catching error in conversion of mp
2019-02-05 10:45:15 +10:30
saxon
4dcbd90449
cmd/revid-cli: removed another closed scope condition
2019-02-05 10:40:08 +10:30
saxon
35344402b8
cmd/revid-cli/main.go: not using closed scope conditions anymore
2019-02-05 10:32:16 +10:30
saxon
bd2958ba4e
cmd/revid-cli & revid: added TODO for the use of Run() instead of send in cmd/revid-cli/main.go. Fixed filename in revid/revid.go file header. Renamed ret to cfg in revid.Config(). Catching error from call to revid.Stop() in revid.Udate()
2019-02-04 19:14:02 +10:30
saxon
1cdbfa2c66
cmd/revid-cli: setting mode to paused if ns is in burst mode.
2019-02-04 17:14:19 +10:30
saxon
8978f9edc5
cmd/revid-cli & revid: using goto to sleep for monitor period, and using wg.Done() at the end of output routine.
2019-02-04 17:12:30 +10:30
saxon
93e3899725
cmd/revid-cli: using ns.Send() rather than ns.Run() to poll
2019-02-04 17:04:49 +10:30
saxon
ee7eb84d26
revid-cli: correctly using ns.Mode() and ns.SetMode()
2019-02-04 13:25:37 +10:30
saxon
1010721dd0
cmd/revid-cli & revid: Checking revid mode differently - now using ns.Mode(), which should soon be an available feature. Also now using ns.SetMode() - which tells netreceiver that we've changed mode.
2019-02-03 23:37:38 +10:30
saxon
1af4b25030
cmd/revid-cli & revid: removed startRevid and stopRevid as shouldn't be required when we have revid.Start() and revid.Stop(). Created revid.Config() which returns copy of config safely using mutex. removed updateRevid in revid-cli and move to fun revid.Update() - as there's no reason why it can't just be a receiver func - even better considering we want to start moving alot of stuff from revid-cli to the revid-api anyways.
2019-02-03 21:17:44 +10:30
saxon
5637d2b015
revid-cli: added sendRetry flag so that we can have the option to either keep sending on failure, or just drop data.
2019-01-22 15:53:41 +10:30
Dan Kortschak
92ba9c89a2
cmd/revid-cli,revid: use a slice for output destination flags
2019-01-19 20:01:42 +10:30
Dan Kortschak
35d63f664f
revid: add v4l properties and fix default device handling
...
Also fix logging typos found during work.
2019-01-17 17:04:59 +10:30
Saxon Milton
ef6811d3b8
Merged in webcam (pull request #86 )
...
revid: addition of webcam input
Approved-by: kortschak <dan@kortschak.io>
2019-01-16 07:12:30 +00:00
saxon
ae792ac11e
revid-cli: capturing errors from calls to stopRevid
2019-01-13 22:15:30 +10:30
saxon
19ae6f1ca6
revid-cli: dealing with errors in revid-cli from start and stop if they occur
2019-01-13 22:04:50 +10:30
saxon
07307ed492
updating webcam branch
...
Merge branch 'master' into webcam
2019-01-13 19:29:32 +10:30
Dan Kortschak
b46e267983
cmd/revid-cli: use sensible default for encoding option
2019-01-05 10:33:32 +10:30
scruzin
04a76e424a
Added LogPath and ConfigFile command line flags.
2019-01-05 08:48:47 +10:30
saxon
d4e0fb516b
Fixing smartlogger errors
...
Merge branch 'master' into webcam
2019-01-03 10:35:29 +10:30
saxon
a4c73cf6c5
av: updated logging to suit changes made on iot and utils
2019-01-02 15:39:47 +10:30
saxon
7f707288eb
revid-cli: webcam to Webcam in revid-cli flag interpretation switch
2018-12-29 17:01:50 +10:30
Dan Kortschak
1e3b4b1ab8
cmd/revid-cli,revid: reduce stringly typing in config/flags
2018-12-28 13:43:21 +10:30
saxon
7118f1566c
revid: added input flag for webcam input and added func to handle webcam input using ffmpeg
2018-12-28 10:44:53 +10:30
saxon
798add533b
revid + mts +psi: wrote func to find pmt in byte slice, wrote func to get gps, changed the way in which psi are insterted, based no of mpgets packets to send on time, i.e. per second
2018-12-14 13:35:56 +10:30
Dan Kortschak
86949813fd
cmd/revid-cli: remove global revid var
2018-12-09 16:01:47 +10:30
Dan Kortschak
926763dd74
cmd/revid-cli: make config struct function scoped
2018-12-06 14:04:55 +10:30
Dan Kortschak
00216b444b
cmd/revid-cli,revid: clean up flags handling
...
This is a first step in simplifying and cleaning up the logic for config
and flag handling for revid.
2018-12-05 19:54:52 +10:30
Dan Kortschak
d0addcd355
cmd/revid-cli: don't decorate directory path
2018-12-05 19:14:36 +10:30