marzzzello / mpv_thumbnail_script

A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies (fork)
GNU General Public License v3.0
270 stars 20 forks source link

Less precise seek #31

Closed NicolaSmaniotto closed 1 year ago

NicolaSmaniotto commented 1 year ago

Add the option to pass --hr-seek=no to mpv, which is less precise (closest keyframe) but can speed up thumbnail generation.

marzzzello commented 1 year ago

Oh nice, that reduced the thumbnail generation time from 40 secs to 24s on a ~1h long video

NicolaSmaniotto commented 1 year ago

I noticed a similar improvement, I don't know where it comes from exactly (if the HDD or somewhere else), but it's there