Skip to content

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

Closed
binarykitchen opened this issue Sep 24, 2016 · 5 comments
Closed

New web worker build with webm + mp4 both #21

binarykitchen opened this issue Sep 24, 2016 · 5 comments

Comments

@binarykitchen
Copy link

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.

@binarykitchen
Copy link
Author

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.

@Kagami
Copy link
Owner

Kagami commented Sep 24, 2016

because playback capability depends on the browser

Just load the one you need dynamically.

I am very interested to see file sizes of the builds

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 Kagami closed this as completed Sep 24, 2016
@binarykitchen
Copy link
Author

@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?

@Kagami
Copy link
Owner

Kagami commented Sep 25, 2016

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.

@binarykitchen
Copy link
Author

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 ...

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

2 participants