Page 3 of 10

Re: Dolby vision for Android

Posted: 14 Nov 2019, 20:51
by cosmoxl
koying wrote: 14 Nov 2019, 17:58 What's happening when trying to play DV on the new shield?
Debug log welcome.

Thx

PS: A dump of "media_codecs.xml" (on "/system/vendor/etc" I guess) would be useful as well
QQ2TQ.log

There's one that plays HDR instead of DV, one that plays SDR instead of DV and looks normal, and another that plays SDR instead of DV and the colors are inverted or something.

I'm not seeing the media_codecs.xml using x-plore. I searched the whole root and didn't find anything with codec in the name. I assume it's searching recursively.

Re: Dolby vision for Android

Posted: 15 Nov 2019, 16:21
by Angryunibrow
koying wrote: 12 Nov 2019, 18:14 Looking into it, but I'm a bit clueless, atm.
HDR10 worked out-of-the-box, so not sure what magic is to be done for DV.

Fact that I own neither the new shield nor a DV TV doesn't help , ofc ;)
Hi Koying

This is from the Plex forum, I think one of the developers on updating Plex.

We need to detect the video stream is Dolby Vision and use the Dolby Vision decoder, if not we will end up using the HEVC decoder (since thats the video’s stream format).

Re: Dolby vision for Android

Posted: 15 Nov 2019, 16:39
by koying
cosmoxl wrote: 14 Nov 2019, 20:51 I'm not seeing the media_codecs.xml using x-plore. I searched the whole root and didn't find anything with codec in the name. I assume it's searching recursively.
Looks like it might be "/vendor/odm/etc/media_codecs.xml" nowadays
Angryunibrow wrote: 15 Nov 2019, 16:21 This is from the Plex forum, I think one of the developers on updating Plex.

We need to detect the video stream is Dolby Vision and use the Dolby Vision decoder, if not we will end up using the HEVC decoder (since thats the video’s stream format).
Yep. I saw hints that DV might use a different decoder, with a different mime type.
That hypothesis I'd like to confirm with a "media_codecs.xml" from the new shield.

Re: Dolby vision for Android

Posted: 15 Nov 2019, 17:07
by cosmoxl
koying wrote: 15 Nov 2019, 16:39
cosmoxl wrote: 14 Nov 2019, 20:51 I'm not seeing the media_codecs.xml using x-plore. I searched the whole root and didn't find anything with codec in the name. I assume it's searching recursively.
Looks like it might be "/vendor/odm/etc/media_codecs.xml" nowadays
Angryunibrow wrote: 15 Nov 2019, 16:21 This is from the Plex forum, I think one of the developers on updating Plex.

We need to detect the video stream is Dolby Vision and use the Dolby Vision decoder, if not we will end up using the HEVC decoder (since thats the video’s stream format).
Yep. I saw hints that DV might use a different decoder, with a different mime type.
That hypothesis I'd like to confirm with a "media_codecs.xml" from the new shield.
I guess I don't know how to get that file. Or I don't have access because the shield isn't rooted? Most of those OS subdirectories don't open as if there's nothing in them with x-plore

Re: Dolby vision for Android

Posted: 15 Nov 2019, 17:15
by koying
cosmoxl wrote: 15 Nov 2019, 17:07 I guess I don't know how to get that file. Or I don't have access because the shield isn't rooted? Most of those OS subdirectories don't open as if there's nothing in them with x-plore
Yeah, maybe.

Well, I see a "OMX.Nvidia.DOVI.decode" in your log which might be it.
I'll give it a blind guess ;)

Re: Dolby vision for Android

Posted: 16 Nov 2019, 10:10
by koying
I've uploaded a new beta. Please test and report.
Thx

Re: Dolby vision for Android

Posted: 16 Nov 2019, 14:18
by cosmoxl
koying wrote: 16 Nov 2019, 10:10 I've uploaded a new beta. Please test and report.
Thx
It works except on some files.. On files it doesn't work it causes the shield to reboot. :)

The files it doesn't work on, I think, are ones with a dual layer. They'll fall back to HDR or SDR if the system isn't capable of DV.

With the crash though I'm not sure how to get you a log.

Re: Dolby vision for Android

Posted: 16 Nov 2019, 14:49
by koying
Thanks for the report.

Is there something capable to play the problematic files on the new shield?
If not, do they make the shield reboot as well?

Re: Dolby vision for Android

Posted: 16 Nov 2019, 15:02
by cosmoxl
koying wrote: 16 Nov 2019, 14:49 Thanks for the report.

Is there something capable to play the problematic files on the new shield?
If not, do they make the shield reboot as well?
Yes, the Plex app that's updated ( I don't think beta anymore) plays them all just fine.

Re: Dolby vision for Android

Posted: 16 Nov 2019, 15:50
by JGrana01
koying wrote: 16 Nov 2019, 14:49 Thanks for the report.

Is there something capable to play the problematic files on the new shield?
If not, do they make the shield reboot as well?
Hi Koying,
I have the new 2019 Shield. Interesting in that I don't believe it is a particular file. I tried this morning, playing this one first:
(Mediainfo)
General
Complete name : 01. HDR Color Clipping High_Dolby_Vision.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/dby1/isom)
File size : 26.1 MiB
Duration : 1 min 0 s
Overall bit rate : 3 651 kb/s
Encoded date : UTC 2019-04-04 16:57:36
Tagged date : UTC 2019-04-04 16:57:36

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@High
Dolby Vision : 1.0, dvhe.05.06, BL+RPU
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 1 min 0 s
Bit rate : 3 521 kb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.018
Stream size : 25.2 MiB (96%)
Writing library : x265 2.8hy:[Linux][GCC 4.8.4][64 bit] 10bit

Played fine. I then tried to view it a second time, same file.
MrMc went dark then Shield rebooted.

After reboot, I tried the above DV video then played an HDR video. Played fine. I then tried the same DV again - system reboot.
I tried a second time with a different DV file. This time, after reboot, I played the DV video first, stopped/quit then played around 4-5 HDR10 and SDR videos. All ran fine.
Attempted to run another DV video - reboot.