ffmpegwasm / ffmpegwasm/ffmpeg.wasm

2-pass encoding doesn't work

未关闭
#212 4 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
17.8k
派生
1.1k
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。