Trouble playing 4k mkv files with Dolby Vision Stream included

Hi,
I’m a new user of OSMC and the vero 4k+. So far, it seems great. I have a collection of 4k movies I’ve purchased, and if I try to play one, ripped to a mkv file, with the 1080p Dolby Vision stream embedded, my vero hangs and doesn’t play the file. If I remux the file, and remove the 1080p Dolby Vision stream, it works ok.

Here’s an example mediainfo, from the movie “The Matrix”:

http://paste.osmc.io/xeyafobogi.coffee

These files play ok on other platforms, like the Apple TV4 and Nvidia Shield, running MrMC. I know none of the players can actually use the Dolby Vision data, but I’d like to keep it in the mkv anyway, just in case that changes in the future.

Is there a way for OSMC to just ignore that 1080p Dolby Vision stream, like the other players, so I don’t have to remux all my files, that were sourced from Dolby Vision discs?

Thanks for your time.

Hmmm…
I have the DV track in my remux and have no issues playing it back.
What software did you use specifically to generate your media info?
I’ll use the exact same and see what our differences are.

First difference I noticed is that you are using DVDFab and I’m using mkvmerge.
They may be handling the track differently.

Here’s what my streams look like:

Video #1
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main 10@L5.1@High
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 2 h 16 min
Bit rate                       : 48.8 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.246
Stream size                    : 46.5 GiB (85%)
Title                          : The Matrix
Language                       : English
Default                        : Yes
Forced                         : No
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics       : SMPTE ST 2084
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : R: x=0.708000 y=0.292000, G: x=0.170000 y=0.797000, B: x=0.131000 y=0.046000, White point: x=0.312700 y=0.329000
Mastering display luminance    : min: 0.0020 cd/m2, max: 1000.0000 cd/m2
Maximum Content Light Level    : 992 cd/m2
Maximum Frame-Average Light Le : 518 cd/m2

Video #2
ID                             : 2
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main 10@L5.1@High
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 2 h 16 min
Bit rate                       : 64.9 kb/s
Width                          : 1 920 pixels
Height                         : 1 080 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.001
Stream size                    : 63.2 MiB (0%)
Title                          : Dolby Vision
Language                       : English
Default                        : No
Forced                         : No
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics       : SMPTE ST 2084
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : R: x=0.708000 y=0.292000, G: x=0.170000 y=0.797000, B: x=0.131000 y=0.046000, White point: x=0.312700 y=0.329000
Mastering display luminance    : min: 0.0020 cd/m2, max: 1000.0000 cd/m2

Audio #1
ID                             : 3
Format                         : TrueHD
Format profile                 : TrueHD+Atmos / TrueHD
Codec ID                       : A_TRUEHD
Duration                       : 2 h 16 min
Bit rate mode                  : Variable
Bit rate                       : 4 420 kb/s
Maximum bit rate               : 7 794 kb/s
Channel(s)                     : Object Based / 8 channels
Channel positions              : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate                  :  / 48.0 kHz
Frame rate                     : 1 200.000 FPS (40 SPF)
Compression mode               : Lossless
Stream size                    : 4.21 GiB (8%)
Title                          : Dolby TrueHD 7.1 Atmos
Language                       : English
Default                        : Yes
Forced                         : No

Audio #2
ID                             : 4
Format                         : DTS
Format/Info                    : Digital Theater Systems
Format profile                 : MA / Core
Mode                           : 16
Format settings, Endianness    : Big
Codec ID                       : A_DTS
Duration                       : 2 h 16 min
Bit rate mode                  : Variable / Constant
Bit rate                       : 3 746 kb/s / 1 509 kb/s
Channel(s)                     : 8 channels / 6 channels
Channel positions              : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 24 bits
Compression mode               : Lossless / Lossy
Stream size                    : 3.57 GiB (7%)
Title                          : DTS-HD MA 7.1
Language                       : English
Default                        : No
Forced                         : No

Text
ID                             : 5
Format                         : PGS
Muxing mode                    : zlib
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 2 h 15 min
Bit rate                       : 21.3 kb/s
Count of elements              : 2746
Stream size                    : 20.6 MiB (0%)
Title                          : English PGS
Language                       : English
Default                        : Yes
Forced                         : No

Menu
00:00:00.000                   : en:Chapter 1
00:03:25.788                   : en:Chapter 2
00:06:35.645                   : en:Chapter 3
00:09:42.665                   : en:Chapter 4
00:11:58.300                   : en:Chapter 5
00:16:47.423                   : en:Chapter 6
00:21:33.542                   : en:Chapter 7
00:25:08.590                   : en:Chapter 8
00:28:51.146                   : en:Chapter 9
00:32:25.193                   : en:Chapter 10
00:35:21.869                   : en:Chapter 11
00:38:40.901                   : en:Chapter 12
00:44:22.576                   : en:Chapter 13
00:46:33.540                   : en:Chapter 14
00:48:57.851                   : en:Chapter 15
00:53:31.291                   : en:Chapter 16
00:56:32.138                   : en:Chapter 17
00:59:01.287                   : en:Chapter 18
01:01:08.581                   : en:Chapter 19
01:05:16.495                   : en:Chapter 20
01:07:46.812                   : en:Chapter 21
01:12:33.432                   : en:Chapter 22
01:17:49.581                   : en:Chapter 23
01:21:03.108                   : en:Chapter 24
01:25:05.350                   : en:Chapter 25
01:29:45.129                   : en:Chapter 26
01:31:27.565                   : en:Chapter 27
01:37:25.256                   : en:Chapter 28
01:41:04.975                   : en:Chapter 29
01:44:20.337                   : en:Chapter 30
01:47:00.497                   : en:Chapter 31
01:50:18.528                   : en:Chapter 32
01:52:56.686                   : en:Chapter 33
01:56:36.906                   : en:Chapter 34
01:58:49.372                   : en:Chapter 35
02:02:27.423                   : en:Chapter 36
02:05:41.784                   : en:Chapter 37
02:08:46.802                   : en:Chapter 38

@generic has the DV track set to forced:

Default                                  : No
Forced                                   : Yes

and for @Kontrarian it is not forced:

Default                        : No
Forced                         : No

@generic, can you try to use MKVToolNix to remove the forced bit from the DV track to see if that fixes your problem?

Can we get a sample of working vs not working?

Cheers

Sam

bmillham
I think you nailed it.
I could remux a movie with the DoVi track forced and see if it errors but that would take some time that I’m not exactly in the mood for since these files are huge, like 50+ GB.
I will say this though, on my Vero 4K+ I can play back the second video stream, the Dolby Video stream, by selecting that video track and it plays.
It doesn’t display properly at all, but it plays.
Its like its playing the differences between SDR and DoVi or something, hard to explain.
I uploaded a video to YouTube so you guys can see what I’m talking about:
https://youtu.be/UuMxR1QOVFU

You shouldn’t need to remux it, you can just use MKVToolNix to change the forced flag. Should only take a few seconds.

If I change a flag in mkvtoolnix it has to remux the entire file, do you know so trick that I don’t?

https://mkvtoolnix.download/doc/mkvpropedit.html

If you are using the GUI, click on the header editor. It allows you to change the flags. I don’t know from the CLI how to do it.

Hmmm…
I’ve never messed with the header editor.
I’ll check it out.

Hi bmillham,

I had the same idea, when I initially looked at the header, and removed the forced flag, but, unfortunately, that didn’t fix it.

I appreciate the help.

So your Vero just locks up?
Do you have to cold boot it or does hitting stop on the remote get you back to Kodi?
Like I said previously, maybe it’s something with the way DVDFab writes the file.

@Kontrarian, Thank you for your help as well. I really appreciate it. You even took the time to create an upload a youtube video. You rock.

I played with it a bit more, and here’s some additional details:

  • Not sure if it’s related, but I am using the plex for kodi addon. I haven’t yet tested outside of it.
  • On launch of the Dolby Vision file, it hangs at the fanart screen, and I see the animated OSMC logo in the center of the screen. That lasts for about 30 seconds.
  • Then it trys to play for 1-2 seconds, then hangs again for a bit, then plays a little more, for 1-2 seconds, and repeats.
  • Hitting “stop” takes longer than normal, but does return me to the “plex for kodi” movie page.

Very well could be related to how DVDFab writes the file. I’m not sure at this point, so I appreciate all the help.

@sam_nazarko, I uploaded two ~5 second clips of the movie Black Panther. One clip has the issue, one clip does not. I have a slow dsl upload at home (~768Kbps), so it took a while. If you need a longer clip, I can create one, but I hope you can see the delay with the Dolby vision file:

Google Drive osmc test files

Thanks again everybody. This forum is great!

I can play both on my Vero.
At first I thought it crashed but the video just ended it was so short.
If I pause it immediately and select the second video track, the DoVi track, it plays as well but all grey looking like in my YouTube video.

I also changed my second video stream to FORCED using the header editor like bmillham said and it played back the same as it did before.
There’s something else going on with your remuxes.

@Kontrarian, Thanks for testing. I’ll upload a video, showing what occurs on my setup. The non-dolby vision file, properly engages HDR mode on my TV (I see the pop-up in the upper right hand corner), and plays. (it’s very short, as you noticed). The dolby vision file hangs, I don’t see the HDR indicator, and when it eventually tries to play it, the audio and video result is bizarre.

My Vero 4k+ connects to a onkyo tx-nr787, which connects to an LG OLED B7.

I get the HDR logo on both files.
Vero 4K+ > Yamaha TAS107 > LG C8.

Have your tried remuxing with mkvtoolnix?

@Kontrarian, Here’s the video of what occurs when I play those two files, linked earlier. The first file has the dolby vision track removed, and plays fine, the second file still has the dolby vision track, and hangs:

Google Drive example video

The resolution of the example video file is low, just to reduce the upload time on my 768k DSL link.

It’s definitely odd.

@Kontrarian, regarding your question about remuxing with mkvtoolnix. I’ve extracted and re-added the dolby vision track, with no change to the problem. If I pull the dolby vision track completely, it fixes the problem.

@sam_nazarko, Do you think this particular problem would show up in any logs? Happy to upload some.

Thanks again all.