14:54
I am working on a Node.js application that uses ffmpeg to convert videos to mp3 files. I have installed ffmpeg full build (libmp3lame included), and I have configured the path to ffmpeg correctly in my application. However, when I try to convert a video to mp3, I get the error "Output format mp3 is not available.
ffmpeg(inputPath)
.outputOptions('-vn', '-ab', '128k', '-ar', '44100')
.toFormat('mp3')
.save(outputPath)
.on('error', (err) => console.error(`Error converting (...)