ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

Reducing FFmpeg WebAssembly Build Size by Only Including H264 Decoding

Open ttc9082 opened this issue 4 months ago • 0 comments

Hello FFmpeg WebAssembly Maintainers,

I am currently using FFmpeg in a WebAssembly format for a project that only requires H264 video decoding capabilities. Due to constraints related to the deployment environment(wechat miniprogram), reducing the size of the WebAssembly binary is crucial.

Could you please provide guidance or documentation on how to compile the FFmpeg WebAssembly version that only includes the H264 decoder? Specifically, I am looking to either exclude unnecessary modules from the build or directly target the compilation to only include the H264 decoding functionality.

Additionally, if there are any specific configuration flags or steps that need to be followed to achieve this customization in the build process, that information would be incredibly helpful.

Thank you for your time and assistance.

ttc9082 avatar Oct 07 '24 23:10 ttc9082