Saxon
90ab359599
codec/mjpeg: tidying up
...
Separated my code from code that was ported from ffmpeg (differen copyright). Also added utils.go file to house the putBuffer and bytestream types. Reduced copying and use of bytes.Buffer.
Instead expanded putBuffer functionality so that I can use this throughout process (reduce copying from buffer to buffer).
2019-12-23 14:24:08 +10:30
Saxon
e3b6d2101a
Fixed bugs, now working
2019-12-23 14:24:08 +10:30
Saxon
ba25cdfd12
codec/mjpeg/extract.go: wrote Extractor type
...
Wrote extractor type that provides an Extract function to extract JPEG frames from an RTP/MJPEG stream and writes them to a destination.
2019-12-23 14:24:07 +10:30
Saxon
c2ce700cbd
codec/mjpeg/jpeg.go: added writeHeader function to write JPEG header
...
This also included the addition of some lunimance and chrominance tables, a multiError type (implements error) and a putter type, that will put uint16s, bytes and "buffers" into a byte
slice.
2019-12-23 14:24:07 +10:30
Saxon
63f694a0a5
codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer.
2019-12-23 14:24:07 +10:30
Saxon
4781a02ec5
codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer
2019-12-23 14:24:07 +10:30
Saxon
6c78ff49cd
codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes.
2019-12-23 14:24:07 +10:30
Scott
f628c4243e
Bugfix
2019-12-19 16:51:49 +10:30
Scott Barnard
bd8922b475
Merged in motion-filter (pull request #308 )
...
Created a motion detection filter to be used with the filter interface
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-19 04:46:16 +00:00
Scott
8086cac802
PR fixes
2019-12-19 15:13:53 +10:30
Scott
669e72e86d
PR fixes
2019-12-19 15:06:32 +10:30
Scott
9fce612585
Fixed copyright
2019-12-19 14:27:43 +10:30
Scott
7e62e17a83
Cleaned up branch
2019-12-19 14:25:31 +10:30
Ella Pietraroia
a16d37f19e
Merged in timebasedpsi (pull request #306 )
...
making a time based psi method for when to send packets
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-19 03:54:40 +00:00
Scott
d0adae710e
PR fixes
2019-12-19 14:21:32 +10:30
Scott
9c7de50b9d
Created a motion detection filter to be used with the filter interface
2019-12-19 13:32:52 +10:30
Scott Barnard
bf006f1dcd
Merged in netsender-report-vars (pull request #304 )
...
Netsender report vars
Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-12-19 03:00:12 +00:00
Ella Pietraroia
0ec0a08e0e
comments and some other small changes made to revid.go encoder.go and config.go
2019-12-19 11:15:47 +10:30
Ella Pietraroia
222864108f
making a time based psi method for when to send packets
...
Added a case that allows packets to be sent by unit of time (in seconds) rather than by number of packets or nal methods. Also made a variable that can be changed in vidgrinder to choose the amount of time, called PsiTime
2019-12-19 09:56:24 +10:30
Scott
b59b342bee
revid/config/config.go Alphabetically ordered type data
2019-12-18 16:02:20 +10:30
Scott
f00918a73d
Revid uses netsender to report variable types
...
Variable type data kept in revid/config/config.go
Supports variadic new function in netsender
Updated revid to use iot v1.2.9
2019-12-18 09:34:04 +10:30
Saxon Milton
c54259b8bd
Merged in motion-exp (pull request #305 )
...
exp/gocv-exp: added gocv experimental code with testing files
2019-12-16 02:22:35 +00:00
Saxon
e1712773e1
Added gocv experimental code with testing files
2019-12-16 12:48:10 +10:30
Trek Hopton
191d5cef3d
Merged in hlsjs-code (pull request #302 )
...
mjpeg-player: added original hls.js code for mts demuxer
2019-12-12 03:16:57 +00:00
Trek H
9476440e21
mjpeg-player: added original hls.js code for mts demuxer
2019-12-12 13:41:44 +10:30
Scott Barnard
67a09589f7
Merged in v-h-flip-variable-name (pull request #301 )
...
Flip Horizontal & Flip Vertical variables renamed to match convention
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-06 06:30:32 +00:00
Scott
c11444f043
FlipHorizontal & FlipVertical variables renamed
2019-12-06 16:36:29 +10:30
Frank Cui
73398f96a7
Merged in ParseInt-to-Atoi (pull request #297 )
...
revid/revid.go: Replaced ParseInt with Atoi
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-05 09:36:42 +00:00
Frank Cui
fe22d55050
revid/revid.go: Changed remaining ParseUint to Atio
2019-12-05 14:50:44 +10:30
Ella Pietraroia
f8da6b0609
Merged in raspivid-stderr (pull request #299 )
...
device/raspivid/raspivid.go: piping stderr and checking for errors
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-05 01:05:20 +00:00
Scott Barnard
d9d78ac275
Merged in file-valid-input-var (pull request #298 )
...
File is a valid value to the input variable
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-05 00:50:46 +00:00
Scott
ad7af04f13
revid/revid.go Added file as a valid value to the input variable
2019-12-05 10:43:28 +10:30
Frank Cui
6e2dcc4b4d
revid/revid.go: Replaced ParseInt with Atoi
2019-12-05 09:55:11 +10:30
Frank Cui
8d57977fd9
Merged in simplfy_statement (pull request #296 )
...
revid/config: Simplfied LogLevel check
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-04 23:10:34 +00:00
Frank Cui
f88c6fc096
revid/config: Simplfied LogLevel check
2019-12-05 09:30:51 +10:30
Scott Barnard
8fa9f7df48
Merged in revid-crash-file-input (pull request #294 )
...
Revid crash on file input fixed
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-04 07:16:16 +00:00
Scott Barnard
863d0e3bd4
Merged in using-%w-errors (pull request #293 )
...
Standardise on using %w when wrapping errors using fmt.Errorf
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-04 07:12:00 +00:00
Ella Pietraroia
9f567fbfed
device/raspivid/raspivid.go: piping stderr and checking for errors
...
We now pipe stderr as well as stdout and check for errors on this pipe in a routine called in
raspivid.Start().
2019-12-04 16:41:26 +10:30
Scott
f8fc5156f1
revid/revid.go Revid crash on file input fixed
...
Now the file input has the lexer set to config's codec
2019-12-04 16:17:51 +10:30
Scott
e116e197ae
Changed all %v's to %w's where appropriate
2019-12-04 14:12:20 +10:30
Scott Barnard
94380ef17e
Merged in mjpeg-output-v4l (pull request #292 )
...
Mjpeg output v4l
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-04 01:55:41 +00:00
Scott
70802022bb
revid/revid.go MPEG lexer enabled and encoder options set for v4l
2019-12-04 11:40:12 +10:30
Frank Cui
9f077b3799
Merged in define_MaxMin_frames (pull request #291 )
...
revid/config.go: define max value for MinFrames
Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-12-03 06:00:01 +00:00
Frank Cui
b49e722c0b
revid/config.go: define max value for MinFrames
2019-12-03 16:00:58 +11:00
Scott
565ba3079c
Formatted code
2019-12-03 14:55:08 +10:30
Scott
48d36c2082
Ffmpeg gets different args for mjpeg encoding
2019-12-03 14:36:16 +10:30
Scott
d5191d9daf
Revid CLI accepts MJPEG as an input codec
...
The ffmpeg command uses the input codec value (H264 or mjpeg). However, it does not yet capture in mjpeg correctly.
2019-12-03 12:05:57 +10:30
Alan Noble
ec0e19aec3
Merged in update-iot (pull request #290 )
...
Update iot
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-26 06:06:13 +00:00
scruzin
521fda86e5
Use ausocean/iot v1.2.8.
2019-11-23 19:21:49 +10:30
scruzin
42ad086537
Merge branch 'master' of https://bitbucket.org/ausocean/av
2019-11-23 18:16:47 +10:30