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

2-pass encoding doesn't work

Open mczac opened this issue 4 years ago • 4 comments

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?

mczac avatar Jun 11 '21 17:06 mczac

I'm also experiencing this issue: image

redbrain avatar Aug 09 '21 15:08 redbrain

has anybody got this working?

NicolaeV avatar Mar 20 '22 03:03 NicolaeV

bump

AndrewYatzkan avatar Aug 22 '22 23:08 AndrewYatzkan

bump

netmaster4 avatar Apr 07 '24 20:04 netmaster4