Closed JinEnMok closed 10 months ago
Yeah, that could happen if the saving too disk is too slow
And for that wait thing, I forgot to do it
I tried fixing it using native_async + callback, I don't know how consistent it is though
https://github.com/noaione/mpv-js-scripts/commit/77651fa1872a65bc63423b9c8c644fb13dd7cb70
I missed some stuff, the latest commit (https://github.com/noaione/mpv-js-scripts/commit/ade9a26d5f2a1bc77bb466fe258a0f2dd997f712) should fix it.
If there is still problem you can reopen the issue.
@noaione Hey, I'm having the same problem. if i take a screenshot of the same file, i can get either 2 different frames or 3 frames. these are examples
sometimes you can just get 1 frame
Whenever I run the script, I get the desired number of screenshots, but only 3 different frames per mosaic (for a 9- or 12-screenshot mosaic). It seems the seeking can't quite catch up, so I end up getting repeating screenshots. I noticed there's a comment line that says "wait" in the source, but I don't see an actual wait code. My own TS and JS skills are too abysmal to successfully implement a wait function there.