- With Nvidia's NVENC:
Without scaling the output:
If you want the output video frame size to be the same as the input for Twitch:
ffmpeg -loglevel debug \
| BenchmarkMutexCache/10-8 10000000 180 ns/op 0 B/op 0 allocs/op | |
| BenchmarkMutexCache/100-8 10000000 187 ns/op 0 B/op 0 allocs/op | |
| BenchmarkMutexCache/1000-8 10000000 214 ns/op 0 B/op 0 allocs/op | |
| BenchmarkMutexCache/10000-8 10000000 231 ns/op 0 B/op 0 allocs/op | |
| BenchmarkMutexCache/100000-8 5000000 254 ns/op 2 B/op 0 allocs/op | |
| BenchmarkMutexCache/1000000-8 1000000 1159 ns/op 102 B/op 1 allocs/op | |
| BenchmarkMutexCache/10000000-8 1000000 1481 ns/op 184 B/op 2 allocs/op | |
| BenchmarkMutexCache/100000000-8 1000000 1655 ns/op 187 B/op 3 allocs/op | |
| BenchmarkSyncMapCache/10-8 5000000 221 ns/op 0 B/op 0 allocs/op |
| package join | |
| import ( | |
| "fmt" | |
| "strings" | |
| "testing" | |
| ) | |
| var ( | |
| testData = []string{"a", "b", "c", "d", "e"} |
My notes from implementing Job Vranish's excellent guide.
Follow along with the guide above, getting rustc from rustup or similar:
rustc 1.0.0-nightly (dcaeb6aa2 2015-01-18 11:28:53 +0000)
binary: rustc
commit-hash: dcaeb6aa23ecba2dc2af870668a9239136d20fa3
commit-date: 2015-01-18 11:28:53 +0000
If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
| # Add the following 'help' target to your Makefile | |
| # And add help text after each target name starting with '\#\#' | |
| help: ## Show this help. | |
| @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
| # Everything below is an example | |
| target00: ## This message will show up when typing 'make help' | |
| @echo does nothing |
| ;; I am not a regular emacs user and haven't played with lisp for many years. | |
| ;; I struggled for a couple of days trying to tweak org-capture-templates to | |
| ;; get my desired behavior for journal entries. I hope this helps someone! | |
| ;; | |
| ;; I have been following the excellent guide http://doc.norang.ca/org-mode.html | |
| ;; The "journal" template was the one I wanted to tweak. I use a date-based | |
| ;; journal filename, e.g. "2015-09-22-Journal-Entry.org". The contents of the | |
| ;; file consist of a top-level headline with a human-friendly date, followed | |
| ;; by second-level headline with the time and brief journal note. For example: | |
| ;; |