po5 / thumbfast

High-performance on-the-fly thumbnailer script for mpv
Mozilla Public License 2.0
861 stars 35 forks source link

Thumbnails showing as distorted lines #78

Closed BhaturaGuy closed 1 year ago

BhaturaGuy commented 1 year ago

https://user-images.githubusercontent.com/93109835/209558709-0400161c-4a29-4ec2-893a-a5486c4074d1.mp4

Happens 6 out of 10 times on any file. logs: logs.txt

christoph-heinrich commented 1 year ago

Based on the thumbnail it seems to think that the file as a very wide aspect ratio. Can you please provide a sample file where this is a problem?

BhaturaGuy commented 1 year ago

Based on the thumbnail it seems to think that the file as a very wide aspect ratio. Can you please provide a sample file where this is a problem?

Literally any file, mkv, mp4, vp9, video recorded from my android: Irrespective of aspect ratio

This is my conf if it helps:

# Socket path (leave empty for auto)
socket=

# Thumbnail path (leave empty for auto)
thumbnail=

# Maximum thumbnail size in pixels (scaled down to fit)
# Values are scaled when hidpi is enabled
max_height=350
max_width=350

# Overlay id
overlay_id=42

# Spawn thumbnailer on file load for faster initial thumbnails
spawn_first=yes

# Enable on network playback
network=yes

# Enable on audio playback
audio=no

# Enable hardware decoding
hwdec=yes

# Windows only: use native Windows API to write to pipe (requires LuaJIT)
direct_io=yes
2084x commented 1 year ago

I also experience this issue only when spawn_first=yes. It happens every time I open specific 4:3 files and is not random.

Here's a sample file: out.webm

hooke007 commented 1 year ago

looks like the same reason https://github.com/po5/thumbfast/issues/74

BhaturaGuy commented 1 year ago

I also experience this issue only when spawn_first=yes. It happens every time I open specific 4:3 files and is not random.

Looks like spawn_first=yes is causing the issue, but for me it is for any random file irrespective of their aspect ratio. Closing this as this is entirely related to #74.