Skip to content

Conversation

uiryuu
Copy link
Member

@uiryuu uiryuu commented Dec 30, 2023


Description:
In some formats (like most of Japanese TV video formats), display aspect ratios (DAR) are different from the sample aspect ratio (SAR). A typical configuration is SAR 1440x1080i (4:3) w/ DAR 1920x1080 (16:9). So I changed to try to get the display aspect ratio from mpv to properly display the thumbnail.

Before:
image

After:
image

Testing video: https://drive.google.com/file/d/1tKMnXhpMBGbTLUh3uxFl6F4xdiB3nBtw/view?usp=drive_link

@uiryuu uiryuu changed the title Display thumbnail in DAR instead of SAR Display thumbnails in DAR instead of SAR Dec 30, 2023
Copy link
Contributor

@low-batt low-batt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled PR, built IINA, tested changes with the listed test video. Looks good to me.

@uiryuu
Copy link
Member Author

uiryuu commented Jan 2, 2024

I pushed another commit to fix the aspect ratio issue for the mini player as well.

@uiryuu uiryuu merged commit 73a473e into develop May 26, 2024
@uiryuu uiryuu deleted the thumbnail_dar branch May 26, 2024 10:37
uiryuu added a commit that referenced this pull request Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants