ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
14.18k stars 831 forks source link

Dual Pass (2 pass) does not work #721

Closed netmaster4 closed 5 months ago

netmaster4 commented 5 months ago

Dualpass of a video file does not work!

ffmpeg wasm generating the log, but leave the stat (.mbtree) file blank. So that cannot be used for second pass!

To Reproduce ffmpeg.exec(('-i input.mp4 -preset ultrafast -b:v 1000k -pass 1 -passlogfile output_STAT -an -sn -f mp4 /dev/null').split(' '));

Does not work on Firefox, Chrome, Safarie