A Lua script to show preview thumbnails in mpv's OSC seekbar
...The script will also do multiple passes over the video, generating thumbnails with increasing frequency until the target is reached. This allows you to preview the end of the file before every thumbnail has been generated.