diff --git a/packages/nextjs/app/slow-fetch/route.ts b/packages/nextjs/app/slow-fetch/route.ts index 9cdac7b..0ca9a01 100644 --- a/packages/nextjs/app/slow-fetch/route.ts +++ b/packages/nextjs/app/slow-fetch/route.ts @@ -120,7 +120,7 @@ export async function POST(req: NextRequest) { const gifFilePath = `/tmp/output-${playbackId}.gif`; await new Promise((resolve, reject) => { exec( - `ffmpeg -i ${mp4FilePath} -vf "fps=10,scale=320:-1:flags=lanczos" -c:v gif -loop 0 ${gifFilePath}`, + `npx ffmpeg -i ${mp4FilePath} -vf "fps=10,scale=320:-1:flags=lanczos" -c:v gif -loop 0 ${gifFilePath}`, error => { if (error) { console.log(error);