b8d804e4ec
Also add a call to ioutil.ReadAll to mimic the use in revid. There is not a great deal of difference on the RPi3 in terms of throughput, though the allocations obviously increase. ``` $ go test -run ^$ -bench . -benchmem -benchtime 30s goos: linux goarch: arm BenchmarkRoundTrip-4 2000 20184818 ns/op 1.49 MB/s 104646 B/op 4 allocs/op BenchmarkRoundTripWriterTo-4 2000 20175948 ns/op 1.49 MB/s 175 B/op 3 allocs/op PASS ``` |
||
---|---|---|
cmd | ||
flv | ||
generator | ||
init | ||
itut | ||
mpegts | ||
parser | ||
pes | ||
revid | ||
ring | ||
rtmp | ||
startup | ||
tools | ||
Makefile | ||
Readme.md | ||
contributors.txt |
Readme.md
Readme
av is a collection of tools and packages written in Go for audio-video processing.
Authors
Alan Noble Saxon A. Nelson-Milton saxon.milton@gmail.com
Description
- revid: a tool for re-muxing and re-directing video streams.
- RingBuffer: a package that implements a ring buffer with concurrency control.
License
Copyright (C) 2017 the Australian Ocean Lab (AusOcean).
It is free software: you can redistribute it and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License or more details.
You should have received a copy of the GNU General Public License along with revid in gpl.txt. If not, see GNU licenses.