I need to figure out how I can give exec permissions to write.
var exec = require('child_process').exec;
exec('ffmpeg -i file.ogv -f mp4 file.mp4', function(err, stdout, stderr){
});
// ffmpeg converts one video file to another.
How can I do this?
我使用node-fluent来解决这个问题,它可以更好地/授予权限。
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.