switch to BMP instead of PNG for video-writing; see 4x perf improvement