Skip to content

alfg/ffmpeg-webassembly-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f29054e · May 20, 2021

History

4 Commits
May 18, 2021
May 19, 2021
May 19, 2021
May 18, 2021
May 20, 2021
May 19, 2021
May 18, 2021
May 19, 2021
May 18, 2021
May 19, 2021
May 19, 2021

Repository files navigation

FFmpeg WebAssembly Example

A minimal example of building FFmpeg's libav to WebAssembly via Emscripten using Docker.

https://dev.to/alfg/ffmpeg-webassembly-2cbl

Usage

Build the WebAssembly files using Docker and copy the output to www/:

docker-compose run mp4info make
cp -a dist/. www/

Run the server:

npm install express
node server.js

Load the demo in a browser and select the tears-of-steel-10s.mp4 file:

http://localhost:8080/www

License

MIT