If you play the m2ts (the one from the background video) alone it will play fine.
It fails for 1080p and 4k streams if inside a menu. Fails because of extradata. I have compiled Kodi on windows with libbluray and I'll have to debug this with breakpoints to figure out what is the value of the extradata that is being sent. The fail is here: https://github.com/xbmc/xbmc/blob/5230b683323ca58c62459a371c1306a6cb4d4644/xbmc/utils/BitstreamConverter.cpp For 4k it fails at line 444 (invalid hvcc). For 1080p it fails with the log on line 357 (invalid avcc) On Sat, Jan 30, 2021, 1:27 PM Shaya Potter <[email protected]> wrote: > On Sat, Jan 30, 2021 at 12:14 AM Vitor Dall'Acqua <[email protected]> > wrote: > >> Nailed it >> >> 2021-01-29 20:07:07.860 T:13984 INFO <general>: >> CBitstreamConverter::Open Invalid hvcC >> 2021-01-29 20:07:07.862 T:13984 ERROR <general>: >> CDVDVideoCodecAndroidMediaCodec:: Failed to create Android MediaCodec >> 2021-01-29 20:07:07.863 T:13984 INFO <general>: >> CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video >> Coding) >> > > have you tried it without the jvm and does it initiate the hardware cosdec > correctly? and therefore play the uhd fine? (i.e. by using kodi just to > select a title/playlist) > > the fact that it works well with regular blurays, but not UHD, makes me > wonder if kodi is initiating the hevc hardware codec incorrectly for the > UHD bluray or if the hevc codec doesn't support a mode it needs if its > going to have to "draw over" the screen, while the AVC codec does. Dont > know anything about android and built in codecs and their capabilities, so > just thinking out loud about what could be the differences. > _______________________________________________ > libbluray-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/libbluray-devel >
_______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
