mpv_thumbnail_script
mpv_thumbnail_script copied to clipboard
Vertical video aspect ratios are broken
Issue from the abandoned upstream https://github.com/TheAMM/mpv_thumbnail_script/issues/82
Does this problem only occur when rotation is set to 90 degrees? And is it always occurring?
I quickly checked like 10 different files. I was able to find one without Rotation: 90 and that works correctly. So it does seem to be only videos with the rotation set to 90 degrees
I can not reproduce this.
I used exiftool -rotation=90 vid.mp4 to set the rotation flag on some videos.
Either the thumbnails work correctly (rotated too) or the thumbnails are squeezed.
But I don't get completely unusable thumbnails like in the screenshot from the issue you linked
That's strange. I can recreate it using the steps you just posted on any video, no matter the aspect ratio. Anything with the rotation set to 90 deg creates the exact same bug.
I've had this issue occasionally and it's always vertical videos that were shot from a smartphone and imported directly from the phone (not downloaded from youtube or a website that compresses or modifies the video during upload).
I remember having a similar problem when using Kodi on my Raspberry Pi, if I hit play on any vertical video it looked all glitched (the actual video, not the thumbnails), audio was fine though.
Here's a sample that generates glitched thumbnails on my end, @marzzzello can you try this file:
https://user-images.githubusercontent.com/6264194/145737907-3fb3c8e5-e510-4641-8631-72c1b725ecb1.mp4
how it looks here:

@iiiGerardoiii That's how your video looks for me.
What OS and mpv version are you using? Any modifications or config changes?
I use mpv 1:0.34.0-3 on Arch, tested with mpv_thumbnail_script 0.4.4 and 0.4.5
My configs: conf.zip
Interesting, sometimes it shows the stretched thumbnail, and sometimes it glitches.
Try to play the actual video link without downloading it maybe:
.\mpv.com https://user-images.githubusercontent.com/6264194/145737907-3fb3c8e5-e510-4641-8631-72c1b725ecb1.mp4