Solved Crash when playing H.265
#1
Kodi crashes when trying to play following file. VLC plays it no problem. What might be wrong?
Code:
Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 40 min
Bit rate                                 : 901 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 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                                : 8 bits
Bits/(Pixel*Frame)                       : 0.041
Stream size                              : 646 MiB (93%)
Writing library                          : x265 1.5:[Windows][GCC 4.9.0][64 bit]
Encoding settings                        : wpp / ctu=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=1 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / early-skip / no-fast-cbf / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / fast-intra / open-gop / interlace=0 / keyint=240 / min-keyint=24 / scenecut=40 / rc-lookahead=15 / bframes=4 / bframe-bias=0 / b-adapt=0 / ref=8 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=2 / psy-rd=0.30 / psy-rdoq=0.00 / signhide / lft / sao / no-sao-non-deblock / b-pyramid / no-cutree / rc=2 / pass / bitrate=900 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Reply
#2
No Debug Log no issue
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
https://paste.pound-python.org/show/CTrI...TkqyQmfZN/

^^ Issue. Wink

Edit: Hmmm ... don't see anything in it.

Edit again: https://paste.pound-python.org/show/Twco...mIw6Y8Vu3/

Edit even more: may this be the culprit?

Code:
ffmpeg[7F0CF3EFE700]: [hevc] Unknown HEVC profile: 0
Reply
#4
Please try with nightly. We bumped ffmpeg in there.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
I'm starting to think it is a bad file. And it has something to do with VA-API. Tested with mpv, plays fine:
Code:
$ mpv --vo=vaapi Storage/Oldies/Comedy/Indiscreet.mkv
Playing: Storage/Oldies/Comedy/Indiscreet.mkv
(+) Video --vid=1 (*) (hevc 1280x720 23.976fps)
(+) Audio --aid=1 --alang=eng (*) 'Mono' (aac 1ch 48000Hz)
(+) Subs  --sid=1 --slang=eng (*) (ass)
[ffmpeg/video] hevc: Unknown HEVC profile: 0
[ffmpeg/video] hevc: Unknown HEVC profile: 0
AO: [alsa] 48000Hz stereo 2ch float
VO: [vaapi] 1280x720 yuv420p
AV: 00:00:27 / 01:40:18 (0%) A-V:  0.001
Crashes mpv:
Code:
$ mpv --vo=vaapi --hwdec=vaapi Storage/Oldies/Comedy/Indiscreet.mkv
Playing: Storage/Oldies/Comedy/Indiscreet.mkv
(+) Video --vid=1 (*) (hevc 1280x720 23.976fps)
(+) Audio --aid=1 --alang=eng (*) 'Mono' (aac 1ch 48000Hz)
(+) Subs  --sid=1 --slang=eng (*) (ass)
[ffmpeg/video] hevc: Unknown HEVC profile: 0
[ffmpeg/video] hevc: Unknown HEVC profile: 0
AO: [alsa] 48000Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [vaapi] 1280x720 vaapi[nv12]
mpv: /var/tmp/portage/x11-libs/libva-intel-driver-1.8.2/work/intel-vaapi-driver-1.8.2/src/gen9_mfd.c:589: gen9_hcpd_get_reference_picture_frame_id: Assertion `0' failed.
Aborted
Reply
#6
I cut a 4 MiB piece of this file, it is here for download. Maybe someone can figure out why it does not play using VA-API. Thanks! Smile
Reply
#7
I tried playing in MPC-HC and does not play correctly there. (Unless all that psychedelic flashing is part of the movie)

It plays better in Kodi v17.1, but still suffers from macro blocking.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#8
OK, methinks there is something wrong with this file. Now I wonder if it can be fixed without recoding.
Reply

Logout Mark Read Team Forum Stats Members Help
Crash when playing H.2650