Running ffmpeg in browser - options?

2019-05-03 13:56发布

问题:

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?

回答1:

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.



标签: web ffmpeg