h265 10bit causing black screen
#1
I have a few files when i play them, i can hear the audio but the TV screen is black. I cannot see anything at all, not even the Kodi OSD. Disabling the two mediacodec acceleration options has fixed the problem but what could be causing this? Playing the exact same file in Plex has no issues.

This has been the case with all Kodi 18 RC builds, current using RC4 on an up to date Nvidia Shield connected to a Sony 900E TV.

EDIT: I retested all files i have and the black screen problem only happens to a few files, below is one of the problematic files
Quote:General
Complete name                            : test.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 517 MiB
Duration                                 : 56 min 12 s
Overall bit rate                         : 1 285 kb/s
Encoded date                             : UTC 2018-04-26 14:52:43
Writing application                      : mkvmerge v20.0.0 ('I Am The Sun') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.8
Writing frontend                         : StaxRip v1.7.0.6

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 56 min 11 s
Bit rate                                 : 1 201 kb/s
Width                                    : 1 920 pixels
Height                                   : 960 pixels
Display aspect ratio                     : 2.000
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.027
Stream size                              : 483 MiB (93%)
Writing library                          : x265 2.7+2-22c127ff05d5:[Windows][MSVC 1900][64 bit] 10bit
Encoding settings                        : cpuid=1173503 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / ssim / log-level=2 / input-csp=1 / input-res=1920x960 / interlace=0 / total-frames=80844 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=1.30 / psy-rdoq=1.05 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=1200 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=1 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1
Default                                  : Yes
Forced                                   : No
Color range                              : Full

Audio
ID                                       : 2
Format                                   : AAC LC SBR
Format/Info                              : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name                          : HE-AAC
Format settings                          : Explicit
Codec ID                                 : A_AAC-2
Duration                                 : 56 min 12 s
Bit rate                                 : 82.2 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 23.438 FPS (2048 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 31 ms
Stream size                              : 33.0 MiB (6%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 54 min 42 s
Bit rate                                 : 46 b/s
Count of elements                        : 615
Stream size                              : 18.8 KiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 54 min 42 s
Bit rate                                 : 46 b/s
Count of elements                        : 613
Stream size                              : 18.7 KiB (0%)
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Chapter 1
00:28:20.333                             : en:Chapter 2
00:41:16.625                             : en:Chapter 3
00:46:44.458                             : en:Chapter 4
Reply
#2
(2018-12-30, 09:18)JonSnow88 Wrote: but what could be causing this?
It's a nice MediaInfo file on your 'test' file. But it says absolutely nothing on what is going on inside your Kodi device.

So how about also submitting a debug-enabled kodi.log file after playing your problem video? Preferably via a pastebin website... Smile
Reply
#3
I did remove my IPs from the logs, and have fixed the issue with some files not loading.

https://paste.kodi.tv/cajujonapo.kodi
Reply
#4
(2018-12-30, 10:48)Klojum Wrote:
(2018-12-30, 09:18)JonSnow88 Wrote: but what could be causing this?
It's a nice MediaInfo file on your 'test' file. But it says absolutely nothing on what is going on inside your Kodi device.

So how about also submitting a debug-enabled kodi.log file after playing your problem video? Preferably via a pastebin website... Smile

Any update?
Reply
#5
No. Nothing useful in the log. Try to disable mediacodec and mediacodec surface.

It will stutter but black screen should be gone.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
(2018-12-31, 21:16)fritsch Wrote: No. Nothing useful in the log. Try to disable mediacodec and mediacodec surface.

It will stutter but black screen should be gone.

It plays perfectly with those options disabled as i stated in OP. Could it be badly encoded files?

Never really encountered a file Kodi couldn't handle.
Reply
#7
Post a sample and we can find out.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
h265 10bit causing black screen0