ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Saving more binary size with a stricter ffmpeg configuration.

未關閉
#72 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
C
星號
17.8k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。