When you watch a video in YouTube, you can seek it with the thumbnail preview. Many Windows' and MacOS' video players have this feature, but what about Linux's? I've already read this same question, but the information in it seems out-of-date. The ExMPlayer official website is still alive but the project is neglected (see git repo), and actually the player doesn't work on the latest Ubuntu or Linux Mint.

Is there any video player which has the feature and works on the latest linux distributions? Or must I use Windows' one with VirtualBox? If only VLC would implement this feature, but it seems that won't happen as far as I read this.

YouTube's seek preview: enter image description here


Yes, there is a plugin called mpv-thumbnail-script for mpv.

enter image description here

  • Thank you for your perfect answer. It works! – ynn Oct 9 '18 at 12:04

Ipor Sircer's answer is sufficient and perfect but let me write a step by step answer for beginners.

  1. Install mpv. In Ubuntu, you can execute this command.

    sudo apt update && sudo apt install mpv

  2. Visit mpv-thumbnail-script releases page and download mpv_thumbnail_script_client_osc.lua and mpv_thumbnail_script_server.lua.

  3. Copy these lua scripts to ~/.config/mpv/scripts/. The directory may not exist by default.

Just following these steps, without any further configurations and with --osc=no option[*], the feature of the thumbnail seek is turned on. However, please note that the feature is automatically disabled when you play a video whose length is over an hour. You can again enable the feature by pressing Shift+t on the player or change the setting. As for the latter case, see mpv-thumbnail-script Configurations or execute echo "autogenerate_max_duration=0" >> ~/.config/mpv/lua-settings/mpv_thumbnail_script.conf.

[*]: You can instead execute echo "osc=no" >> ~/.config/mpv/mpv.conf once.

If you feel it takes much time to generate thumbnails, you can turn on multi-threading. It is quite easy. See again mpv-thumbnail-script Configurations. In my case, it really works well.

My test environment:

$ lsb_release -d
Description:    Linux Mint 19 Tara

$ mpv --version
mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects

(Japanese AGMPlayer for Ubuntu also worked on the same environment, though this wasn't stable.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.