<div dir="auto">This problem is true for every disc, regular or uhd.<div dir="auto">Since the shield is doing all the hard work with software rendering the entire menu becomes slow.</div><div dir="auto">But this isn't perceptible with the shield on 1080p because it has the power to render it and display the menu.</div><div dir="auto"><br></div><div dir="auto">Both cases you present might be the reason for that.</div><div dir="auto"><br></div><div dir="auto">But I would say that the missing ts packets have a higher chance of being the one.</div><div dir="auto"><br></div><div dir="auto">The good news is that I tried several regular blurays and everything plays just fine.</div><div dir="auto"><br></div><div dir="auto">This is probably the last step we have to work with, after that is just preparing for release.</div><div dir="auto"><br></div><div dir="auto">Also, Petri, do you think you could share the changes you made on JRE to allow it to run without JAVA_HOME?</div><div dir="auto"><br></div><div dir="auto">And did you create a make file to compile it? Or did it by hand?</div><div dir="auto"><br></div><div dir="auto">And finally, the changes needed on libbluray are just a few lines of code on bdj.c.</div><div dir="auto">Do you think a #ifdef android would be a good idea?</div><div dir="auto"><br></div><div dir="auto">I believe that even VLC could play full disks on Android too.</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Jan 30, 2021, 1:58 PM Petri Hintukainen <<a href="mailto:phintuka@users.sourceforge.net">phintuka@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">la, 2021-01-30 kello 18:27 +0200, Shaya Potter kirjoitti:<br>
> On Sat, Jan 30, 2021 at 12:14 AM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com" target="_blank" rel="noreferrer">veggav@gmail.com</a>><br>
> wrote:<br>
> > Nailed it<br>
> > 2021-01-29 20:07:07.860 T:13984 INFO <general>:<br>
> > CBitstreamConverter::Open Invalid hvcC<br>
> > 2021-01-29 20:07:07.862 T:13984 ERROR <general>:<br>
> > CDVDVideoCodecAndroidMediaCodec:: Failed to create Android<br>
> > MediaCodec<br>
> > 2021-01-29 20:07:07.863 T:13984 INFO <general>:<br>
> > CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency<br>
> > Video Coding)<br>
> > <br>
> <br>
> have you tried it without the jvm and does it initiate the hardware<br>
> cosdec correctly? and therefore play the uhd fine? (i.e. by using<br>
> kodi just to select a title/playlist)<br>
<br>
Yes, could check that too (or even playing directly the problematic<br>
.m2ts file). I remember there was an issue where few first ts packets<br>
were skipped. That could cause issues while initializing HW codec ?<br>
<br>
> the fact that it works well with regular blurays, but not UHD, makes<br>
> me wonder if kodi is initiating the hevc hardware codec incorrectly<br>
> for the UHD bluray or if the hevc codec doesn't support a mode it<br>
> needs if its going to have to "draw over" the screen, while the AVC<br>
> codec does. Dont know anything about android and built in codecs and<br>
> their capabilities, so just thinking out loud about what could be the<br>
> differences.<br>
<br>
Maybe HW codec is disabled intentionally ? Vitor, you mentioned<br>
something about DVD menus earlier. Could it be HW decoding in menus is<br>
disabled because of DVD/MPEG2 still images ?<br>
BluRay menus usually use background video, so this is not needed. Those<br>
few that use still images should be easy to detect from playlist<br>
metadata.<br>
_______________________________________________<br>
> libbluray-devel mailing list<br>
> <a href="mailto:libbluray-devel@videolan.org" target="_blank" rel="noreferrer">libbluray-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
<br>
<br>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank" rel="noreferrer">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div></div>