-
-
Notifications
You must be signed in to change notification settings - Fork 338
New web worker build with webm + mp4 both #21
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
Comments
Also on a little side note, I am very interested to see file sizes of the builds because that's the first thing which worries me when I ask myself whether to use this package or not. |
Just load the one you need dynamically.
It tends to increase across the time because I enable additional features and decoders so I can't give exact numbers. It's about 14M for every file currently. |
@Kagami hmmm, yeah, can do that by excluding these files within browserify and load them dynamically. 14 MB is quite a lot. are you using the google closure compiler for that? |
Yes. It contains a lot of decoders that you probably don't need, but it's not possible to create build that will suit everyone. You may create your own build, also compilation to WebAssembly should noticeably reduce file sizes. |
right, thanks for the hint - not sure yet if i want to use ffmpeg.js for www.videomail.io yet. those file sizes could be bad for mobile users ... |
Would be great to have a new build like
ffmpeg-worker-mp4-and-webm.js
to support both because playback capability depends on the browser.The text was updated successfully, but these errors were encountered: