Flickering and expanding window for some videos (VLC 3.0.0-20170518-0445 onwards)

macOS specific usage questions
gonhidi
Blank Cone
Blank Cone
Posts: 25
Joined: 04 Mar 2008 08:22

Flickering and expanding window for some videos (VLC 3.0.0-20170518-0445 onwards)

Postby gonhidi » 31 May 2017 21:30

Hi,

I was wondering if anyone here might relate to the following problem.

When I attempt to use current VLC 3.0.0 nightlies to play certain videos the main window does two things: it starts flickering (between what seems solid black or solid white and whatever it the window was showing before—such as a playlist—with no video—or audio—output); and it also grows (it gets a little bigger, then slightly smaller, and so on until it fills the screen). Sometimes I can stop playback; others I have to force-quit.

Steps to reproduce:
  1. Download a recent VLC nightly, starting with build 3.0.0-20170518-0445.
  2. Visit the Kodi samples page and download the first entry of section 3 (which links to <https://drive.google.com/file/d/0BwxFVk ... sp=sharing>.)
  3. Try and play the video.
Expected result: The video, with sound, should play.

Actual result: There is no video or audio; the VLC main window flickers and grows. It might be necessary to force-quit the application.

From my initial testing, affected videos showing the described behaviour are encoded using H.264, where the decoded format identified by VLC is "Planar 4:2:0 YUV)"; it does not happen for 10-bit encodes (format: "Planar 4:2:0 YUV 10-bit LE"). I have also experienced the flickering in ‘MPEG-4’ videos though in this case the window tries to shrink (perhaps simply because they are low-resolution 3GPP YouTube videos). Limitedly tested encodings which do not show the behaviour are VC-1, H.265, VP9, and ‘XVID’.

Building from source, the problem seems to rear its head with VLC revision 2.2.0-git-12552-g1664bf2d55 (commit 1664bf2d55d7239b54e87933ba75959a5bac4d77). Revision 2.2.0-git-12551-gc45ece9738 (the previous commit) seems to work fine.[*] Since the commit is OpenGL-related, perhaps not all Mac plaftforms experience it. My setup is the following:

MacBook Pro (Retina, Mid 2012) running macOS 10.12.5, which carries the following:
  • CPU: Intel Core i7-3615QM
  • Integrated graphics: Intel HD Graphics 4000 (Vendor, Device ID, Revision ID: 0x8086, 0x0166, 0x0009)
  • Dedicated graphics: NVIDIA GeForce GT 650M (Vendor, Device ID, Revision ID: 0x10de, 0x0fd5, 0x00a2)
(In case it might be relevant, System Information reports for both graphic cards that gMux is version 3.2.19 [3.2.8] and that Metal is supported.)

Thanks to anyone who can test and report whether they can reproduce or not the issue on their hardware and OS X version. Cheers.

[*] There are actually some problems with at least a couple of the sample videos from the Kodi page (the 1080i ones from section 3: [1, 2]) which have troble with the video and show it green, but that seems to have started earlier, with the 20170421-0445 3.0.0 nightly I believe, and might have already been fixed (though not as of nightly 3.0.0-20170517-0445).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Flickering and expanding window for some videos (VLC 3.0.0-20170518-0445 onwards)

Postby Jean-Baptiste Kempf » 01 Jun 2017 11:39

This looks like a VideoToolbox issue. Can you disable hardware decoding? (VLC -vvv --codec="avcodec,none")
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gonhidi
Blank Cone
Blank Cone
Posts: 25
Joined: 04 Mar 2008 08:22

Re: Flickering and expanding window for some videos (VLC 3.0.0-20170518-0445 onwards)

Postby gonhidi » 01 Jun 2017 18:03

Disabling hardware decoding as proposed is indeed a workaround for the described issue (as well as the one mentioned in the footnote).

gonhidi
Blank Cone
Blank Cone
Posts: 25
Joined: 04 Mar 2008 08:22

Re: Flickering and expanding window for some videos (VLC 3.0.0-20170518-0445 onwards)

Postby gonhidi » 15 Jun 2017 01:11

I hadn't updated VLC until today yet it seems that the day after the last post a patch landed that fixed the issue (commit 46a04850f90134b01074205dc8126d0f60292672). Thanks!


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests