mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Vertical video aspect ratios are broken

Open Roxxers opened this issue 4 years ago • 7 comments

Issue from the abandoned upstream https://github.com/TheAMM/mpv_thumbnail_script/issues/82

Roxxers avatar Aug 10 '21 17:08 Roxxers

Does this problem only occur when rotation is set to 90 degrees? And is it always occurring?

marzzzello avatar Aug 10 '21 17:08 marzzzello

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

Roxxers avatar Aug 10 '21 17:08 Roxxers

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

marzzzello avatar Aug 10 '21 18:08 marzzzello

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.

Roxxers avatar Aug 10 '21 18:08 Roxxers

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: mpv_PCgu8XWaZe

iiiGerardoiii avatar Dec 13 '21 01:12 iiiGerardoiii

Screenshot from 2022-01-01 12-08-06 @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

marzzzello avatar Jan 01 '22 11:01 marzzzello

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

iiiGerardoiii avatar Mar 23 '22 09:03 iiiGerardoiii