Skip to content

HDR not working on RK3328 in SPMC with latest mpp #6

Description

@mo123

Hi

It seems latest mpp 21 Dec 2017(https://github.com/HermanChen/mpp/commits/develop) also have problems again with HDR video with SPMC but not with Kodi 18 on RK3328.

Can test this video, maybe a h264 codec problem?
http://hdrsamples.com/exodus-4k-uhd-hdr-sample-footage/

Video doesn't open at all with SPMC.
The logcat shows lots of errors for Mediacodec.
I attach the logs including SPMC log too.

If I use mpp from here, June 2017 then HDR is working again in SPMC.
https://github.com/ayufan-rock64/mpp/commits/develop

So somewhere between June - Dec, h264 HDR broke or an incompatibility formed.

SPMC is based on Krypton and made with Android NDK 14b.
Kodi 18 that works with HDR is based on Leila and compiled with NDK 16.
MPP I built I compiled with NDK 10d and also tried 13b(with arm-linux-androideabi-4.8 toolchain).
Can that cause a problem for video playback?

SPMC Log
https://pastebin.com/aMaWL0CQ

RK3328 Logcat(shows lots of Mediacodec errors)
https://pastebin.com/pkfAsA6V

I also sent to James to check.

Hope it can be solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions