phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.31k stars 653 forks source link

No x265 10bit playback HW codec #60

Open Abdelali-Elbihari opened 6 years ago

Abdelali-Elbihari commented 6 years ago

The x265 10bit videos in this rom are not working for me (mate 10 kirin970). tried several players, if i use sw codec it works but obviously laggy and slow, it needs HW acceleration but thats not worknig in this rom. In stock rom(emui 8) it does.

phhusson commented 6 years ago

Issue reproduced on View 10 Works fine on Galaxy S9 So Huawei-specific issue

Abdelali-Elbihari commented 6 years ago

Thank you for the confirmation.

phhusson commented 6 years ago

I'm seeing lots of gralloc logs, and it would make sense that the issue is the texture format is not recognized, but I don't know much about existing texture formats for 10bits, though Android O is supposed to support most of those

yshalsager commented 6 years ago

same on Xiaomi Note 5 (whyred) sdm660 whyred.log

Abdelali-Elbihari commented 6 years ago

Any idea if this is Treble related or CPU (specific codecs) related? Hope it can be fixed.

Abdelali-Elbihari commented 6 years ago

Here is the logcat for the X265 10 bit playback on with mxplayer (hw and hw+ codecs): Device: huawei Mate 10 SoC: kirin970 Video for testing (Tried 1080p and uhd): http://jell.yfish.us/media/jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv log.txt