Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Converts audio files to mp3 in the browser!

NotificationsYou must be signed in to change notification settings

looshi/encoder-dog

Repository files navigation

React app that converts audio files to mp3 using ffmpeg wasm. Allows the user to add mp3 metadata like artist, track number, and album art.

View Running Project:https://looshi.github.io/encoder-dog/

Screenshot of project

Install

git clone git@github.com:looshi/encoder-dog.gitcd encoder-dognpm i

Run Locally

npm run start

Build

npm run build# This will run webpack build and create a bundle in the "dist" folder# This will also try to copy the built files to my local github pages repo# Tweak that part of build to your own needs

SharedArrayBuffer Constraints

Ffmpeg wasm uses SharedArrayBuffer. Browsers restrict the use of SharedArrayBuffer to a secure context:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements .

Specific headers must be set by the server to allow the browser to be run in a secure context. Since this project is hosted on github pages which doesn't allow setting these headers via configuration, a solution based on this project is used ( in src/static/enable-threads.js ):https://github.com/gzuidhof/coi-serviceworker .

Resources

ffmpeg:https://ffmpeg.org

wasm:https://webassembly.org

ffmpegwasm:https://ffmpegwasm.netlify.app

About

Converts audio files to mp3 in the browser!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp