Audio and video converter

Would be cool to have an audio and video converter in n8n. I researched a bit and it seams fairly easy to implement.

Converter: http://ffmpeg.org/ffmpeg.html
NPM package of the converter: https://www.npmjs.com/package/ffmpeg-static

Hi @jwillmer.

What’s the problem you’re trying to solve with the converter?

I have a PTT system that sends me opus-files and I like to use Rhasspy for voice command recognition. But Rhasspy only works with wav-files so I need to convert them.

Yes, there are online converters but both, n8n and Rhasspy, work offline so it would be nice to also offline convert the audio files.

You can do that by creating a custom node that uses the following npm package: https://www.npmjs.com/package/ffmpeg

Also, you might need to install ffmpeg to the machine where N8N is installed (you can use the Docker image and add some dependencies there).