Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to ffmpeg.wasm v0.12.x #175

Open
swissspidy opened this issue Oct 16, 2023 · 2 comments
Open

Migrate to ffmpeg.wasm v0.12.x #175

swissspidy opened this issue Oct 16, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed p2

Comments

@swissspidy
Copy link
Owner

See https://ffmpegwasm.netlify.app/docs/migration

Didn't work at first try because the @ffmpeg/ffmpeg package now uses new Worker(new URL("./worker.js", import.meta.url), { type: "module", }) which which causes issues with COEP/COOP in WP. That's why it used to have an inline blob worker IIRC. But there doesn't seem to be a way to override this. Need to give it another try.

@swissspidy swissspidy added the enhancement New feature or request label Dec 16, 2023
@swissspidy
Copy link
Owner Author

Maybe if it can be somehow loaded in a worker (that would itself other workers if necessary) this could work? Similar to how vips is loaded right now.

@swissspidy swissspidy added the help wanted Extra attention is needed label Jan 3, 2024
@swissspidy
Copy link
Owner Author

I do have some WIP code for this, but I probably also need to patch the library because of some incorrect paths in the source code, see ffmpegwasm/ffmpeg.wasm#617

@swissspidy swissspidy added the p2 label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed p2
Projects
None yet
Development

No branches or pull requests

1 participant