D3DX: Wrong aspect ratio with some files with hw decoding
I have some MP4 files with 720x576 pixel format (4:3) and a SAR value of 64:45 (16:9)
Since vlc-3.0.0-20170810-0509-git, VLC shows the video in 4:3 instead of 16:9
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author
- Author
- Author
Sample was uploaded by VideoLAN file Uploader
- Owner
Regression
- Jean-Baptiste Kempf changed the description
changed the description
- Jean-Baptiste Kempf changed milestone to %3.0.0
changed milestone to %3.0.0
- Jean-Baptiste Kempf assigned to @fcartegnie
assigned to @fcartegnie
- Developer
not related to MP4 at all. works fine here
- François Cartegnie added 1 deleted label
added 1 deleted label
- François Cartegnie changed title from Wrong aspect ratio with some MP4 files to Wrong aspect ratio with some files
changed title from Wrong aspect ratio with some MP4 files to Wrong aspect ratio with some files
- Developer
see vout / decoder
- Developer
likely d3d9 to d3d11 change
- Owner
possible. Steve?
- Reporter
Tested on https://nightlies.videolan.org/build/win64/vlc-3.0.0-rc6-20180115-0505/
With either d3d9 or d3d11 output:
- with hw acceleration enabled: the video is displayed in 4:3
- with hw acceleration disabled: the video is displayed in 16:9
- Jean-Baptiste Kempf changed title from Wrong aspect ratio with some files to D3DX: Wrong aspect ratio with some files with hw decoding
changed title from Wrong aspect ratio with some files to D3DX: Wrong aspect ratio with some files with hw decoding
- Jean-Baptiste Kempf added Component::Video: Direct3D / Win32 label and removed 1 deleted label
added Component::Video: Direct3D / Win32 label and removed 1 deleted label
- Jean-Baptiste Kempf assigned to @robUx4 and unassigned @fcartegnie
assigned to @robUx4 and unassigned @fcartegnie
- Developer
I can confirm the switch of behaviour in the nightly builds. But when building an older that should work I still see the issue. I wonder if that's something in the contribs.
- Developer
Even after rebuilding and old ffmpeg, a build from August 4th 2017 still has the issue. So I'm not exactly what changed to make it not work anymore (or maybe that's really how the file should be displayed).
- Developer
MediaInfo reports an aspect ratio of 16:9 though, and a pixel size of 720x576.