🎥 Make videos programmatically with React
ffmpeg executable
Jonny Burgerd7381d4232aa
diff --git a/TESTING.md b/TESTING.mdindex 3adecbb33a..3c55613fcc 100644--- a/TESTING.md+++ b/TESTING.md@@ -4,10 +4,10 @@ For general information concerning contribution, please consult [CONTRIBUTION.md### Core Coverage----++++### Running testsdiff --git a/packages/example/out.mp4 b/packages/example/out.mp4deleted file mode 100644index 5260cb0332..0000000000Binary files a/packages/example/out.mp4 and /dev/null differdiff --git a/packages/renderer/src/stitcher.ts b/packages/renderer/src/stitcher.tsindex ab216a5b9a..f082abb52e 100644--- a/packages/renderer/src/stitcher.ts+++ b/packages/renderer/src/stitcher.ts@@ -239,7 +239,9 @@ export const spawnFfmpeg = async (options: StitcherOptions) => {.reduce<(string | null | undefined)[]>((acc, val) => acc.concat(val), []).filter(Boolean) as string[];- const task = execa('ffmpeg', ffmpegString, {cwd: options.dir});+ const task = execa(options.ffmpegExecutable ?? 'ffmpeg', ffmpegString, {+ cwd: options.dir,+ });task.stderr?.on('data', (data: Buffer) => {// console.log(data.toString());if (options.onProgress) {