I'm using node-fluent-ffmpeg in my backend but I cant get it to set up correctly. I set the PATHS as it instructed:
process.env['FFMPEG_PATH'] = '/var/task/node_modules/fluent-ffmpeg/node_modules/ffmpeg';
process.env['FFPROBE_PATH'] = '/var/task/node_modules/fluent-ffmpeg/node_modules/ffprobe';
But now its throwing this error:
What does this mean? I've read that its related to the permissions of the file, but i don't understand what file its talking about.
this may help you https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/372
all you have to do is : fs.chmod('777', function...... and it will work
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.