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 摘要。