Commit Graph

3187 Commits

Author SHA1 Message Date
Saxon 5a09a5f12d codec/mjpeg/jpeg.go: simplified if statement 2020-01-02 15:04:16 +10:30
Saxon 31902f2448 codec/mjpeg/jpeg.go: componenting consts for SOF0 and SOS headers 2020-01-02 11:30:51 +10:30
Saxon 323cc185dc codec/mjpeg/jpeg.go: defining consts for SOS header fields 2020-01-02 11:20:21 +10:30
Saxon 49138ce021 codec/mjpeg/jpeg.go: defining consts for SOF0 header fields 2020-01-01 19:15:32 +10:30
Saxon 3f4561da5b codec/mjpeg/jpeg.go: defining consts for JFIF header 2020-01-01 18:34:51 +10:30
Saxon d146b65c57 codec/mjpeg/utils.go: added TODO in file header DESCRIPTION field to make stuff in this file exported in codecutil 2019-12-29 22:59:29 +10:30
Saxon 5b8f71b7d8 codec/mjpeg: renamed putBuffer.putBuf to putBytes 2019-12-29 22:57:35 +10:30
Saxon 13e2571230 codec/mjpeg/jpeg.go: renamed fields of putBuffer struct 2019-12-29 22:55:27 +10:30
Saxon bf865e48c5 codec/mjpeg/jpeg.go: made JFIF header label local const 2019-12-29 22:50:20 +10:30
Saxon e0397e1769 codec/mjpeg/jpeg.go: improve Context struct field names 2019-12-29 22:47:38 +10:30
Saxon 2fd724c6bb updating go mod 2019-12-29 22:41:37 +10:30
Saxon c691d4c1ff codec/mjpeg: renamed Ctx type to Context and name value of this type ctx instead of c 2019-12-29 22:40:54 +10:30
Saxon b5f87481ba codec/mjpeg/jpeg.go: comment global slices used for huffman table creation 2019-12-29 22:16:09 +10:30
Saxon 9a02d295fe codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2019-12-23 14:24:08 +10:30
Saxon 2d7a400b3e codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2019-12-23 14:24:08 +10:30
Saxon 545e7b858f codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2019-12-23 14:24:08 +10:30
Saxon 23d58e1b12 codec/mjpeg/extract.go: simplified error message when can't get RTP payload 2019-12-23 14:24:08 +10:30
Saxon 5cd4a0a23c codec/mjpeg/jpeg.go: fixed indentation on file header 2019-12-23 14:24:08 +10:30
Saxon 495e5c615a codec/mjpeg/jpeg.go: fixed indentation in file header 2019-12-23 14:24:08 +10:30
Saxon fa4d7b8141 codec/mjpeg/extract.go: corrected comment for Extractor.dst field 2019-12-23 14:24:08 +10:30
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
Saxon 39c66bdfd6 codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2019-12-23 13:59:27 +10:30
Saxon 7ee35f650f codec/mjpeg/jpeg.go: renamed ParseScan to ParsePayload, updated call and comment 2019-12-23 12:59:25 +10:30
Saxon 4df5f11364 codec/mjpeg/jpeg.go: Fixed comment for Ctx struct 2019-12-23 12:54:31 +10:30
Saxon 6c379458d7 codec/mjpeg/extract.go: simplified error message when can't get RTP payload 2019-12-23 12:51:21 +10:30
Saxon 6407f24d90 codec/mjpeg/jpeg.go: fixed indentation on file header 2019-12-23 12:48:08 +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