Skip to content

A simple example of using ffmpeg.wasm with Chrome and Firefox extensions

License

Notifications You must be signed in to change notification settings

Aniny21/browser-extension-ffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browser-extension-ffmpeg

English | 日本語

ffmpeg.wasm version 0.12.6 is now supported in the dev branch. (Manifest V3 only).

Overview

A simple example of using ffmpeg.wasm with Chrome and Firefox extensions.
Chrome Extension Manifest V3 is supported.

Installation

Included in the root of the downloaded folder are manifest-v2.json and manifest-v3.json.
Depending on the Manifest Version you want to use, rename it to manifest.json.
Delete files that are no longer needed.

Chrome (Edge, Opera, Vivaldi, Brave, etc.)

  1. Open the extensions settings page (for Chrome, go to chrome://extensions)
  2. Turn on 'Developer mode' in the top right corner.
  3. Click on 'Load unpacked'.
  4. Choose this repository's directory.

Firefox

  1. Open the 'This Firefox' page (about:debugging#/runtime/this-firefox)
  2. Click on 'Load Temporary Add-on…'
  3. Select the manifest.json

Compatibility

Manifest Version Chrome Firefox
v2
v3

Usage

screenshot

Click on the extension icon to open the popup page, then select 'Open Options Page'.

screenshot

Click on 'convert WebM to MP4' or 'convert Wav to MP3' to run the demos for WebM->MP4 and Wav->MP3 conversions respectively.

screenshot You can also specify any file and command to perform the conversion.

License

MIT (except for sample video and audio)

References

About

A simple example of using ffmpeg.wasm with Chrome and Firefox extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published