Provides a simple interface to convert videos using ffmpeg.wasm in the browser.
Developed with Vue 3, TypeScript, Vite, Pinia, Tailwind, and ffmpeg.wasm
# Install dependencies
yarn install
# Run dev server
yarn dev
Build and preview the app locally:
# Build for production
yarn build
# Preview locally
yarn preview
Also since ffmpeg uses SharedArrayBuffer every response must include the following headers:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
The dev server already does this. See vite.config.ts
.