manim_editor icon indicating copy to clipboard operation
manim_editor copied to clipboard

Live-Thumbnail generation when project is already open

Open kolibril13 opened this issue 2 years ago • 3 comments

Currently, all thumbnails are generated before the video editor opens. I think it would be nice, when one could directly start working without the waiting time, and only dummy-tumbnails are used for the beginning, which are updated on the fly.

kolibril13 avatar Nov 01 '21 21:11 kolibril13

The problem here is that the html buffer player I'm using requires fragmented videos, which have to be created too. That actually takes longer than the thumbnail generation.

There is an alternative, the fallback loader, which doesn't require the videos to be fragmented. But you would still have to copy the videos so the advantage wouldn't be too big. I think a big part of the problem can already be solved with a better updating system, which only updates the videos that have changed.

And what you're suggesting, asynchronous thumbnail generation and loading, is...not easy, to put it in mild words. For a luxury feature like this I don't really have the resources atm. Sorry

christopher-besch avatar Nov 02 '21 12:11 christopher-besch

Hi Chris, thanks for your message! I don't have much experience in web-dev, so my naive idea was that this could be implemented in a few minutes. But as you already do a lot of great work here, I don't think this is something you should waste your time on. Also, a better updater system might already reduce the loading time a lot, as you say, so I am closing this issue :)

kolibril13 avatar Nov 02 '21 14:11 kolibril13

Thanks for the motivation-boost! But we can keep the PR open, we might reach a point at which we have the capacity or absolute necessity to implement this. Or we find a simple way of doing it which I haven't thought of yet.

christopher-besch avatar Nov 02 '21 15:11 christopher-besch