Page 1 of 1

Video stretching issue with libvlc on macOS 10.14

Posted: 01 Apr 2019 21:53
by KleinsBeer
Hi,

First of all, I just wanted to say thank you to the vlc developers, your hard work is much appreciated!

I'm encountering an issue with the libvlc python bindings on macOS 10.14 Mojave after resizing the player window. It looks like the video is stretching out to fill the entire video panel, rather than maintaining its aspect ratio.

I'm able to reproduce this issue with the example libvlc wxPython and PyQt5 scripts at https://git.videolan.org/?p=vlc/binding ... 09;hb=HEAD

I've attached a couple of screenshots to indicate what I mean:

The example PyQt5 app:
Image

The example wxPython app:
Image

I believe this issue is new under macOS 10.14. The video appears to maintain its correct aspect ratio after resizing on macOS 10.13 High Sierra.

I'd be very grateful for any help or suggestions.

Re: Video stretching issue with libvlc on macOS 10.14

Posted: 28 Apr 2019 17:12
by Zweben
I am having the same issue with a macOS app implementing VLCKit in Swift. The aspect ratio corrects itself most of the time if I stop and restart the video, but I have not found a way to keep it to the correct ratio when resizing the view.

Does anyone have any suggestions?

Re: Video stretching issue with libvlc on macOS 10.14

Posted: 29 Apr 2019 18:42
by unidan
Hi, this might be the same issue as for https://forum.videolan.org/viewtopic.php?p=489883 , it might be a bug.

Re: Video stretching issue with libvlc on macOS 10.14

Posted: 28 Jun 2019 16:40
by KleinsBeer
I've tried this again with the latest version of vlc (3.0.7.1) and it looks like this stretching issue has been resolved.

Many thanks!