-
Notifications
You must be signed in to change notification settings - Fork 360
Description
-
Platform: Linux 6.16.7-arch1-1 SMP PREEMPT_DYNAMIC Thu, 11 Sep 2025 17:42:36 +0000 x86_64 GNU/Linux
-
MythTV version: v35.0-33-g931474b3a0
Also see mythtv_version.txt -
Package version: 35.0.r33.g931474b3a0-1, Arch Linux AUR https://aur.archlinux.org/packages/mythtv-git
-
Component: Frontend
What steps will reproduce the bug?
- Create or find a Matroska file with an AV1 video stream, at 720x480, SAR 32:27, DAR 16:9.
I created a sample that shows this issue: https://drive.google.com/file/d/1QdWG3aIlNyqrrpom9-IsSceQWuwfIpOV/view?usp=sharing - Add this file to a dir configured in MythTV Backend for video file storage.
- Navigate to Watch Videos in the Frontend, and select this file.
- Play the file. The width is not stretched by the proper 32:27 (1.185x) amount.
How often does it reproduce? Is there a required condition?
This has happened on all the AV1 videos I have processed so far with these dimensions and SAR in a MKV container.
I notice on my frontend system, the playback is using Ffmpeg, not VAAPI.
What is the expected behaviour?
The video should be automatically stretched horizontally by 1.185x, by the player honoring the 32:27 SAR property. On many other videos I own, processed to H.264 video streams, this was never an issue, and the SAR was always honored. But I have switched to using AV1 encoding now, to backup my remaining content which I own.
What do you see instead?
The video plays fine, and audio is fine, but the video is horizontally "squished", leaving black bars on each side of the screen. I can manually force "16:9" aspect ratio in the Playback context menu, and then the video is stretched, so it seems the Ffmpeg player is capable of doing the right thing.
Additional information
I also saw this issue on the previous version of MythTV I had. But I upgraded to the latest stable to be sure (in fact I reinstalled my whole MythTV server with a new drive).
If there is any workaround anyone can provide, like some hidden config setting for the Ffmpeg player, that would be great. For now the only workaround I can think of to "fix" this automatically is to stretch the video as I process it, forcing the SAR to 1:1, but this wastes extra storage on the enlarged frames without increasing quality.