Commit Graph

3712 Commits

Author SHA1 Message Date
Saxon dc466b039b input/gvctrl/gvctrl.go: created consts for resolution strings 2019-10-12 15:52:35 +10:30
Saxon bab1a510b1 input/gvctrl/gvctrl.go: renamed convRate function to closestValStr to generalise and finished Refresh option function 2019-10-12 15:39:27 +10:30
Saxon Milton 4731729754 Merged in fix-isRunning-race (pull request #260)
revid: using mutex to synchronise usage of Start and Stop

Approved-by: Alan Noble <anoble@gmail.com>
2019-10-12 00:59:43 +00:00
Saxon e56455f7d0 input/gvctrl: added Set function with functional options for controlling GeoVision
Added a file called gvctrl.go which holds all exported functions, including Set,
and the options available for use with Set. This file also holds important consts
and the settings struct. Also added a file called request.go, which houses 3
functions that are in charge of creating HTTP requests, firstly to get the log in
page from which a log in request body can be generated, then to submit the generated
log in request body, and then to submit the settings. Finally a utils.go file has
been added to house a few helper functions.
2019-10-11 20:24:44 +10:30
Saxon 9087f727db codec/h264/extract_test.go: fixed testing for extractor 2019-10-07 16:12:30 +10:30
Saxon fc4e88bce6 fixed bugs causing problems with GeoVision H264 RTMP to youtube streaming.
Two fixes were involved, firstly, access unit delimeters were used to denote access units and the Write timeout on rtmpSender's ringBuffer was
increased to stop the 'unable to dump old write' errors. Also made some small changes elsewhere that should fix future issues, particular with
MTS output.
2019-10-07 14:18:20 +10:30
Saxon 1c9146eec0 codec/mjpeg/lex.go: returning nil error from Lex if we get io.EOF on reading bytes 2019-10-03 00:32:34 +09:30
Saxon Milton 8e3f173162 Merged in stream-id-to-mime (pull request #259)
codec/codecutil/helpers.go: added helpers.go file with SIDToMIMEType function to provide MIME type given a stream ID

Approved-by: Alan Noble <anoble@gmail.com>
2019-10-01 14:22:53 +00:00
Saxon 6df95886dd revid: using mutex to synchronise usage of Start and Stop 2019-10-01 23:44:38 +09:30
Saxon 2d5d8f3bdd codec/codecutil/helpers.go: added ADPCM support to SIDToMIMEType 2019-10-01 21:01:45 +09:30
Saxon 2acc729676 codec/codecutil/helpers.go: added helpers.go file with SIDToMIMEType function to provide MIME type given a stream ID 2019-10-01 21:01:45 +09:30
Saxon 8df837ee49 revid/senders_test.go: turning package based PSI sending on for TestMtsSenderDiscontinuity to fix hanging bug 2019-10-01 20:47:03 +09:30
Trek Hopton 4e45dee4ac Merged in audio-player (pull request #244)
JS ADPCM Audio Player

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-10-01 01:03:00 +00:00
Trek H 76dddda6cd audio-player: using typed arrays
change decoder to use typed array and array indexing instead of pushing to regular arrays for performance reasons.
2019-10-01 10:24:15 +09:30
Trek H d170afea8e audio-player: added decBytes function
I added a function called decBytes to calculate the number of PCM bytes that will be generated from a given array of ADPCM bytes.
2019-09-27 18:59:08 +09:30
Trek H 7f2c77368d audio-player: structured Decoder as a class 2019-09-27 17:32:16 +09:30
Trek H 0517e399d1 audio-player: using correct js declarations 2019-09-27 12:06:09 +09:30
Saxon Milton fad98c0dd2 Merged in move-inputs (pull request #258)
revid: moved code relating to inputs to separate file called inputs.go

Approved-by: kortschak <dan@kortschak.io>
2019-09-25 08:00:54 +00:00
Saxon a37b250e3c revid: moved code relating to inputs to separate file called inputs.go 2019-09-25 11:30:56 +09:30
Saxon Milton fc5edb9adc Merged in mjpeg-packetisation (pull request #257)
revid: added support for MJPEG packetisation

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-25 01:28:53 +00:00
Saxon 38f2d691cf revid: now using correct consts to indicate codec 2019-09-24 17:35:17 +09:30
Trek H 1de5438565 audio-player: corrected indentation and comments 2019-09-24 17:15:58 +09:30
Saxon d554173d7c container/mts/encoder.go: fixed typo in comment for global Meta var 2019-09-24 12:57:38 +09:30
Saxon 4ecd99b0f5 container/mts/encoder.go: gave MJPEG stream ID unique value 2019-09-24 12:54:12 +09:30
Saxon 191be04b11 revid: added support for MJPEG packetisation
Changes included adding support for variable InputCodec that may be set via netreceiver/vidgrind to set to H264/MJPEG. Also setting revid's lexTo
function to mjpeg.Lex in the case of an MJPEG InputCodec. Added options parameter to mts.NewEncoder function so that we can change options of the
encoder, namely whether it bases PSI interval on NAL type, or number of frames - in the case of MJPEG we based PSI interval on number of frames.
2019-09-24 07:42:26 +09:30
Saxon faf5e2df0f codec/h264/h264dec/fuzz: added fuzzer test for parseLevelPrefix function
The fuzz package has been created, which will house C based helper code and sub-packages dedicated to each fuzz test. A sub packaged called
fuzzParseLevelPrefix has been created to house the fuzz test for parseLevelPrefix. Emeric's C code has been isolated into some C files, and a file
called fuzz.go has been created, which houses the actual fuzz test function. An initial corpus has been added with 3 inputs.
2019-09-23 12:18:14 +09:30
Saxon Milton f8f78947f9 Merged in picture-order-count (pull request #249)
codec/h264/h264dec/decode.go: decoding process for picture order count

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-20 02:37:33 +00:00
Saxon Milton 1fba7556dd Merged in total-coeff-and-trailing-ones (pull request #243)
codec/h264/h264dec: parsing process for TotalCoeff and TrailingOnes

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-20 00:38:58 +00:00
Trek H 1a8493853e Merge branch 'master' into audio-player 2019-09-19 12:44:25 +09:30
Saxon 4c7f36ee36 codec/h264/h264dec/decode.go: slightly simplified if-else statements regarding BottomField and FieldPic 2019-09-18 19:41:32 +09:30
Trek Hopton a48cc37132 Merged in move-audio-netsender (pull request #253)
Move audio-netsender from iot

Approved-by: kortschak <dan@kortschak.io>
2019-09-16 13:07:07 +00:00
Saxon 117a75ae55 codec/h264/h264dec: simplified logic where there are things applicable to non-IDRs, which we don't handle yet. 2019-09-16 22:07:57 +09:30
Dan Kortschak 8a9d914283 container/mts: use uint16 for media PID 2019-09-15 09:27:26 +09:30
Trek H 7ed73f3301 audio-player: fixed conflict 2019-09-14 22:35:37 +09:30
Trek H f46282ea15 Merge branch 'master' into audio-player 2019-09-14 22:33:57 +09:30
Trek H 64febc479b audio-player: log request status on error 2019-09-14 22:21:52 +09:30
Trek H d0e5fd954f audio-netsender: changed rac back to how it was 2019-09-14 22:05:51 +09:30
Trek H cf4d89c3f8 Merge branch 'master' into move-audio-netsender 2019-09-14 21:53:48 +09:30
Trek Hopton bfcd2607c7 Merged in adpcm-mts (pull request #252)
Small fixes for mts encoder handling audio

Approved-by: kortschak <dan@kortschak.io>
2019-09-14 12:02:38 +00:00
Trek H 4d50bbefca updated makefile 2019-09-14 21:10:30 +09:30
Trek H 49c5584179 audio-netsender: updated makefile to build audio ns 2019-09-14 21:05:58 +09:30
Trek H 9805506cf2 audio-player: changed syntax 2019-09-14 20:28:59 +09:30
Trek H bec24b684e Merge branch 'master' into adpcm-mts 2019-09-14 20:03:30 +09:30
Trek H 751ee29c79 removed audio-player files 2019-09-14 20:01:44 +09:30
Trek H 83a425ce2b audio-netsender: fixed type and netsender errors 2019-09-14 19:24:47 +09:30
Trek H 3bd3e52371 audio-netsender: moved audio-netsender from iot to av 2019-09-14 19:23:44 +09:30
scruzin f32ef80247 Use ausocean/utils v1.2.9. 2019-09-14 11:59:17 +09:30
scruzin 6f6f24b841 Use ausocean/utils v1.2.9. 2019-09-13 17:32:23 +09:30
Saxon 89452d55d3 codec/h264/h264dec/cavlc.go: simplified logic in loop to count leading zeros in formCoeffTokenMap 2019-09-13 11:21:00 +09:30
Saxon Milton 8adcd94f33 Merged in zombie-routine-fix (pull request #251)
revid: setup pipeline when revid.Start() is called, not on call to revid.New()

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-12 23:52:57 +00:00