ffmpegwasm / ffmpegwasm/ffmpeg.wasm

2-pass encoding doesn't work

Open
#212 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.