Open ijt opened 9 months ago
Probably because that demo uses Multi-thread and is a known issue of FFMPEG getting stuck while using multi-thread mode.
More info: #597 #628
@Soykertje , I changed the exec line to this (just added "-threads", "1") and it worked:
await ffmpeg.exec(["-threads", "1", "-f", "mov", "-i", "input.mov", "-vf", "scale=-2:480", "output.mov"]);
Describe the bug The React/Vite demo was working until I changed it to take a .mov file and scale it down to 480p. Then it failed to do the transcoding.
To Reproduce
Expected behavior After maybe 10s I expected to see the scaled down video in the player.
Instead, I waited 2 minutes with no result. The following output appeared in the console:
Screenshots None taken.
Desktop (please complete the following information):