ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Saving more binary size with a stricter ffmpeg configuration.

Đang mở
#72 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello, I was investigating this build process as part of some research for a Chrome bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=1090959#c4

FFmpeg offers quite a few more flags that you can try disabling to save more binary size:
https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/2240305/1/build-js.sh#16

Depending on your application you can avoid compiling ffmpeg.c too and just use the API methods for the functionality you desire:
https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/2240305/1/mux_demux_methods.cc

Just FYI in case this helps with download size. Apologies for the noise if you're already tried this without effect.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.