po5 / thumbfast

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

`interval` doesn't work as expected #6

Closed hooke007 closed 2 years ago

hooke007 commented 2 years ago

I tried set it to 0 or 1 and set max_thumbnails = 1440

Expectation: Theoretically, for a 24min video, each second of preview should be different.

Actual behavior: Sometimes the same thumbnail would be including 5 secs's duration.

po5 commented 2 years ago

That's intended. The script only performs keyframe seeks, as exact seeking is too expensive.
I don't think it's worth adding an option for accurate seeks, especially since this has "fast" in the name :^)