Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder Failed playing some Dolby Vision Movies #627

Open
DeuxNovem opened this issue Nov 15, 2024 · 3 comments
Open

Decoder Failed playing some Dolby Vision Movies #627

DeuxNovem opened this issue Nov 15, 2024 · 3 comments

Comments

@DeuxNovem
Copy link

When playing some Dolby Vision Movies i get the error: Decoder failed: c2.dolby.decoder.avc.
Other error is MediaCodecVideoRenderer error, index=0, format=Format(1,null,null

  • Model: [Lenovo P11 pro gen 2 ]
  • OS: [Android 13]
  • Version [Doesn't Specify]

Media File was a Blu-Ray version of Batman 2022.

@moneytoo
Copy link
Owner

Probably a device decoder or media issue. Try replicating that with ExoPlayer Demo or Next Player.

@DeuxNovem
Copy link
Author

DeuxNovem commented Nov 16, 2024

so with Next Player i get the error

MediaCodecVideoRenderer error, index=0, format=Format(1,null,null,video/dolby-vision,dvhe.07.06,-1,en[3840,2160,-1.0,null],[-1,-1]), format_supported=NO_EXCEEDS_CAPABILITES.

I figured out what the issue is. I saw in a previous thread that the if the audio track only has 7.1 audio and no other fallback it crashes. Hopefully there is a to get it working. I tested the videos in other basic players and the 7.1 audio plays but no video. So as of now i'll so to only get 5.1 audio to keep everything working

@endervad
Copy link

Same error on MTK version of this device (TB132FU), also Android 13 (TB132FU_S240264_241101_ROW). Tried playing several movies and they all failed to play. But, playback of this Dolby Vision sample worked: https://4kmedia.org/lg-earth-dolby-vision-uhd-4k-demo/. All movies have both DTS 5.1 and DTS 7.1 audio tracks, while the sample has E-AC-3.

MediaInfos:

Movie 1
Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@High
HDR format                               : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 29 min
Bit rate                                 : 67.7 Mb/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 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.341
Stream size                              : 42.4 GiB (91%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 701 cd/m2
Original source medium                   : Blu-ray
Movie 2
Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@High
HDR format                               : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 49 min
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 (Type 2)
Bit depth                                : 10 bits  
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1242 cd/m2
Maximum Frame-Average Light Level        : 436 cd/m2
Dolby Vision Sample
Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@Main
HDR format                               : Dolby Vision, Version 1.0, Profile 5, dvhe.05.09, BL+RPU, no metadata compression
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 55 s 200 ms
Bit rate                                 : 34.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 60.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.069
Stream size                              : 226 MiB (98%)
Encoded date                             : 2017-03-30 17:23:39 UTC
Tagged date                              : 2017-03-30 17:23:39 UTC
Codec configuration box                  : hvcC+dvcC

Here's the catch: I've just flashed global ROM on this tablet. Before it had Chinese ZUI 14 (Android 12), and Dolby Vision worked fine over there on all content. So, maybe this is indeed a bug in Dolby Vision device decoder on the global ROM? Or could the logs help to see what's going on?

Either way for now it seems like going back to Chinese ROM is the way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants