rockchip-linux / mpp

Media Process Platform (MPP) module
596 stars 172 forks source link

[h265d] 44a9afe broke HEVC decode on certain video clip #668

Closed nyanmisaka closed 2 months ago

nyanmisaka commented 2 months ago

Keep getting errinfo frames on RK3588 after commit 44a9afe, revert it fixed the issue. cc author @FumasterLin

Error logs in journalctl:

mpp[798777]: mpp_serivce: mpp_service_reg_offset reg[180] offset has been set, cover old 40960 -> 163840
mpp[798777]: mpp_serivce: mpp_service_reg_offset reg[180] offset has been set, cover old 163840 -> 286720
mpp[798777]: mpp_serivce: mpp_service_reg_offset reg[180] offset has been set, cover old 286720 -> 40960
...

ffmpeg:

[vist#0:0/hevc @ 0xaaaae82f7800] [dec:hevc_rkmpp @ 0xaaaae8337050] Error submitting packet to decoder: Generic error in an external library
    Last message repeated 25 times
[vist#0:0/hevc @ 0xaaaae82f7800] [dec:hevc_rkmpp @ 0xaaaae8337050] Decoding error: Generic error in an external library
...

Links to the affected demo video: (Sony Camp 4K Demo.mp4) (Sony Camping in Nature is a promotional video, in in Ultra-HD HDR, for Sony TVs.)

nyanmisaka commented 2 months ago

Closing in e9d95ce