wasmi: Wasmi versions `0.32.0-beta.6` cannot run `ffmpeg.wasm` correctly
- put wasmi_cli in your path https://github.com/yamt/toywasm/blob/master/benchmark/notes.md#wasmi
- checkout toywasm https://github.com/yamt/toywasm and cd into the directory
- run the following
(venv) spacetanuki% ./test/run-ffmpeg.sh wasmi_cli --dir .video --
executing File(".ffmpeg/ffmpeg.wasm")::_start() ...
.video/video-1080p-60fps-2s.mp4: Invalid data found when processing input
(venv) spacetanuki%
0.32.0-beta.5 doesn’t work. 0.32.0-beta.6 doesn’t work. today’s master (352f8ae72c0d8f7c46b8c1beba01342ae5a1a89b) doesn’t work. v0.31.0 works.
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 20
Commits related to this issue
- benchmark/notes.md: bump wasmi version cf. https://github.com/wasmi-labs/wasmi/issues/934 — committed to yamt/toywasm by yamt 4 months ago
- benchmark/notes.md: bump wasmi version cf. https://github.com/wasmi-labs/wasmi/issues/934 — committed to yamt/toywasm by yamt 4 months ago
it only has a primitive printf-style logging. (WASM_DEBUG_PREPROCESSOR) i performed a cumbersome manual post-processing. that’s one of reasons why i prefer smaller test cases. 😃
yea, it would be great to have. almost must to have i suspect.
forgot to note: it’s macOS/x86-64 if it matters.
you can download it from https://assets.runno.dev/ffmpeg/ffmpeg.wasm
the script automatically download it: https://github.com/yamt/toywasm/blob/b73e2ae6403ce18e477a884ab8634d1d7c840dda/test/run-ffmpeg.sh#L48