Skip to content

Offer mutliple wasm builds depending on media content #869

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

Open
KingSora opened this issue Apr 23, 2025 · 0 comments
Open

Offer mutliple wasm builds depending on media content #869

KingSora opened this issue Apr 23, 2025 · 0 comments

Comments

@KingSora
Copy link

Is your feature request related to a problem? Please describe.

The wasm file is very big because all of the decoding libraries are in there. In our case we are using ffmpeg solely for audio content. I was thinking maybe its a good idea to offer different wasm builds: full, video, audio, image.

Describe the solution you'd like

Offer different wasm builds which fit for certain usecases:

  • full the same wasm build as of right now with everything in there
  • video a wasm build which only has libraries which can be used for video content
  • audio a wasm build which only has libraries which can be used for audio content
  • image a wasm build which only has libraries which can be used for image content

Describe alternatives you've considered

I didn't consider any alternatives besides searching for smaller libraries than ffmpeg.wasm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant