ffmpeg.wasm
ffmpeg.wasm copied to clipboard
2-pass encoding doesn't work
I am trying 2 pass encoding with ffmpeg.wasm. That's my command: ffmpeg command: -i input.mp4 -c:v libx264 -vf scale=760:428 -b:v 160k -pass 1 -f mp4 test.mp4
after few frames, encoding stops:
48eaeeb2-7dca-49ea-82d6-e0921cbdb18f:1 worker.js onmessage() captured an uncaught exception: RuntimeError: function signature mismatch
48eaeeb2-7dca-49ea-82d6-e0921cbdb18f:1 RuntimeError: function signature mismatch at d9ba73f5-5671-4919-8286-868beb8f6084:0x8d7afc at Object.f.dynCall (46523c7c-57b7-4f98-9a76-cac992105571:28) at onmessage (48eaeeb2-7dca-49ea-82d6-e0921cbdb18f:1)
pthread sent an error! blob:http://localhost:9000/48eaeeb2-7dca-49ea-82d6-e0921cbdb18f:1: Uncaught RuntimeError: function signature mismatch
Could it be that's worker doesn't know how to create ffmpeg4 log file from first pass?
I'm also experiencing this issue:

has anybody got this working?
bump
bump