Kodi Community Forum

Full Version: MKV jerking video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hell,
i have an odd mkv video file- the sound works fine - no delays, clear sound, but video has a noticeable delay - the picture refreshes like there is a delay on the network ( there is none - other files play well).
In the past i used to redecoded such files with HandBrake, but this one won't work - "scan: could not get a decoded picture"

I ran the latest Kodi on PI. The issue happens only on TV, on the latest Fedora VLC has no issues playing the file.

Please let me know what else information i must provide.

Code:
Mediainfo:
General
Unique ID                                : 249226462067371591860642907017396765757 (0xBB7F45478B4059739AF3FE4E7DDA443D)
Complete name                            : /mnt/storage/Video/123.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 250 MiB
Duration                                 : 56 min
Overall bit rate                         : 614 kb/s
Encoded date                             : UTC 2015-09-02 05:37:07
Writing application                      : mkvmerge v4.0.0 ('The Stars were mine') built on Jun  5 2010 17:44:09
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0

Video
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : [email protected]@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 56 min
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
Writing library                          : x265 1.6+174-4cccf22b00ee:[Windows][GCC 4.8.2][64 bit]
Encoding settings                        : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=2 / pass / bitrate=547 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
Default                                  : No
Forced                                   : No

Audio
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : A_AAC
Duration                                 : 56 min
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz / 24.0 kHz
Frame rate                               : 23.438 FPS (1024 spf)
Compression mode                         : Lossy
Delay relative to video                  : 31 ms
Default                                  : No
Forced                                   : No
Statistics Tags Issue                    : mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02 2015-09-01 15:03:48 / mkvmerge v4.0.0 ('The Stars were mine') built on Jun  5 2010 17:44:09 2015-09-02 05:37:07
FromStats_BitRate                        : 64040
FromStats_Duration                       : 00:56:56.363000000
FromStats_FrameCount                     : 80071
FromStats_StreamSize                     : 27348336

Text
ID                                       : 1
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Default                                  : Yes
Forced                                   : No
Would the common factor be those that have "Format HEVC"?
(2016-09-17, 04:44)nickr Wrote: [ -> ]Would the common factor be those that have "Format HEVC"?

cant say - it is only today i hit the wall with not been able to play.

P.S. Now reading on hevc - yes, the 250mb file has an hour worth of video. Never seen such compression before. Amazing. At the same time i'm almost certain this is first time i get this type of files. this can also explain why the only system that plays them is the latest Fedora 23. The Redhat 6.5 based vlc (2.0.7) can't even touch the files.
(2016-09-17, 04:44)nickr Wrote: [ -> ]Would the common factor be those that have "Format HEVC"?

HEVC (wiki)
does it mean that i'm out of luck on my PU with these files ?
HEVC is not hardware decoded on the Pi. The Pi3 using recent code may play it, depending on the encoding parameters, and which way the wind is blowing.

But yeah, I would stick to h.264 encoding with a Pi.
(2016-09-17, 05:16)nickr Wrote: [ -> ]HEVC is not hardware decoded on the Pi. The Pi3 using recent code may play it, depending on the encoding parameters, and which way the wind is blowing.

But yeah, I would stick to h.264 encoding with a Pi.

you were right. thank you. I ended up with re-decoding the files.