ffmpeg.wasm
ffmpeg.wasm copied to clipboard
Speed?
I tried using the sample page to convert a 4 minute 720p MPEG-2 file to x264. It ran at about 40fps and my CPU hovered around 35-40%. If I use the CLI version of ffmpeg to convert the same file I get over 500fps and the CPU is at 100%.
Is this just a limitation of WASM? Or is there a way to force it to use more CPU for faster encodes?
@Dan203 I have the exact same doubt... It is extremely slow. Like "not even usable" slow.
Same here when running the same ffmpeg command on the CLI I have a transcoding spped=10x and when running on the browser I get speed=0.6x, and I'm using ffmpeg-core.worker.js