mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Thumbnails are too small on HiDPI Screens

Open Oliver-Hanikel opened this issue 2 years ago • 5 comments

Problem

When using a 4k screen the thumbnails are too small. disney

Solution

The simplest possible solution would be to scale up the generated thumbnails by a constant factor, defined in the config file of the script. Maybe there is another simple and more flexible solution.

Alternative Solution

Setting the thumbnail_width or thumbnail_height to 600 did not result in bigger thumbnails (on a 1080p Video), but even if it did I don't really want to generate bigger thumbnails, because that could potentially take longer and fill up my /tmp directory. I would rather have small thumbnails that get scaled up (bilinearly?) to the desired size.

Thanks for maintaining the project :heart:

Oliver-Hanikel avatar Jan 10 '23 17:01 Oliver-Hanikel

It may be nice to scale the thumbnails based on how big the window is, the osc already does this somewhat.

NicolaSmaniotto avatar Jul 15 '23 14:07 NicolaSmaniotto

The way thumbfast deals with this is by multiplying the configured thumbnail dimensions by display-hidpi-scale.

po5 avatar Nov 14 '23 00:11 po5

You might want to enable storyboard_upscale option. https://github.com/marzzzello/mpv_thumbnail_script/blob/6b42232c98ec699e79547b1f52b027d808e50d62/src/options.lua#L131

ftk avatar Nov 20 '23 11:11 ftk