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-paramsdw=w=576 while in video-paramsdw=1010. Maybe script shold use video-params? I'm using hwdec=vaapi, maybe that's what makes it different.
I have a mkv video for which
mkvinfo
reports:And mpv reports:
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 invideo-params
dw=1010
. Maybe script shold usevideo-params
? I'm usinghwdec=vaapi
, maybe that's what makes it different.