mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Thumbnails generated with wrong aspect ratio

Open YorikSar opened this issue 6 years ago • 0 comments

I have a mkv video for which mkvinfo reports:

|  + Video track
|   + Pixel width: 576
|   + Pixel height: 568
|   + Display width: 1010
|   + Display height: 568

And mpv reports:

 (+) Video --vid=1 (*) (h264 576x568 25.000fps)

So basically it has different pixel and display width. It looks like script ends up relying on pixel width (with almost 1:1 ratio) rather than display width (with 16:9 ratio).

I did some debugging and it seems that in video-dec-params dw=w=576 while in video-params dw=1010. Maybe script shold use video-params? I'm using hwdec=vaapi, maybe that's what makes it different.

YorikSar avatar Oct 12 '19 21:10 YorikSar