VLC video source greater than 1080p plays back squashed
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
28.1.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/1dgV5dYCpGL2ldUa
OBS Studio Crash Log URL
No response
Expected Behavior
Any media with resolution greater than 1080p when playing back using VLC video source should scale correctly.
Current Behavior
When playing back media with resolutions above 1080p, VLC video source doesn't read the correct dimensions and plays back squashed. For example, a 3840x2160 video clip will playback at something like 344x1920. Editing transform settings and trying to adjust to correct dimensions results in pixelated quality on the horizontal resolution.
Steps to Reproduce
- Add media with resolution greater than 1080p to VLC video source
...
Anything else we should know?
No response
Probably a duplicate of either #7763 or #7775. I suspect that the VLC simply struggles to fetch the dimensions of ingested streams, and that this is not new to OBS 28.
This is when playing back local files, e.g. .mp4/.mkv,etc. This was working fine in OBS 27.
I've tested two media files I had lying around. One 2560x1440 (webm), and one 3840x2160 (mp4).
Both played back correctly for me in a VLC source. VLC version 3.0.17.4 Vetinari.
Would it be possible to get a small sample, or a small file that works incorrectly for you, so that I could see if I can reproduce the issue one my end?
Looks like their base canvas is 1080p. If a vlc source that's larger resolution is set to fit the canvas, wouldn't that get squished?
This looks like duplicate of #7666. This problem is caused by unsafe multiplying the width by Sample Aspect Ratio.
Duplicate of #7666