Commit Graph

2646 Commits

Author SHA1 Message Date
Saxon b96b52ace5 revid: reverting changes made to config.go 2019-03-09 22:44:12 +10:30
Saxon 93e856792d cmd/revid-cli & revid: fixed conflict 2019-03-09 15:54:52 +10:30
Saxon e0039da2e4 cmd/revid-cli & revid: moved ringBuffer to earlier in pipeline
Removed packetization flag for revid-cli as no longer required.
Packetization will be decided based on outputs.
Removed buffer type definition and Write receiver func in
mtsSender_test.go as this is now defined in revid.go.
Made ringbuffer size and element size consisten no matter the
output methods, as we're now going to only be putting h264 in there.
Modified H264 lex function to take an io.Writer rather than an
Encoder.
Removed destination []loadSender slice from revids fields and
added an encoder []stream.Encoder slice to hold encoders used
during a particular configuration. Each encoder will write to
the desired outputs.
Modified logic regarding encoder and sender setup. We now check
what outputs we have and add encoders to revid's encoder slice
depending on what each output requires.
Modified outputClips routine such that it ranges through revid's
encoders and encodes to them. They then write to the senders and
they handle logic regarding the amount of data they send out
and when. They also handle actions to perform on send failures.
Wrote multiSender struct which will be written to from encoders.
It will then use it's senders to distribute the data accordingly
to senders that work with the encoding from said encoders.
Modified senders so that their load methods no longer take ring
chunks, but rather slices.
Modified senders such that their release methods no longer
perform chunk closing.
2019-03-09 15:28:07 +10:30
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
Trek H 35d98f1a73 ADPCM: removed unneeded files and renamed files 2019-03-08 15:27:10 +10:30
Trek H 9939de26ac ADPCM: removed unneeded test programs 2019-03-08 15:27:10 +10:30
Trek H 9fdfde6d87 ADPCM: removed todo comments 2019-03-08 15:27:10 +10:30
Trek H 7f9a919baa ADPCM: moved commands and adpcm codec to appropriate folders 2019-03-08 15:27:10 +10:30
Trek H 102a7736db ADPCM: removed unneccessary debug code and added comments for exported functions 2019-03-08 15:27:10 +10:30
Trek H 07b228fde3 ADPCM: removed unneccessary code for commands and updated their file names 2019-03-08 15:27:10 +10:30
Trek H 2aa9c3a360 ADPCM: added programs to test encoding and decoding of raw PCM files 2019-03-08 15:27:10 +10:30
Trek H ca71a5ed49 ADPCM: Encoding and decoding blocks fully functional. 2019-03-08 15:27:10 +10:30
Trek f5f3922436 adpcmgo: encodeblock function added 2019-03-08 15:27:10 +10:30
Trek 33d62672c6 adpcmgo: added ported encode and decode functions 2019-03-08 15:27:10 +10:30
Trek 6beefc536b adpcm: saving raw pcm before conversion 2019-03-08 15:27:10 +10:30
Trek H 00cb9bf3f6 adpcm test working with wav files 2019-03-08 15:27:10 +10:30
Saxon Milton 02db78cac7 Merged in remove-udp-sender (pull request #165)
revid: removed udp sender and anything pertainent to it
2019-03-07 09:51:46 +00:00
Saxon 0962b1047d revid: removed udp sender and anything pertainent to it 2019-03-07 20:14:50 +10:30
Saxon Milton ddc7ad4325 Merged in remove-ffmpeg-sender (pull request #164)
revid: remove ffmpegSender and any code pertaining to it.
2019-03-07 08:49:18 +00:00
Saxon 6fa9f37972 revid: remove ffmpegSender and any code pertaining to it. 2019-03-07 19:15:39 +10:30
Trek H 6cfd7c5104 ADPCM: Improved comment consistancy. 2019-03-07 16:08:00 +10:30