const ffmpeg = require(\'fluent-ffmpeg\'); const videoFile = \'./f1.mp4\'; ffmpeg.ffprobe(videoFile, (err,metaData) => { const {duration} = metaData.format;