Bug 514337 - "Resize to fit video" doesn't take pixel aspect ratio into account
Summary: "Resize to fit video" doesn't take pixel aspect ratio into account
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.7.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-08 16:56 UTC by LaughingMan
Modified: 2026-01-08 16:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
video with black bars (1.56 MB, image/png)
2026-01-08 16:56 UTC, LaughingMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LaughingMan 2026-01-08 16:56:42 UTC
Created attachment 188321 [details]
video with black bars

STEPS TO REPRODUCE
1. Take a short standard 1920x1080 video file with a display aspect ratio of 16:9.
2. Convert said file with "ffmpeg -i input.mp4 -vf "scale=1918:872" output.mp4" to create a sample with a pixel aspect ratio of 6976:8631.
3. Enable "Resize to fit video" and play the resulting sample on a large enough screen.

OBSERVED RESULT
The video playback area is 1918x872 pixels, including thick black bars on the sides (see attached screenshot).

EXPECTED RESULT
The video playback area should be 1918x1078 pixels, without any black bars. That is, the non-square pixel aspect ratio should be taken into account. mpv handles this correctly.

SOFTWARE/OS VERSIONS
Kernel: 6.18-3
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1