ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Saving more binary size with a stricter ffmpeg configuration.

Open
#72 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.