🎥 Make videos programmatically with React
Update frame-accuracy-video.test.ts
Patric Salvisberg70b43f8343c8
diff --git a/packages/it-tests/src/rendering/frame-accuracy-video.test.ts b/packages/it-tests/src/rendering/frame-accuracy-video.test.tsindex 1abf7a80cf..85baebdff1 100644--- a/packages/it-tests/src/rendering/frame-accuracy-video.test.ts+++ b/packages/it-tests/src/rendering/frame-accuracy-video.test.ts@@ -5,6 +5,7 @@ import path from "path";import sharp from "sharp";import { random } from "remotion";import { expect, test } from "vitest";+import { getExecutableFfmpeg } from "@remotion/renderer/dist/ffmpeg-flags";function selectColor(color: string, frame: number) {return Math.floor((random(`${color}-${frame}`) * 255) % 255);@@ -33,7 +34,7 @@ const getMissedFramesforCodec = async () => {});- await execa("ffmpeg", [+ await execa(await getExecutableFfmpeg(null), ["-i",outputPath,"-f",