FFMPEG Library issue on runtime after deploying on vercel
Unanswered
Mini Satin posted this in #help-forum
Mini SatinOP
Hi everyone, I write a code to apply watermark on video it is working fine on windows local machine but when i deploy the app on vercel it is giving me below error. I tried adding binaries file in project root and this error comes.
Any solution to resolve this issue?
Thanks.
ERROR
Uncaught Exception {"errorType":"Error","errorMessage":"spawn ../../ffmpeg ENOENT","code":"ENOENT","errno":-2,"syscall":"spawn ../../ffmpeg","path":"../../ffmpeg","spawnargs":["-formats"],"stack":["Error: spawn ../../ffmpeg ENOENT"," at ChildProcess._handle.onexit (node:internal/child_process:284:19)"," at onErrorNT (node:internal/child_process:477:16)"," at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"]}
Unknown application error occurred
Runtime.Unknown
My code file is attached
Any solution to resolve this issue?
Thanks.
ERROR
Uncaught Exception {"errorType":"Error","errorMessage":"spawn ../../ffmpeg ENOENT","code":"ENOENT","errno":-2,"syscall":"spawn ../../ffmpeg","path":"../../ffmpeg","spawnargs":["-formats"],"stack":["Error: spawn ../../ffmpeg ENOENT"," at ChildProcess._handle.onexit (node:internal/child_process:284:19)"," at onErrorNT (node:internal/child_process:477:16)"," at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"]}
Unknown application error occurred
Runtime.Unknown
My code file is attached