Bachalo
Bachalo

Reputation: 7219

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?

Upvotes: 27

Views: 29074

Answers (3)

Yoz
Yoz

Reputation: 990

Here is yet another inspiration using "FFmpeg Online", which processes local files directly without uploading to a server. You can try it out here: FFmpeg Online and find the source code on GitHub: FFmpeg Online GitHub Repository.

Upvotes: 1

Dumi Jay
Dumi Jay

Reputation: 1245

5 years later, actually you can run ffmpeg inside the browser.

Check out https://github.com/ffmpegwasm/ffmpeg.wasm

"ffmpeg.wasm is a pure Webassembly / Javascript port of FFmpeg. It enables video & audio record, convert and stream right inside browsers."

Upvotes: 34

Max Worg
Max Worg

Reputation: 2972

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.

Upvotes: 3

Related Questions