What can I attempt to solve stuck movie reproduction?

Dear friends,
quite a lot more than in the past I am getting Kodi on Vero to “freeze” while playing movies.

When this happen the GUI is totally stuck and the only way to resume control of Kodi is to either restart mediacenter or reboot.

The movies are played from a Samba or NFS share (cannot recall right now and am writing from office) from a Raspbmc image running on a Pi2 over a cabled Giga network.

I did not try to play the offending movies from local storage (that would be my next attempt if sensible).

The same movies played from the same share via Kodi or VLC from my iMac appear to slightly stutter more or less in the same points but usually resume after a second or so and keep playing.

Thank you for any ideas.

Is it always on the same movies? if so we’ll probably want to have mediainfo on those particular movies. Might be good to have some logs taken at the same time of the crash.

Thanks. Here is the Mediainfo on one of those movies where things get stuck (in this case well into the movie, almost 1 hour IIRC):smile:

General
Unique ID : 298503760292305023439028547202907470759 (0xE091BBA8E5A3023872251BAC1E7D7BA7)
Complete name : /Volumes/WD1TB/movies/Monsters Inc (2001) 1080p ITA/Monsters Inc (2001).mkv
Format : Matroska
Format version : Version 2
File size : 7.48 GiB
Duration : 1h 32mn
Overall bit rate : 11.6 Mbps
Movie name : “Monsters and Co.”
Encoded date : UTC 2009-12-03 22:19:20
Writing application : mkvmerge v2.9.8 (‘C’est le bon’) built on Aug 13 2009 15:02:06
Writing library : libebml v0.7.8 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 10 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 32mn
Bit rate : 9 450 Kbps
Width : 1 920 pixels
Height : 1 038 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.198
Stream size : 5.94 GiB (79%)
Writing library : x264 core 67 r1163M 3f56e27
Encoding settings : cabac=1 / ref=10 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=9 / psy_rd=0.9:0.0 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=4 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=9450 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.80
Language : English
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 32mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 422 MiB (6%)
Language : Italian
Default : Yes
Forced : No

Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : ES
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 1h 32mn
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 996 MiB (13%)
Title : Main Audio
Language : English
Default : No
Forced : No

Text #1
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : Italian
Default : No
Forced : No

Text #2
ID : 5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : English
Default : No
Forced : No

Text #3
ID : 6
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : French
Default : No
Forced : No

Text #4
ID : 7
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : Spanish
Default : No
Forced : No

Text #5
ID : 8
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : Swedish
Default : No
Forced : No

Out of spec for the vero. Max is H264 Level4.1@High with 4 Reframes at Full HD

Thanks you.
Sorry for the ignorance but I want to understand.
The two offending items are:
a) L5.1@High
b) 10 reframes ?

and while we’re on the topic, can you understand why the following plays only the Audio but not the video ?

General
Complete name : /Volumes/WD1TB/movies/I tre caballeros (1944)/I tre caballeros (1944).avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 676 MiB
Duration : 1h 11mn
Overall bit rate : 1 330 Kbps
Writing application : VirtualDubMod 1.4.13
Writing library : VirtualDub build 14328/release

Video
ID : 0
Format : MPEG-4 Visual
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : 2 warppoints
Format settings, Matrix : Default (H.263)
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 1h 11mn
Bit rate : 1 193 Kbps
Width : 352 pixels
Height : 288 pixels
Display aspect ratio : 1.222
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.471
Stream size : 606 MiB (90%)
Writing library : DivX 5.0.2 (UTC 2002-05-16)

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 11mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Delay relative to video : 2s 0ms
Stream size : 65.1 MiB (10%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 499 ms

Take care.

Yes, you understood correctly. Vero can only play bluray standard which is Level 4.1@High within a 1920x1080 resolution.

Btw. that’s not vero alone, whole IMX6 has that limitation.

10 reframes is quite high. The BD spec only supports <=5.

Re. the AVI. Not sure – can you trim a sample of it for me to have a look?

Sam

Thanks a lot Doctor Nazarko (and kudos for your graduation) :smile:

I will try to understand if using handbrake I’ll be able to recode the offending streams within the specs.

I am not sure I know what to use on my Mac to lift off a segment of the video without changing it while saving. Will try to understand and if I succeed I’ll get back in touch.

Take care

But now that I’m looking through my old Disney movies I see this freezing occurr a lot. Here is Hercules. It freezes despite my uneducated understanding of the mediainfo would say it lies within the specs you mentioned. Other ideas ? Might this be CIFS related or audio related ?

TIA

General
Unique ID : 220692519146925626092631777626652081083 (0xA607D546E040BA608289D4DCCDD2FBBB)
Complete name : /Volumes/WD1TB/oldmovies/Hercules (1997) BDrip 1080p ENG-ITA x264 bluray.mkv
Format : Matroska
Format version : Version 2
File size : 4.38 GiB
Duration : 1h 33mn
Overall bit rate : 6 727 Kbps
Encoded date : UTC 2014-09-29 21:52:00
Writing application : mkvmerge v7.2.0 (‘On Every Street’) 64bit built on Sep 13 2014 15:52:10
Writing library : libebml v1.3.0 + libmatroska v1.4.1
_STATISTICS_WRITING_APP : mkvmerge v7.2.0 (‘On Every Street’) 64bit built on Sep 13 2014 15:52:10
_STATISTICS_WRITING_DATE_UTC : 2014-09-29 21:52:00
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 01:26:24.888000000
NUMBER_OF_FRAMES : 930
NUMBER_OF_BYTES : 39472

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 33mn
Bit rate : 5 443 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.109
Stream size : 3.46 GiB (79%)
Title : Hercules (1997) - 1080p From Blu-ray - Avg QP=18.436
Writing library : x264 core 142 r2431 ac76440
Encoding settings : cabac=1 / ref=4 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=5443 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 33mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 427 MiB (10%)
Title : English Ac3 5.1 chnls 640 kbps
Language : English
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 33mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 427 MiB (10%)
Title : Italian Ac3 5.1 chnls 640 kbps
Language : Italian
Default : No
Forced : No

Text #1
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : english
Language : English
Default : No
Forced : No

Text #2
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : italian
Language : Italian
Default : No
Forced : No

Menu
00:00:00.000 : en:Program Start
00:00:32.824 : en:The Gospel Truth
00:02:28.690 : en:Festivities on Mt. Olympus
00:05:16.566 : en:Hades
00:07:55.392 : en:The Fates Reveal the Future to Hades
00:10:59.617 : en:Hercules Is Kidnapped
00:14:23.196 : en:Jerk-Ules
00:18:28.649 : en:Go the Distance
00:20:12.628 : en:Hercules Sets Out for the Temple of Zeus
00:21:01.469 : en:The Search for Philoctetes
00:25:29.987 : en:Call Me Phil
00:28:21.325 : en:One Last Hope
00:32:08.927 : en:A Damsel in Distress
00:35:20.744 : en:Megara
00:39:12.308 : en:The Big Olive - Thebes
00:44:26.247 : en:The Battle with the Hydra
00:48:29.156 : en:Zero to Hero
00:51:32.548 : en:Hades’ Plan on the Verge of Disaster
00:53:47.391 : en:Progress Report to Zeus
00:55:20.651 : en:At the Villa
00:57:49.633 : en:The End of a Great Day
01:01:18.341 : en:I Won’t Say (I’m in Love)
01:03:47.615 : en:Herc’s Weakness
01:07:44.978 : en:Hades’ Dirty Deal
01:10:27.890 : en:Hades Releases the Titans
01:15:17.513 : en:Inspiration From Phil
01:17:08.457 : en:Hercules Heads for Mt. Olympus
01:19:13.332 : en:The Fates Cut the Thread
01:20:55.100 : en:Hercules Makes a Deal with Hades
01:23:44.478 : en:Reunion on Mt. Olympus
01:26:01.239 : en:A Star Is Born
01:27:03.176 : en:End Credits

Hi

Yes – the specs look OK there. For MKV files you can download a file called ‘mkvtoolnix’ which will allow you to split your video into smaller files. If you can, upload the smallest / shortest file you can create that still reproduces this problem and I will take a look.

It would also be good to see kodi.log (in debugging mode) when the Hercules film starts to have problems

Sam