Commit Graph

2265 Commits

Author SHA1 Message Date
Saxon b18502c7ba revid: adding defaults for exposure and awb cmd flags 2019-03-15 17:32:28 +10:30
Saxon 9d5771fcbf revid: completed addition of exposure, awb, saturation and brightness options 2019-03-15 17:24:29 +10:30
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
Matthew Michael 9a510f5c31 cmd/revid-cli & revid: adding raspivid exposure and brightness parameters
Started working on adding exposure, brightness, saturation and awb flags to revid-cli so that we can control raspivid parameters.
Updated revid logic to give these to raspivid and updated config to consider these parameters in config validation.
2019-03-15 12:44:13 +10:30
Saxon 4d7f2d7b32 revid: further fixed logic in revid.reset encodersender setup 2019-03-14 14:43:55 +10:30
Saxon 394b959e42 Merge branch 'master' into ringbuffer-move 2019-03-14 14:20:32 +10:30
Saxon d2411a0761 revid: param label RtpAddr => RtpAddress 2019-03-14 14:16:55 +10:30
Saxon cbe4e52c11 revid: var label RtpAddr => RtpAddress 2019-03-14 14:11:38 +10:30
Saxon b7ef1a1a2b revid: improved error handling in revid.reset encoder/sender setup logic 2019-03-14 13:44:33 +10:30
Saxon 89ba74004a stream/mts: fixed what encoder is doing with Write methods int return 2019-03-14 11:41:37 +10:30
Saxon 61d70dc9a6 stream/flv: fixed what encoder.Write is doing with it's integer return value 2019-03-14 11:37:45 +10:30
Saxon 00f2b66a8b stream: fixed comment of NopEncoder simplified Write for noop 2019-03-14 11:30:39 +10:30
Saxon 9b3a1d0ae7 revid: multiSender is no longer a struct, but rather a type derived from a []loadSender 2019-03-14 11:20:02 +10:30
Saxon f9c5e1cfa7 revid: removed some more mentions of retry 2019-03-14 10:43:17 +10:30
Saxon 9db59287a9 revid: removed retrySend method from file sender 2019-03-14 10:41:42 +10:30
Saxon 99a4010c79 revid: removed concept of send retry for now
Send retry has been removed from the multiSender. This also means there is not need for the active func, because we simply wait until the send is complete or failed to exit the output clips
routine. Tests pertinent to retrying or the active function have been removed.
2019-03-14 10:35:09 +10:30
Saxon 4881e179cc revid: multiSender active=>isActive 2019-03-14 09:09:57 +10:30
Saxon caff9eddaa Merge branch 'master' into ringbuffer-move 2019-03-14 09:01:50 +10:30
Saxon 2e49de5fa0 revid: newMultiSender panics if active function is not provided 2019-03-14 08:34:35 +10:30
Saxon 5b19c955f2 revid: added full stop to comment for TestResetEncoderSenderSetup in revid_test.go 2019-03-14 08:26:34 +10:30
Saxon 465a7fe973 revid: updated comment for mtsSender struct 2019-03-14 08:23:08 +10:30
Saxon 032ffcb8b6 revid: rtmpSender.load no longer copies data 2019-03-14 08:18:57 +10:30
scruzin 61c1d99c43 Made parseURL() more robust. 2019-03-13 18:47:00 +10:30
Saxon 7c54775291 stream: added GetDst func to Encoder interface
It has become apparent that it would be useful to be able to get the destination from
the encoder, so this it at least a temporary fix.
2019-03-13 18:24:18 +10:30
Saxon e593a04faf revid: added TestResetEncoderSenderSetup
Added a test to check that revid's reset method is correctly setting up encoders
and the senders they write to correctly.
2019-03-13 18:14: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
Saxon 627297ce7e revid: using chunk.WriteTo rather than chunk.Bytes to get data to encoders 2019-03-13 12:25:57 +10:30
Saxon b8b26de901 revid: added TestMultiSenderFailRetry test
Added test to check that if a sender is set to retry on send fails,
it will keep trying to send until it is successful, and have all
data that was intended to be written sent off.
2019-03-13 00:49:25 +10:30
Saxon e427836356 revid: removed closure for accessing active flag
we only need to set the active flag once, so there's no need for a closure here.
2019-03-12 23:55:18 +10:30
Saxon 404190ca52 revid: added TestMultiSenderFailNoRetry 2019-03-12 23:16:32 +10:30
Saxon 500edc05aa revid: retry is now an attribute of senders and can be set at initialisation 2019-03-12 20:53:27 +10:30
Trek H e9d4fb47fc pcm: added to exp a program that resamples pcm files 2019-03-12 18:53:08 +10:30
Saxon da1532b9d1 revid: added multiSender test to check that Write returns when active func return false in send retry 2019-03-12 18:28:20 +10:30
Saxon 42bf44afdf revid: added test for multiSender to check active func function.
Added a test to check that we correctly return from a write call if the multiSenders
active callback func return false.
2019-03-12 18:08:43 +10:30
Saxon 8b93d187c6 revid: added some commenting to multiSender testing utilities 2019-03-12 17:19:47 +10:30
Saxon 7f73e32d4c revid: added TestMultiSenderWrite
Added a test in senders_test.go to check that we can give a multiSender a few senders and have it
write to them correctly when we call multSender.Write(). This involved writing a dummy
loadSender implementation called dummyLoadSender that stores what has been written to it so that
we can check at a later time.
2019-03-12 17:08:36 +10:30
Saxon e7e3b5007b revid: added test for newMultiSender 2019-03-12 16:28:30 +10:30
Trek H ad1e11ea51 pcm: Resampling restructured to be in pcm package 2019-03-12 16:22:44 +10:30
Saxon 3761b55f87 revid: renamed tests relating to mtsSender 2019-03-12 16:22:11 +10:30
Saxon 3230e4c2dd Merge branch 'master' into ringbuffer-move 2019-03-12 16:20:43 +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
Saxon bbb764db83 Merge branch 'master' into ringbuffer-move 2019-03-12 16:07:17 +10:30