po5 / thumbfast

High-performance on-the-fly thumbnailer script for mpv
Mozilla Public License 2.0
861 stars 35 forks source link

Thumbnails grid as a preview of the whole video #86

Closed maliayas closed 1 year ago

maliayas commented 1 year ago

(I don't know whether it's in the scope of this plugin or it should be a plugin on its own)

I've come up with this idea today, such that, when you press a key binding a grid of multiple thumbnails (MxN, configurable) appears and each thumbnail comes from that calculated point of the video. So it's like an x-ray of the movie file at a glance. The grid should be mpv-window wide, hiding any other controls, timeline etc. Pressing the keybinding again or ESC hides it.

Clicking on individual thumbnails should seek the video to that point. Keyboard navigation may be considered as well.

I've searched the web to see if this is already implemented but couldn't find anything close. What do you guys think? /cc @christoph-heinrich

po5 commented 1 year ago

This already exists as https://github.com/occivink/mpv-gallery-view Such a script may be able to leverage thumbfast for quicker thumbnail generation, when something like the API I proposed is implemented in thumbfast.

maliayas commented 1 year ago

Wow, my issue here is almost their README :) Thanks for pointing out. You guys rock in these libraries!