ffmpeg

Running ffmpeg in browser - options?


I need t create a web app that will utilize ffmpeg for compositing , converting video sources. I cam across videoConverter.js. https://bgrins.github.io/videoconverter.js/

Does anyone know of any other options? Can I use a C# solution?


Solution

  • You are going to have a tough time running something like that directly in the browser - and even if you did it would require a lot of code. I would suggest building a small web application that lives on a server that will take a media file as a parameter along with any configuration options that you want to pass along with it and let ffmpeg do the hard work on the server without having to recreate the wheel then return the modified media file. I've done something similar and it works great and in the end is a very small, lightweight application.