TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
212 stars 27 forks source link

Distorted video colors in some apps #78

Open vanelizarov opened 10 months ago

vanelizarov commented 10 months ago

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](https://rutube.ru/video/08172d854e27cb21e87fa7429864067b/?r=a)): image ### Smartphone (please complete the following information): - Device: Teclast T40 Pro T1A3 - Build Flavor: [system-td-arm64-ab-vanilla.img.xz](https://github.com/TrebleDroid/treble_experimentations/releases/download/ci-20231125/system-td-arm64-ab-vanilla.img.xz) - Version: treble_arm64_bvS-userdebug 14 UP1A.231105.003 231125 test-keys ### 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.

vanelizarov commented 8 months ago

Any updates?

gian1245 commented 6 months ago

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.