obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

VLC video source greater than 1080p plays back squashed

Open jamtasty1 opened this issue 3 years ago • 5 comments

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

  1. Add media with resolution greater than 1080p to VLC video source

...

Anything else we should know?

No response

jamtasty1 avatar Nov 28 '22 22:11 jamtasty1

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.

RytoEX avatar Nov 28 '22 22:11 RytoEX

This is when playing back local files, e.g. .mp4/.mkv,etc. This was working fine in OBS 27.

jamtasty1 avatar Nov 28 '22 22:11 jamtasty1

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?

flaeri avatar Nov 28 '22 22:11 flaeri

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?

MattyFresh68 avatar Nov 29 '22 00:11 MattyFresh68

This looks like duplicate of #7666. This problem is caused by unsafe multiplying the width by Sample Aspect Ratio.

CoalZombik avatar Dec 07 '22 11:12 CoalZombik

Duplicate of #7666

RytoEX avatar Feb 15 '23 21:02 RytoEX