Commit Graph

3634 Commits

Author SHA1 Message Date
Saxon 7f2d53e778 revid: now checking for Packetization var from netreceiver 2019-02-25 16:29:44 +10:30
Saxon b7d1bd17a7 revid: initialising ring buffer in different location 2019-02-25 16:03:28 +10:30
Saxon be6e168774 revid: fixed quantization and bitrate logic in config.Validate() 2019-02-25 15:56:51 +10:30
Saxon cc4d683ba6 revid: calling reset inside revid.Update once config is updated 2019-02-25 15:47:43 +10:30
Saxon 5a2d89ef8f revid: using only one output when we're getting config from netreceiver 2019-02-25 15:31:42 +10:30
Saxon e118a639d4 revid: outputting config when we update 2019-02-25 15:28:19 +10:30
Trek H d95ce7efe6 ADPCM: fixed conversions and calculations for block variables 2019-02-25 14:43:26 +10:30
Saxon 37850e8350 revid-cli: initialising config.Output slice when no outputs are defined so that a default output can still be set 2019-02-25 12:59:57 +10:30
Trek H 936677f747 ADPCM: added descriptions to file headers and author to readme 2019-02-25 11:55:13 +10:30
Saxon Milton 855dfbae01 Merged in netsender-run-in-revid-cli (pull request #141)
cmd/revid-cli: replaced use of send() with netsender.Run() and implemented readPin func.

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-24 23:17:17 +00:00
Alan Noble 471cd56c54 Merged in rtmp-dial-error-close (pull request #149)
Removed incorrect Close upon Dial error.

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-24 23:15:27 +00:00
Alan Noble 01d85af133 Removed incorrect Close upon Dial error. 2019-02-22 20:45:13 +00:00
Saxon Milton 9b57306aed Merged in revert-encoder-timing (pull request #148)
stream: reverted timing changes from most recent PR
2019-02-17 03:08:00 +00:00
saxon c58b207419 stream: reverted timing changes from most recent PR 2019-02-17 13:35:55 +10:30
saxon 9e9e349cbf stream: reverted some changes I made to tick() in both mts encoder and rtp encoder 2019-02-17 13:27:01 +10:30
saxon f1625d27f5 revid: fixed destination slice bug 2019-02-17 13:11:17 +10:30
saxon ca0a008c59 revid: correct cc logic is discontinuity.go 2019-02-17 12:50:33 +10:30
saxon 819c9a784c revid: mtsSender_test.go passing segmenting and discontinuity tests 2019-02-17 05:32:44 +10:30
saxon 3f3d587eeb revid: mtsSender test for segmenting actually working now 2019-02-17 03:35:59 +10:30
saxon b3b8c6bb44 stream/mts: checking data is also good in mts segment test 2019-02-17 00:31:30 +10:30
saxon a5cb1c5abb stream/mts: made modifications such that the segment test is passing 2019-02-16 23:52:40 +10:30
saxon 3356457c71 revid: not wrapping t.Errorf 2019-02-16 16:43:15 +10:30
saxon bb091f5961 revid: wrote test for mtsSender_test.go to see if the mtsSender is segmenting properly 2019-02-16 16:33:39 +10:30
saxon 4ddf87d63d stream/mts/discontinuity.go: fixed expectedCC logic 2019-02-16 14:38:10 +10:30
saxon 361f5edbc9 stream/mts: wrote sender interface and a minimalHttpSender type 2019-02-16 14:26:51 +10:30
saxon 34daa45b46 Merge branch 'master' into mts-chunking 2019-02-16 09:17:43 +10:30
Saxon Milton 725b40b114 Merged in fix-encoder-timing (pull request #147)
stream/mts & stream/rtp: fixed timing calculations
2019-02-15 22:46:30 +00:00
saxon da5fdccaf3 stream/mts & stream/rtp: fixed timing calculations
Currently time calculations in the mts encoder are based on the premise that each mpegts packet is a 'frame', and in the rtp encoder that
each encoding of multiple packets into one rtp packet is a 'frame', these are both false. Mpegts encoding and rtp encoding should do
timestamp calculations using a reasonable approximation of time at encoding/send.
2019-02-16 09:09:54 +10:30
saxon 281aa47fd5 stream/mts: fixing discontinuities that could be caused by ringbuffer 2019-02-16 01:40:35 +10:30
saxon bea0000340 stream/mts: creating ring.Chunk so that we can use another loadSender 2019-02-15 23:55:51 +10:30
saxon b6bf41b17d stream/mts: made mtsSender more general
The mtsSender can now use any loadSender to send fixed and segmented mts data to.
2019-02-15 23:35:45 +10:30
saxon 31d36577b1 stream/mts: ausOceanSender => mtsSender 2019-02-15 23:17:13 +10:30
saxon 4044368837 stream/mts: fixed commenting in discontinuity.go 2019-02-15 22:24:07 +10:30
saxon 3aa94887eb revid/senders.go: commenting of ausOceanSender 2019-02-15 14:33:18 +10:30
saxon 6964ac513e stream/mts: adding discontinuity.go which contains discontinuity repairer 2019-02-15 13:49:37 +10:30
saxon 694ec5d009 stream/mts: fixed build errors 2019-02-15 13:43:01 +10:30
Trek H 14f8e7d29c ADPCM: correct calls to adpcm functions in test 2019-02-15 13:31:16 +10:30
saxon d3a8bb20de revid: using ausOceanSender if we're doing http output with mpegtrs packetization 2019-02-15 13:05:48 +10:30
saxon 7d03830a4e revid & stream/mts: senders now handle clip duration and cc fixing for mts.
Removed rtpSender as we now put in loadSender slice. Removed packer write method as no longer required to do clip duration logic. For initialisation of encoders, they are now no longer writing
to packer, but now straight to the ring buffer. Wrote ausOceanSender which will deal with clip logic and cc fixing for mts. Added some functionality to mts/mpegts.go that allows adding
of adaptation fields to mts packets.
2019-02-15 12:01:07 +10:30
Trek H bd70144deb ADPCM: Simplified for loops for creating and encoding/decoding blocks 2019-02-13 17:30:11 +10:30
Trek H 78a3127632 ADPCM: changed adpcm_test.go to use pre-allocation of byte slices 2019-02-13 16:58:21 +10:30
Trek H 7d3829d19f ADPCM: pre-allocating memory for entire known length of output byte slice 2019-02-13 16:53:25 +10:30
saxon b96df6d3a7 stream/mts: added general FindPID func and FindPAT func. 2019-02-13 14:40:58 +10:30
Trek H 43c6027888 ADPCM: added helper function for adding int16s without overflowing 2019-02-13 12:43:13 +10:30
Trek H c30b3de7c3 ADPCM: fixed spacing and overflow check 2019-02-13 11:53:06 +10:30
Trek H 790dfaba7e Merge branch 'master' into audio-compression 2019-02-13 10:04:43 +10:30
saxon c3743174da cmd/revid-cli: initialisation of logger actually usses what was given as revid-cli verbosity flag input 2019-02-12 18:37:15 +10:30
saxon 3ee2683ca9 cmd/revid-cli & revid: outputFileNamePtr => outputPathPtr, config.OutputFileName=>config.OutputPath, inputFileNamePtr=>inputPathPtr and finally, config.InputFileName=>config.InputPath 2019-02-12 18:22:46 +10:30
Trek H eed8cf7b3f ADPCM: added decode test, named constants and added comments 2019-02-12 14:49:16 +10:30
saxon 2a61f2d08d cmd/revid-cli: added space before rv declaration 2019-02-12 11:37:50 +10:30