Skip to content

FFmpeg for browser, powered by WebAssembly - Build for Málstaður

License

Notifications You must be signed in to change notification settings

mideind/ffmpeg.wasm

 
 

Repository files navigation

This fork

This fork compiles a minimal version of FFmpeg to include in a web browser (wasm). The minimal build includes no codecs but supports all formats, allowing for probing and extracting streams with copy.

The main changes of this fork:

  • Dockerfile disable all codecs, unnecessary builders and esm build.
  • ffmpeg-wasm.sh remove link libraries

Building (using make prd, set to -O3) builds two binaries packages/core/dist/umd/{ffmpeg-core.wasm,ffmpeg-core.wasm}. The wasm binary is roughly 3.8MB in size.

These binaries can be loaded using the @ffmpeg/ffmpeg package and served by the web server.


This project is looking for maintainers. If you are interested to give it a go, please email me to further discuss maintenance.


ffmpeg.wasm

ffmpeg.wasm

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

stability-experimental Node Version Actions Status npm (tag) Maintenance License: MIT Downloads Total Downloads Month Netlify Status

Join us on Discord!

Discord

Documentation

Please sponsor ffmpeg.wasm to make it sustainable. ❤️

About

FFmpeg for browser, powered by WebAssembly - Build for Málstaður

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 83.7%
  • TypeScript 7.9%
  • JavaScript 2.7%
  • HTML 2.2%
  • Shell 1.5%
  • CSS 0.6%
  • Other 1.4%