ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Safari 17: Gets stuck when trying to convert video to png sequence in Multi-thread mode

Open
#628 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When using Safari 17, trying to convert a video to a png sequence in multi-threaded mode, it gets stuck before finishing

**To Reproduce**

1. Open the browser 'Safari' version 17
2. Open https://ffmpegwasm.netlify.app/playground/
3. Click 'Use multi-threading'
4. Click 'Load sample files'
5. Enter the following arguments:
```
[
"-i",
"video.webm",
"frame%04d.png"
]
```
6. Observe the log. It gets stuck at 'video:40913kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown'

**Expected behavior**
Should complete the transcoding and output the png sequence in the virtual file system.

**Screenshots**
![image](https://github.com/ffmpegwasm/ffmpeg.wasm/assets/446056/76dca166-b410-41c4-b839-d8e7f550a2a2)

**Desktop (please complete the following information):**
- OS: macOS Sonoma
- Browser: Safari
- Version: 17

**Additional context**
It works fine when converting to video. It works for converting to png sequence if **not** in multi-threaded mode. Multi-threaded mode seems to be causing issues everywhere as it doesn't work at all (not even video to video conversion) in Chromium-based browsers as noted in #597.

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.