Commit Graph

2063 Commits

Author SHA1 Message Date
Trek H 708fece7ec Merge remote-tracking branch 'origin/master' into channel-and-rate-conversion 2019-03-15 18:11:31 +10:30
Trek Hopton adf58b800b Merged in audio-compression (pull request #142)
stream/adpcm & cmd/adpcm: Audio compression (ADPCM)

Approved-by: kortschak <dan@kortschak.io>
2019-03-15 07:38:01 +00:00
Trek H 14a602f423 ADPCM: 'writ' variables changed to 'n' as per convention. Documentation improved. 2019-03-15 17:54:24 +10:30
Alan Noble c102fa06a1 Merged in better-rtmp-url-checking (pull request #172)
Made parseURL() more robust.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-03-15 07:15:18 +00:00
Trek H d4e0c87635 ADPCM: unexported encoder and decoder structs, documented Write funcs. 2019-03-15 17:22:19 +10:30
Trek H fdc4d880ac ADPCM: added a Write function to decoder so that it implements io.Writer,
and also so that it can decode adpcm of arbitrary length.
Updated test and decode command to use Write.
2019-03-15 17:07:22 +10:30
Trek H c7c7ef75f5 ADPCM: Added a Write function to Encoder so that it implements an io.Writer,
and also so that a byte slice of any length can be encoded.
Added global variables for adpcm and pcm block sizes.
Updated tests, encode and decode pcm commands.
2019-03-15 15:47:08 +10:30
Saxon d2411a0761 revid: param label RtpAddr => RtpAddress 2019-03-14 14:16:55 +10:30
scruzin 61c1d99c43 Made parseURL() more robust. 2019-03-13 18:47:00 +10:30
Dan Kortschak 30711a54fa rtmp: fix parseURL panic and improve playpath handling 2019-03-13 17:30:42 +10:30
Trek H b160e6a5e2 pcm: comment fix 2019-03-13 16:29:44 +10:30
Trek H 9799854582 Merge branch 'master' into channel-and-rate-conversion 2019-03-13 15:43:20 +10:30
Trek H 2dc6032564 Merge branch 'master' into audio-compression
Making sure everything is up to date
2019-03-13 15:36:08 +10:30
Trek H 927194de4c pcm: added file headers 2019-03-13 13:59:21 +10:30
Trek H d04dc217ec pcm: Added test and command for mono conversion. Also made resampleing use alsa.Buffer 2019-03-13 13:19:53 +10:30
Trek H e9d4fb47fc pcm: added to exp a program that resamples pcm files 2019-03-12 18:53:08 +10:30
Trek H ad1e11ea51 pcm: Resampling restructured to be in pcm package 2019-03-12 16:22:44 +10:30
Saxon Milton 8023b0d9d7 Merged in senders_test (pull request #168)
revid: renamed mtsSender_test.go to senders_test.go
2019-03-12 05:50:21 +00:00
Saxon 7acca43837 revid: renamed mtsSender_test.go to senders_test.go 2019-03-12 16:17:52 +10:30
Alan Noble 910b120b9b It is time we had some tests for revid (esp. ones that test for current or previously reported bugs).
Approved-by: Alan Noble <anoble@gmail.com>
2019-03-11 23:03:52 +00:00
Saxon Milton cfb4946588 Merged in video-rotate (pull request #158)
Video rotate

Approved-by: Alan Noble <anoble@gmail.com>
2019-03-08 23:33:40 +00:00
Alan Noble 71e993255b Merged in revid-bitrate-fix (pull request #157)
Don't call rv.Bitrate when rv is nil.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-03-08 23:01:59 +00:00
scruzin 437470b53f Only dump stack for Fatal log messages. 2019-03-09 06:57:55 +10:30
scruzin db265404eb Skip if raspivid not present. 2019-03-08 20:43:01 +10:30
scruzin e0471d5e2c Initial revision. 2019-03-08 17:45:38 +10:30
scruzin aced40b5bd Merge branch 'master' of https://bitbucket.org/ausocean/av 2019-03-08 16:59:23 +10:30
Trek H ed6b2cc7f1 ADPCM: changed directory of adpcm package to audio folder 2019-03-08 15:55:20 +10:30
Trek H c234c8b760 ADPCM: changed location of encode decode adpcm file commands 2019-03-08 15:46:48 +10:30
Trek H f3a890c999 new exp folder needed
Merge branch 'master' into audio-compression
2019-03-08 15:41:56 +10:30
Trek H 4e41402cb6 Merge branch 'audio-compression' of https://bitbucket.org/ausocean/av into audio-compression 2019-03-08 15:27:45 +10:30
Trek H 7c2fccb50f ADPCM: Improved comment consistancy. 2019-03-08 15:27:10 +10:30
Trek H c271418f58 ADPCM: removed capAdd16 no longer used 2019-03-08 15:27:10 +10:30
Trek H 8642d1e087 ADPCM: got rid of buggy overflow checks 2019-03-08 15:27:10 +10:30
Trek H 89ccf9eac7 ADPCM: small fixes, comments and style. 2019-03-08 15:27:10 +10:30
Trek H d5cf171485 ADPCM: updated encode decode commands to use restructured encoder and decoder 2019-03-08 15:27:10 +10:30
Trek H 29f4acd7fe ADPCM: decoder now writes to bytes.Buffer instead of returning a byte array, tests updated. 2019-03-08 15:27:10 +10:30
Trek H e45c67e157 ADPCM: encoder now uses bytes.Buffer so that bytes and byte arrays can be written out 2019-03-08 15:27:10 +10:30
Trek H edb0ec6de1 ADPCM: encoder now using byte writer instead of returning byte slices 2019-03-08 15:27:10 +10:30
Trek H 8f282b1200 ADPCM: resructure to encoder and decoder structs 2019-03-08 15:27:10 +10:30
Trek H 7af363a3a4 ADPCM: fixed header indentation 2019-03-08 15:27:10 +10:30
Trek H 5204b52ece ADPCM: removed reference to revid in headers 2019-03-08 15:27:10 +10:30
Trek H 1ad2195938 ADPCM: fixed conversions and calculations for block variables 2019-03-08 15:27:10 +10:30
Trek H 48e848b7c4 ADPCM: added descriptions to file headers and author to readme 2019-03-08 15:27:10 +10:30
Trek H 3f8d889ce5 ADPCM: correct calls to adpcm functions in test 2019-03-08 15:27:10 +10:30
Trek H ebdd65ea09 ADPCM: Simplified for loops for creating and encoding/decoding blocks 2019-03-08 15:27:10 +10:30
Trek H 408a952c9a ADPCM: changed adpcm_test.go to use pre-allocation of byte slices 2019-03-08 15:27:10 +10:30
Trek H 071b16ccf6 ADPCM: pre-allocating memory for entire known length of output byte slice 2019-03-08 15:27:10 +10:30
Trek H 6edd86f5da ADPCM: added helper function for adding int16s without overflowing 2019-03-08 15:27:10 +10:30
Trek H 8762b3c74f ADPCM: fixed spacing and overflow check 2019-03-08 15:27:10 +10:30
Trek H 1d88c498ca ADPCM: added decode test, named constants and added comments 2019-03-08 15:27:10 +10:30