Skip to content

nirajrajgor/ffmpeg-wasm-demo

Repository files navigation

ffmpeg-wasm-demo

Capture video from webcam and convert to mp4 using ffmpeg.wasm on user's browser.

Available Scripts

This project is a minimal exploration around ffmpeg.wasm using React + Vite. In the project directory, you can run:

npm install

To run local dev server

npm run dev

Demo

Live Demo

Steps

  1. Allow camera permission.
  2. Click on Start capture button and Stop once done.
  3. Click on Convert to mp4 buton.
  4. Once conversion is complete, Play or Download the video.

Note

Works best on Chrome.

License

MIT

Releases

No releases published

Packages

No packages published