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
Saxon
870c0bc3fa
codec/mjpeg/jpeg.go: fixed indentation in file header
2019-11-23 15:34:59 +10:30
Saxon
5b3988a5e0
codec/mjpeg/extract.go: corrected comment for Extractor.dst field
2019-11-23 15:33:41 +10:30
Saxon
82d9e5e8bd
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-11-23 15:25:18 +10:30
Saxon
e467c7792d
Fixed bugs, now working
2019-11-22 13:05:11 +10:30
Saxon
bee8cd270c
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-11-20 13:40:07 +10:30
Saxon
eaac50f339
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-11-16 23:12:08 +10:30
Saxon
a63cf5a1b7
codec/mjpeg/jpeg.go: added writeHuffman function to write JPEG huffman tables to an io.Writer.
2019-11-15 16:25:35 +10:30
Saxon
7577cfa0c4
codec/mjpeg/jpeg.go: added putMarker function to write JPEG marker codes to an io.Writer
2019-11-15 15:41:02 +10:30
Saxon
f5b6af559f
codec/mjpeg: added jpeg.go file to hold JPEG specific stuff and added some JPEG marker codes.
2019-11-15 15:11:53 +10:30
Saxon Milton
715585501e
Merged in revid-use-devices (pull request #280 )
...
revid: using AVDevice implementations as revid input
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-13 06:03:58 +00:00
Saxon
9fc60a6842
revid: updated revid to use alsa package instead of audio (renamed audio->alsa)
2019-11-13 16:31:07 +10:30
Saxon
527472e934
revid/config/config.go: checking WriteRate as we need that for encoders
2019-11-13 14:11:29 +10:30
Saxon
cf130de752
revid/config/config.go: need to check frame rate here too as revid needs it
2019-11-13 14:11:29 +10:30
Saxon
274f33e5b2
update go mod
2019-11-13 14:11:29 +10:30
Saxon
91e5e765f5
fix webcam bug and also consider webcam Input var value
2019-11-13 14:11:29 +10:30
Saxon
1a65dc9da4
fixing build errors and testing bugs + removed config_test.go as not relevant anymore
2019-11-13 14:11:29 +10:30
Saxon
0a059058a1
revid/config/config.go & config_test.go: simplified config and its validation
...
Not that alot of configuration is done by the device implementations, including validation,
we can remove alot of this from the config package here.
2019-11-13 14:11:29 +10:30
Saxon
866e398496
revid: move processFrom func and deletec inputs.go file
...
inputs.go can now go considering it only held "start functions" which have been replaced
by the AVDevice and it's implementations.
2019-11-13 14:11:29 +10:30
Saxon
dec39a3636
revid: now using AVDevice implementations
...
Also renamed constructors of devices to reduce stutter e.g. raspivid.NewRaspivid to
raspivid.New
2019-11-13 14:11:29 +10:30
Alan Noble
7da3778485
Fix license hyperlink in comment.
2019-11-12 05:35:01 +00:00
Alan Noble
cdc7755634
Fix license hyperlink in comment.
2019-11-12 05:34:16 +00:00
Trek Hopton
0412d6b141
Merged in alsa-device (pull request #278 )
...
audio package name changed to alsa
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-12 05:23:12 +00:00
Trek H
b6dd737034
device: audio package name changed to alsa
...
yobert/alsa imports changed to yalsa
directory and file names changed to reflect package name change
2019-11-12 13:28:53 +10:30
Trek Hopton
cbbf3deef8
Merged in audio-avdevice (pull request #277 )
...
Audio implementing AVDevice
Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-11 12:13:42 +00:00
Trek H
151ec56fc9
audio: changed comment wording
2019-11-11 22:40:13 +10:30
Trek H
c4134fd30e
audio: renamed ADPCMDevice to ALSA
2019-11-11 22:26:53 +10:30
Trek H
733785254e
audio: renamed AudioDevice to ADPCMDevice
2019-11-11 19:39:10 +10:30
Trek H
b66f415e1c
audio: renamed Device to AudioDevice
2019-11-11 17:50:46 +10:30
Trek H
78b31c6322
audio: inline syntax for NewDevice
2019-11-11 17:23:15 +10:30
Saxon Milton
5f46ab793c
Merged in ring-buffer-defaults (pull request #276 )
...
revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-11 06:52:42 +00:00
Trek H
3df9300c1c
audio: updated startAudioDevice to use AVDevice implementation
2019-11-11 17:05:10 +10:30
Trek H
4858797d91
audio: moved package from input/audio to device/audio
2019-11-11 16:55:47 +10:30
Trek H
a0a4537281
input/audio: audio.Device now implements AVDevice
2019-11-11 16:47:23 +10:30
Saxon
6b5911633a
revid/config/config.go: decrease default ring buffer size and increase MTS ring buffer element size
2019-11-11 14:32:24 +10:30
Saxon Milton
d07be12648
Merged in audio-meta-addition (pull request #275 )
...
revid: audio input meta additions moved to Revid.setupPipeline()
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-09 21:57:58 +00:00
Saxon
fa5585271e
revid: audio input meta addition moved to Revid.setupPipeline()
2019-11-09 22:49:04 +10:30
Saxon Milton
79ddea32c0
Merged in fix-overflow (pull request #274 )
...
protocol/rtcp/parse_test.go: fix overflow on 32bit systems
2019-11-09 10:28:41 +00:00
Saxon
fc0cd2a4f0
protocol/rtcp/parse_test.go: fix overflow on 32bit systems
2019-11-09 20:41:46 +10:30
Saxon Milton
9e725783be
Merged in rename-gvctrl (pull request #272 )
...
device/geovision: renamed gvctrl package to config
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-09 09:53:56 +00:00
Saxon Milton
59f7e1a508
Merged in test-ver (pull request #273 )
...
update go.mod test repo version to v1.6.0
2019-11-09 09:36:18 +00:00
Saxon
1426ff9ff0
update go.mod test repo version to v1.6.0
2019-11-09 19:22:53 +10:30
Saxon
ff54b40bd2
revid/inputs.go: using alias avconfig for revid/config package
2019-11-08 17:35:44 +10:30
Saxon
772c381293
device/geovision: renamed gvctrl package to config
2019-11-08 17:29:01 +10:30
Saxon Milton
9c027d857f
Merged in rb-write-error (pull request #271 )
...
revid: sender ring buffers flush only if write was successful
Approved-by: Alan Noble <anoble@gmail.com>
2019-11-08 00:02:18 +00:00
Saxon
53dc629fb1
revid: sender ring buffers flush only if write was successful
2019-11-08 10:06:51 +10:30