mpv_thumbnail_script
mpv_thumbnail_script copied to clipboard
osc scale in smaller videos
OSC is tiny in smaller res videos; it's unusable. Is there a setting similar to osd-scale-by-window=no in the og osc?
Sounds like behaviour of mpv's OSC itself.
See if the following in mpv.conf helps.
script-opts-append=osc-vidscale=no # Do not scale by window size
script-opts-append=osc-scalewindowed=0.5
script-opts-append=osc-scalefullscreen=0.5
script-opts-append=osc-scaleforcedwindow=0.5
Check https://mpv.io/manual/stable/#configurable-options. Adjust the 0.5 values to your liking. You can also write in one line
script-opts=osc-vidscale=no,osc-scalewindowed=0.5,osc-scalefullscreen=0.5,osc-scaleforcedwindow=0.5
together with whatever you already have for script-opts, but I kinda like to put config in their own sections.
Not sure if this will help.. or if anyone else comes across this wants to know but I changed the scale of it by searching for this line in the script.
w = thumbnailer_options.thumbnail_width
and changing it to..
w = thumbnailer_options.thumbnail_width * 2
or put any multiplier you want.
It's much more visible/useable without being too big.
w = thumbnailer_options.thumbnail_width
and changing it to..
w = thumbnailer_options.thumbnail_width * 2
I just tried this and it doubles the resolution of the files saved.
I think you can achieve the same thing? by setting values higher or lower in: ~/.config/mpv/script-opts/mpv_thumbnail_script.conf thumbnail_width=400 thumbnail_height=400
w = thumbnailer_options.thumbnail_width and changing it to.. w = thumbnailer_options.thumbnail_width * 2I just tried this and it doubles the resolution of the files saved.
I think you can achieve the same thing? by setting values higher or lower in:
~/.config/mpv/script-opts/mpv_thumbnail_script.conf
thumbnail_width=400
thumbnail_height=400
Yea, that was a long time ago, I realised there was a dedicated way for resizing it, but good to know that I guess in case you wanted to make it half the resolution but still increase the size.