标签: ffmpeg
enter image description here
var FfmpegCommand = require('fluent-ffmpeg');
FfmpegCommand.setFfmpegPath(“ C:/ ffmpeg / bin”) FfmpegCommand.setFfprobePath(“ C:/ ffmpeg / bin”)
var结果= FfmpegCommand('video.mp4');
console.log(结果)