Video stretching issue with libvlc on macOS 10.14

This forum is about all development around libVLC.
KleinsBeer
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2019 21:24

Video stretching issue with libvlc on macOS 10.14

Postby KleinsBeer » 01 Apr 2019 21:53

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.

Zweben
New Cone
New Cone
Posts: 1
Joined: 28 Apr 2019 17:06

Re: Video stretching issue with libvlc on macOS 10.14

Postby Zweben » 28 Apr 2019 17:12

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?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Video stretching issue with libvlc on macOS 10.14

Postby unidan » 29 Apr 2019 18:42

Hi, this might be the same issue as for https://forum.videolan.org/viewtopic.php?p=489883 , it might be a bug.

KleinsBeer
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2019 21:24

Re: Video stretching issue with libvlc on macOS 10.14

Postby KleinsBeer » 28 Jun 2019 16:40

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!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests