Playground
Playground allows you to try ffmpeg.wasm without any installation and development!
- Wait for assets (~32 MB) downloading.
- Press to download & add sample files.
- Press to convert an AVI file to MP4 file.
- Download output files.
File System:
Path: /
Editor:
Edit arguments below to update command:
Console Output:
Transcoding Progress:
0%
Demo Video: https://youtu.be/F01B0fV20QA
How to Use 🚀
It is recommended to read Overview first to learn ffmpeg.wasm fundamentals.
A typical flow to use ffmpeg.wasm is:
Download and load JavaScript & WebAssembly assets
The assets are downloaded automatically when you enter the Playground. You can choose to use multithreading version instead by click on the switch:
Load files to in-memory File System
When ffmpeg.wasm is loaded and ready, you can upload files to its in-memory File System to make sure these files can be consumed by the ffmpeg.wasm APIs:
File System:
Path: /
- video.avi
- : Upload a media file.
- : Upload a text file.
- : Create a new folder.
- : Refresh File System.
Press to load a set of samples files.
Run a command
With files are ready in the File System, you can update arguments in the Editor and hit afterward:
Editor:
Edit arguments below to update command:
Console Output:
Transcoding Progress:
0%
Download output files
Lastly you can download your files using File System panel and check the result. 🎉