MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Please post here for issues related to Blu-ray discs
Post Reply
thockin
Posts: 9
Joined: Sun Jan 06, 2013 6:51 am

MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Post by thockin »

On a brand new Roku Ultra, using Plex DirectPlay. The MKV file starts playing and then aborts.

Remuxing with mkvmerge (no other changes) makes it work. "Lacing" is one of the few differences between the MKV files.

Can anyone offer insight into what's going on?

Here's the full diff:

Code: Select all

--- out.orig	2020-07-04 12:17:10.572237284 -0700
+++ out.remux	2020-07-04 12:17:27.020578318 -0700
@@ -4,19 +4,19 @@
 |+ Maximum EBML ID length: 4
 |+ Maximum EBML size length: 9
 |+ Document type: matroska
-|+ Document type version: 2
+|+ Document type version: 4
 |+ Document type read version: 2
-+ Segment: size 23195064042
++ Segment: size 23126381098
 |+ Seek head (subentries will be skipped)
-|+ EBML void: size 1021
+|+ EBML void: size 3995
 |+ Segment information
 | + Timestamp scale: 1000000
-| + Multiplexing application: libmakemkv v1.15.0 (1.3.5/1.4.7) x86_64-linux-gnu
-| + Writing application: MakeMKV v1.15.0 linux(x64-release)
-| + Duration: 01:56:50.003000000
-| + Title: Spider-Man: Into the Spider-Verse
-| + Date: Sun Mar 29 22:55:19 2020 UTC
-| + Segment UID: 0x38 0x03 0x1e 0xc6 0xe7 0x40 0x0c 0x61 0xec 0x6d 0x9f 0xfd 0x78 0xd4 0x61 0xa5
+| + Multiplexing application: libebml v1.3.10 + libmatroska v1.5.2
+| + Writing application: mkvmerge v45.0.0 ('Heaven in Pennies') 64-bit
+| + Duration: 01:56:50.048000000
+| + Date: Fri Jul 03 22:08:10 2020 UTC
+| + Title: Debug
+| + Segment UID: 0x8c 0x2e 0x98 0xd4 0x97 0x50 0xbc 0xe5 0x91 0x2c 0xce 0xcd 0x31 0x77 0x46 0x0e
 |+ Tracks
 | + Track
 |  + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
@@ -24,7 +24,6 @@
 |  + Track type: video
 |  + Default track flag: 0
 |  + Lacing flag: 0
-|  + Minimum cache: 1
 |  + Codec ID: V_MPEG4/ISO/AVC
 |  + Codec's private data: size 194 (H.264 profile: High @L4.1)
 |  + Default duration: 00:00:00.041708333 (23.976 frames/fields per second for a video track)
@@ -37,11 +36,8 @@
 |  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
 |  + Track UID: 2
 |  + Track type: audio
-|  + Default track flag: 1
-|  + Lacing flag: 1
 |  + Codec ID: A_DTS
-|  + Language: eng
-|  + Default duration: 00:00:00.010666666 (93.750 frames/fields per second for a video track)
+|  + Default duration: 00:00:00.010666667 (93.750 frames/fields per second for a video track)
 |  + Name: Surround 5.1
 |  + Audio track
 |   + Sampling frequency: 48000
@@ -52,22 +48,19 @@
 |  + Track UID: 3
 |  + Track type: audio
 |  + Default track flag: 0
-|  + Lacing flag: 1
 |  + Codec ID: A_DTS
-|  + Language: eng
-|  + Default duration: 00:00:00.010666666 (93.750 frames/fields per second for a video track)
+|  + Default duration: 00:00:00.010666667 (93.750 frames/fields per second for a video track)
 |  + Name: Surround 5.1
 |  + Audio track
 |   + Sampling frequency: 48000
 |   + Channels: 6
+|   + Bit depth: 16
 | + Track
 |  + Track number: 4 (track ID for mkvmerge & mkvextract: 3)
 |  + Track UID: 4
 |  + Track type: audio
 |  + Default track flag: 0
-|  + Lacing flag: 1
 |  + Codec ID: A_AC3
-|  + Language: eng
 |  + Default duration: 00:00:00.032000000 (31.250 frames/fields per second for a video track)
 |  + Name: Surround 5.1
 |  + Audio track
@@ -78,9 +71,7 @@
 |  + Track UID: 5
 |  + Track type: audio
 |  + Default track flag: 0
-|  + Lacing flag: 1
 |  + Codec ID: A_AC3
-|  + Language: eng
 |  + Default duration: 00:00:00.032000000 (31.250 frames/fields per second for a video track)
 |  + Name: Stereo
 |  + Audio track
@@ -90,36 +81,45 @@
 |  + Track number: 6 (track ID for mkvmerge & mkvextract: 5)
 |  + Track UID: 6
 |  + Track type: subtitles
-|  + Default track flag: 1
 |  + Lacing flag: 0
 |  + Codec ID: S_HDMV/PGS
-|  + Language: eng
-| + EBML void: size 35
+|  + Content encodings
+|   + Content encoding
+|    + Content compression
 | + Track
-|  + Track number: 8 (track ID for mkvmerge & mkvextract: 6)
+|  + Track number: 7 (track ID for mkvmerge & mkvextract: 6)
 |  + Track UID: 8
 |  + Track type: subtitles
 |  + Default track flag: 0
 |  + Lacing flag: 0
 |  + Codec ID: S_HDMV/PGS
-|  + Language: eng
-| + EBML void: size 35
+|  + Content encodings
+|   + Content encoding
+|    + Content compression
 | + Track
-|  + Track number: 10 (track ID for mkvmerge & mkvextract: 7)
+|  + Track number: 8 (track ID for mkvmerge & mkvextract: 7)
 |  + Track UID: 10
 |  + Track type: subtitles
 |  + Default track flag: 0
 |  + Lacing flag: 0
 |  + Codec ID: S_HDMV/PGS
-|  + Language: eng
-| + EBML void: size 35
+|  + Content encodings
+|   + Content encoding
+|    + Content compression
+|+ EBML void: size 1392
+|+ Attachments
+| + Attached
+|  + File name: cover.jpg
+|  + MIME type: image/jpeg
+|  + File data: size 46151
+|  + File UID: 1
 |+ Chapters
 | + Edition entry
 |  + Edition flag hidden: 0
 |  + Edition flag default: 1
-|  + Edition UID: 8946475230665076146
+|  + Edition UID: 12331342595017547546
 |  + Chapter atom
-|   + Chapter UID: 10000692723078214309
+|   + Chapter UID: 16070976440589839150
 |   + Chapter time start: 00:00:00.000000000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -128,7 +128,7 @@
 |    + Chapter string: Chapter 01
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 13369121686759714093
+|   + Chapter UID: 6261975947663935875
 |   + Chapter time start: 00:09:03.793250000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -137,7 +137,7 @@
 |    + Chapter string: Chapter 02
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 15550301123731231318
+|   + Chapter UID: 11693946653673449242
 |   + Chapter time start: 00:14:04.718875000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -146,7 +146,7 @@
 |    + Chapter string: Chapter 03
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 16845390627201383204
+|   + Chapter UID: 18205822298440037182
 |   + Chapter time start: 00:18:51.713916666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -155,7 +155,7 @@
 |    + Chapter string: Chapter 04
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 15296655530481804863
+|   + Chapter UID: 5376727268801285103
 |   + Chapter time start: 00:29:39.027250000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -164,7 +164,7 @@
 |    + Chapter string: Chapter 05
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 6246858846935936375
+|   + Chapter UID: 7448771351604312443
 |   + Chapter time start: 00:34:14.635916666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -173,7 +173,7 @@
 |    + Chapter string: Chapter 06
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 7784015161465776843
+|   + Chapter UID: 3773504728453771087
 |   + Chapter time start: 00:40:34.432000000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -182,7 +182,7 @@
 |    + Chapter string: Chapter 07
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 11514664850696580028
+|   + Chapter UID: 10100744285699595130
 |   + Chapter time start: 00:44:22.826833333
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -191,7 +191,7 @@
 |    + Chapter string: Chapter 08
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 14739997842605498627
+|   + Chapter UID: 10913158408139987824
 |   + Chapter time start: 00:48:06.550333333
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -200,7 +200,7 @@
 |    + Chapter string: Chapter 09
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 5244143012685697765
+|   + Chapter UID: 13898747178782051850
 |   + Chapter time start: 00:58:45.855666666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -209,7 +209,7 @@
 |    + Chapter string: Chapter 10
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 3273106139564640480
+|   + Chapter UID: 16706739348712646859
 |   + Chapter time start: 01:06:04.168541666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -218,7 +218,7 @@
 |    + Chapter string: Chapter 11
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 7742022164996541564
+|   + Chapter UID: 636414480958090344
 |   + Chapter time start: 01:09:55.274416666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -227,7 +227,7 @@
 |    + Chapter string: Chapter 12
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 3520708680813355331
+|   + Chapter UID: 10501733536390366912
 |   + Chapter time start: 01:20:00.003541666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -236,7 +236,7 @@
 |    + Chapter string: Chapter 13
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 17250632383384308273
+|   + Chapter UID: 1482573799705671404
 |   + Chapter time start: 01:24:54.589500000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -245,7 +245,7 @@
 |    + Chapter string: Chapter 14
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 1773027376390269238
+|   + Chapter UID: 6409905651956482419
 |   + Chapter time start: 01:33:33.316041666
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -254,7 +254,7 @@
 |    + Chapter string: Chapter 15
 |    + Chapter language: eng
 |  + Chapter atom
-|   + Chapter UID: 10724312667216503413
+|   + Chapter UID: 769744064350855513
 |   + Chapter time start: 01:55:27.170250000
 |   + Chapter flag hidden: 0
 |   + Chapter flag enabled: 1
@@ -262,11 +262,5 @@
 |   + Chapter display
 |    + Chapter string: Chapter 16
 |    + Chapter language: eng
-|+ EBML void: size 1021
-|+ Attachments
-| + Attached
-|  + File name: cover.jpg
-|  + MIME type: image/jpeg
-|  + File data: size 46151
-|  + File UID: 1
+|+ EBML void: size 101
 |+ Cluster
timeshifter
Posts: 20
Joined: Wed Aug 01, 2018 7:13 pm

Re: MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Post by timeshifter »

I can't offer any insights, but I can confirm this happens to me as well on the same Roku model using Emby and direct play. It doesn't happen with every file, but definitely happens. This never happened before on this device - it started sometime early this year. So it's either due to a recent firmware update or to changes in recent disks. A remux/re-encode always fixes whatever the problem is, so my strategy is to have the re-encoded version finished and ready before attempting to watch the pure, unadulterated original so it's easy to switch and keep watching. Playback usually quits very early, like before opening credits, so at least there isn't much time wasted finding the right spot in the file that does play back.
Master of Thyme and Spice
:D Registered User :D
thockin
Posts: 9
Joined: Sun Jan 06, 2013 6:51 am

Re: MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Post by thockin »

Good to know, I guess. Anyone at MakeMKV? Clues?
tensign
Posts: 5
Joined: Tue Aug 11, 2020 11:11 pm
Location: Wapato, Washington

Re: MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Post by tensign »

Have you tried to Rename them to MP4 ?
Woodstock
Posts: 10330
Joined: Sun Jul 24, 2011 11:21 pm

Re: MakeMKV Blu-Ray rips can't play on Roku, remux fixes it??

Post by Woodstock »

Any time you encode with a lossy encoder, there is some generational loss. It is, after all, a lossy encoder; you make adjustments to try to keep the losses to an acceptable level.

I use RF=20 for "full size" BD encodes, RF=22 for reduced size encodes from the same source.
Post Reply