const exists = await pathExists(tempFixturePath)
if (!exists) {
+ console.log('Generating high bitrate video.')
// Generate a random, high bitrate video on the fly, so we don't have to include
// a large file in the repo. The video needs to have a certain minimum length so
const exists = await pathExists(tempFixturePath)
if (!exists) {
+ console.log('Generating video with framerate %d.', fps)
+
return new Promise<string>((res, rej) => {
ffmpeg()
.outputOptions([ '-f rawvideo', '-video_size 1280x720', '-i /dev/urandom' ])