Prevent player from ignoring display color profile

This forum is about all development around libVLC.
Hanley
Blank Cone
Blank Cone
Posts: 22
Joined: 30 May 2013 04:56

Prevent player from ignoring display color profile

Postby Hanley » 23 Jun 2022 23:50

When I change the color profile of my iMac display, the color of everything on my screen changes, as expected. However, a moment later, VLC changes the video's color back to what it was.

This is happening with both the libvlc player I've implemented in my app, as well as the VLC app.

The videos I'm playing in my app are screen capture videos of a portion of the app itself, so the color needs to match exactly.

Is it possible to tell libvlc to stick to the display's color profile?

Hanley
Blank Cone
Blank Cone
Posts: 22
Joined: 30 May 2013 04:56

Re: Prevent player from ignoring display color profile

Postby Hanley » 24 Jun 2022 17:18

Ok, so in VLC this can be fixed in Preferences -> Video -> Output Modules -> set Video Output Module to "Mac OS X OpenGL video output".

Now how do I do this in libvlc? The only thing I've come across is a suggestion to use -vout, but that only seems to be a Windows option.

Hanley
Blank Cone
Blank Cone
Posts: 22
Joined: 30 May 2013 04:56

Re: Prevent player from ignoring display color profile

Postby Hanley » 24 Jun 2022 17:42

Oddly enough, removing libcaopengllayer_plugin did the trick [he said to no one in particular]

Thanks for your help Hanley!

You're welcome Hanley!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests