Weird HDR washed out color problem with libvlc on Android

This forum is about all development around libVLC.
MichaelL
New Cone
New Cone
Posts: 1
Joined: 28 Sep 2023 09:01

Weird HDR washed out color problem with libvlc on Android

Postby MichaelL » 28 Sep 2023 09:30

Hi,

I'm new to this forum. Before this post, I checked whether there was a conversation related to my question. But none of them was so now I have to ask on my own.

I've cloned the recent version of vlc-android on my virtual machine (Ubuntu) and built both the application and the library.
I installed the vlc-android application on my test device (Redmi K20 Pro, Android 13). Everything worked fine including playing HDR videos. The color was correct.
Then I installed my test application which contained libvlc inside. The color was incorrect and I've tried everything I can do to fix this but still no difference.
Some other details to provide:
1. I tried disabling HW decoding. The color turned out to be correct but the frame dropped and the image stuttered. Some HDR videos are even not playable.
2. I forced the media option ':codec=all', the same as above.
3. I checked configurations in vlc, and nothing was different.
4. I checked codec and color information with 'adb logcat', and still no difference.

Did I miss something critical to configure?

vlc-android version: 3.5.4
libvlc version: 3.0.18

vlc-android playing HDR
Image

my test application playing HDR
Image

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: Weird HDR washed out color problem with libvlc on Android

Postby Jean-Baptiste Kempf » 10 Nov 2023 10:59

Did you check the difference in logs?
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests