TrebleDroid/treble_experimentations

Distorted video colors in some apps

Opened this issue · 2 comments

Current Behavior:

Video colors on some apps like TikTok, Rutube, Camera and some others and also in browser are kind of inverted:

telegram-cloud-photo-size-2-5397801510932436570-y

To Reproduce

I don't know how to exactly reproduce this issue, but I know that it occurs also on Realme and OnePlus phones with GSI installed, so I think it's vendor-independent issue.

Expected behavior

Video should render with correct colors (example from screenshot):

image

Smartphone (please complete the following information):

Possible Solution

As I investigated, this issue is caused by the lack of ffmpeg codecs. There's a Magisk module that solves this problem by adding some ffmpeg codecs and turning on Vulkan: fix+ffmpeg+codec.zip. Unfortunately, I'm not able to root my device or install vndklite build – device simply goes into bootloop after flashing in both cases.

Any updates?

Any update with this? Same issue, it seems like it exists on all A13-A14 GSIs with TD patches/based. On A12, this issue doesn't exists at all. The magisk module zip fixes the issue in some apps but in things like video calls and such, the colors are inverted.