Commit Graph

3840 Commits

Author SHA1 Message Date
Ella Pietraroia a66972a9d6 optimising 2020-01-28 16:04:18 +10:30
Trek Hopton 4bbfa9ee6a Merged in m3u-update (pull request #342)
mjpeg-player: updated player for m3u changes

Approved-by: Saxon Milton
Approved-by: Scott Barnard
2020-01-28 05:11:52 +00:00
Trek H 88d1ccfe36 Merge branch 'master' into m3u-loader-correction-2 2020-01-28 15:40:42 +10:30
Trek Hopton 4a64dee7d9 Merged in m3u-reduc (pull request #340)
mjpeg-player: reduce and simplify hlsjs code

Approved-by: Scott Barnard
2020-01-28 05:09:45 +00:00
Trek H 0dae15a2c5 Merge branch 'master' into m3u-reduc 2020-01-28 15:38:18 +10:30
Trek Hopton cdaec6c169 Merged in m3u-reduction-2 (pull request #349)
mjpeg-player: removed unused m3u hlsjs code

Approved-by: Saxon Milton
2020-01-28 05:04:56 +00:00
Trek H ba9d9a4e7c Merge branch 'master' into m3u-reduction-2 2020-01-28 15:14:10 +10:30
Trek H d10a59631b mjpeg-player: reduced more config variables 2020-01-28 15:12:30 +10:30
Trek H 902bf74871 mjpeg-player: comments and simplification 2020-01-28 14:32:45 +10:30
Trek H fd5425659d mjpeg-player: simplified main.js's load function 2020-01-28 14:26:06 +10:30
Trek H 09c254e1f0 mjpeg-player: removed bootstrap classes, updated copyright year 2020-01-28 13:29:17 +10:30
Trek H c5e965c14c Merge branch 'master' into m3u-update 2020-01-28 13:14:24 +10:30
Saxon b0dcd4c5b4 cmd/rvcl/main.go: removed ASCII art in file header 2020-01-28 11:52:17 +10:30
Saxon 63e2b24c90 cmd/rv: fixed profile.go and main.go file heaers including USAGE section in main.go 2020-01-28 11:51:05 +10:30
Saxon 5d6f65bc1b updated Makefile for building rv instead of revid-cli 2020-01-28 11:28:35 +10:30
Saxon 86f804cf53 cmd/rv/main.go: moved initialisation of revid to above run call 2020-01-28 10:49:42 +10:30
Saxon 10a8c70e6d cmd/rv/main.go: sleeping at end of complete iteration in main loop 2020-01-28 10:29:40 +10:30
Saxon d5b28f20c8 cmd/rv: updated package name string used for logging 2020-01-28 10:28:16 +10:30
Saxon fbc6103157 cmd/rvcl: added command line interface for controlling revid API 2020-01-27 21:50:14 +10:30
Saxon ed626e02ab cmd/rv: did some cleaning and commenting
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30
Saxon 7033d62cc6 cmd/rv: created new revid binary that is only netsender client, not CLI as well 2020-01-27 13:55:09 +10:30
Saxon cae7e55723 revid/revid.go: added handling for FileFPS var from vidgrind 2020-01-27 13:54:43 +10:30
Scott Barnard 755545c80b Merged in frame-diff-filter (pull request #347)
Simple difference filter using gocv.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-27 00:58:24 +00:00
Scott a111f21427 filter: return length from the filter's Write method 2020-01-27 11:23:56 +10:30
Scott fb43e9214a filter: change formatting of code 2020-01-27 10:51:06 +10:30
Scott b15b649151 filter: check for errors after decoding 2020-01-27 10:51:06 +10:30
Scott e0fa474906 filter: DiffFilter → Difference 2020-01-27 10:51:06 +10:30
Scott 458933babb filter: create function for satisfying circleci tests 2020-01-27 10:50:54 +10:30
Scott ced8727c07 filter: create a simple difference motion filter using gocv 2020-01-27 10:50:27 +10:30
Scott Barnard 2084753985 Merged in bitrate-calc (pull request #336)
Bitrate calculations in revid.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-27 00:16:26 +00:00
Saxon cfd3f0fc3c revid: consider when r.cfg.FileFPS ==0 2020-01-25 10:15:27 +10:30
Saxon Milton 89ca5d6052 Merged in loop-mode (pull request #354)
revid: add input source loop mode

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-24 23:24:58 +00:00
Saxon dcafcbf69e cmd/revid-cli: fixed build error 2020-01-25 09:53:21 +10:30
Saxon a0a99e17db revid/revid.go: logging unexpected EOF from input source 2020-01-25 09:42:32 +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 64754f7e0f revid: use loop in processFrom instead of goto 2020-01-24 21:58:57 +10:30
Trek H e8766ce5cb mjpeg-player: matched order of functions to simplify PR diff 2020-01-24 21:45:03 +10:30
Saxon 0e14c0a056 cmd/revid-cli: improved commentfor Loop flag description 2020-01-24 20:24:23 +10:30
Saxon 4e7e5ebca3 revid/revid.go: cleaned up prcoessFrom (added deger for waitgroup.Done and added info log) 2020-01-24 20:15:40 +10:30
Trek H 5647946bac mjpeg-player: minor changes to xhr-loader and frag-loader
Changes include: using console for logger, import statements, formatting.
2020-01-24 20:15:04 +10:30
Trek H 58747c0b05 mjpeg-player: playlist loader modification
Typescript code has been removed.

Functionality that is not being used has been removed.
2020-01-24 20:07:54 +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
Trek H 7126f7aa12 mjpeg-player: mtsdemuxer functionality change
Changed MTSDemuxer's 'append' function to 'demux' because it is not appending.
Updated MTSDemuxer so that it doesn't store the stream after demuxing it, it simply demuxes the data that it's given and returns the demuxed data.
Any PES packets that were truncated are kept to be tried at the next call to demux.
2020-01-24 20:02:17 +10:30
Trek H 2e297101a7 mjpeg-player: ts code to js code
This PR is for the hls.js files where the only modifications made are for typescript to javascript conversion, and updated import statements.
2020-01-24 19:50:48 +10:30
Trek H 179f9cfa03 mjpeg-player: reduced hlsjs code
Reduced the lengthy lists of config vars and events used by hlsjs player that we no longer need.
Also removed typescript typing from config.js
2020-01-24 19:41:43 +10:30
Trek H 640f50543d mjpeg-player: added back changes that were overwritten 2020-01-24 19:22:51 +10:30
Trek H b6176fa46a Merge branch 'master' into m3u-update 2020-01-24 19:21:58 +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
Trek H 6be40c8849 mjpeg-player: added back changes that were overwritten 2020-01-24 19:17:35 +10:30
Trek H 4565c22366 Merge branch 'master' into m3u-reduc 2020-01-24 19:16:05 +10:30