Error checking tracks on disc: invalid start byte

Please post here for issues related to DVD discs
Post Reply
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Error checking tracks on disc: invalid start byte

Post by iwyllpa »

First, let me mention that I am using Automatic Ripping Machine (ARM) in Docker as found here: https://github.com/automatic-ripping-ma ... iki/docker

I have a series of DVDs that were made in Latin America by a small organization, these are kid's programs with one episode per DVD, but the menu gives options of seeing the beginning, middle, or end of the story or to watch the whole story. I can play these in a Bluray/DVD player hooked up to a TV with no problems.

I have tried ripping 5 of these discs, and they all gave the same error. The exact error is:
Error: 'utf-8' codec can't decode byte 0xff in position 11796: invalid start byte

Here is a pastebin with the full log from ARM for one of the discs: https://pastebin.com/zWfq5xAn

I have ripped other DVDs using ARM without any problems, so I know the drives work and that ARM works. I have also tried this with 5 different discs from this series of kid's programs, so I know it's not just a scratch on one of the discs or something like that. I am trying to rip with no transcoding, just repackaging the stream from the DVD into a .mkv file, so it isn't a problem with the transcoding.

I am looking for any ideas of what to try next in order to get MakeMKV to read these discs.
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Re: Error checking tracks on disc: invalid start byte

Post by iwyllpa »

So I am working on narrowing down the error. I tried discs from this same series on another computer running Windows and using the Windows version of MakeMKV, and it worked just fine!

Here is the log from MakeMKV for Windows from Disc 2 of this series: https://pastebin.com/t0Fc50F7

This is on MakeMKV version 1.17.4 for x64. I'm wondering if maybe the Linux version is somehow out of date or different in some key way that makes it not work. My next idea for a test is to try to get MakeMKV for Linux going on the computer I'm using for ARM and try ripping a disc directly from MakeMKV (rather than through ARM.)
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Re: Error checking tracks on disc: invalid start byte

Post by iwyllpa »

So I installed makemkv on the base Ubuntu 22.04 Server that I was running ARM on. I followed this guide:https://ryansouthgate.com/back-up-dvds- ... -on-linux/ but I did not turn off atuobackup

I should also note that I tried to set the current beta key, but it errored out, as follows:

arm@arm-og17:~$ sudo makemkvcon reg T-4Q7D5cqHkg1vgD5CXxa1Wgn7BRYHGkO8YLbHm8J5fz9gknHMfhsA0KLPZ8F@aw77Hi
Key not found or invalid


Take a look at what happens when I try to check disc info. The error says I need to update the version of MakeMKV, but this is the newest version available for Linux, as far as I can see. Could this be why the Windows GUI works but the Linux CLI doesn't work? (There are 5 DVD drives connected to this computer)

arm@arm-og17:~$ sudo makemkvcon -r
Use: makemkvcon [switches] Command [Parameters]

Commands:
info <source>
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
backup <source> <destination folder>
backs up disc to a hard drive
f <args>
run universal firmware tool
reg <key string or file name>
enter registration key into program

Source specification:
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>

Switches:
-r --robot - turn on "robot" mode, see http://www.makemkv.com/developers
arm@arm-og17:~$ sudo makemkvcon info disc:0
MakeMKV v1.17.4 linux(x64-release) started
Error 'Scsi error - ILLEGAL REQUEST:READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION' occurred while reading 'DVD+R-DL TSSTcorp CDDVDW SH-S223Q SB03 SH-S223QFirmware0000' at offset '1048576'
Error 'Scsi error - ILLEGAL REQUEST:READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION' occurred while reading 'DVD+R-DL TSSTcorp CDDVDW SH-S223Q SB03 SH-S223QFirmware0000' at offset '1048576'
This application version is too old. Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.
arm@arm-og17:~$ sudo makemkvcon info disc:1
MakeMKV v1.17.4 linux(x64-release) started
Error 'Scsi error - ILLEGAL REQUEST:READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION' occurred while reading 'DVD+R-DL TSSTcorp CDDVDW SH-S223Q SB03 SH-S223QFirmware0000' at offset '1048576'
Error 'Scsi error - ILLEGAL REQUEST:READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION' occurred while reading 'DVD+R-DL TSSTcorp CDDVDW SH-S223Q SB03 SH-S223QFirmware0000' at offset '1048576'
This application version is too old. Please download the latest version at http://www.makemkv.com/ or enter a registration key to continue using the current version.
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Re: Error checking tracks on disc: invalid start byte

Post by iwyllpa »

So I have now built a second computer to run ARM on. This one is based on an i5-7600 and it has an NVME drive for the OS and storage and then all 6 SATA ports on the motherboard are used for DVD drives. I installed Ubuntu Desktop 22.04.3 on it and installed ARM from the script found on this page. I then also installed MakeMKV from source from this forum page.

I put a disc from this same series that has been giving me trouble and the short story is, it works in base MakeMKV but does not work in ARM.

Here is the successful MakeMKV log: https://pastebin.com/9xt4bCz0
Here is the failed ARM log : https://pastebin.com/qbjhG5rv
(same computer, same DVD drive, same disc)
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Re: Error checking tracks on disc: invalid start byte

Post by iwyllpa »

So doing a bit more testing, the issue seems to be that makemkvcon cannot open the disc. I can open it with the MakeMKV GUI, and that is why I can successfully make an MKV file in both Windows and Ubuntu using the GUI, but makemkvcon cannot open the disc. Any ideas on what to try to see if we can get makemkvcon to work with this disc?

I used this on the Ubuntu command line:
makemkvcon mkv disc:0 all /home/arm/Videos/Test

I threw in a --debug=/home/arm/debug.txt flag to dump debug info to a file, and here it is:

Code: Select all

Debug log started at Wed Nov 15 19:57:51 2023 , written by MakeMKV v1.17.5 linux(x64-release)
001005:0000 MakeMKV v1.17.5 linux(x64-release) started
001004:0000 Debug logging enabled, log will be saved as file:///home/arm/MakeMKV_log.txt
Using 262272KB for read cache.
Network access is ENABLED, CURL version 7.81.0/OpenSSL/3.0.2/1.43.0 (x86_64-pc-linux-gnu) , proxy server not set.
001003:0020 DEBUG: Code 0 at z6jq?_t<B1y?.8j.EyG^=::29393631
No  SDF v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
SDF id v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
No  SDF v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
SDF id v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
No  SDF v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
SDF id v098: TSSTcorp_CDDVDW_SH-S223Q_SB03_SH-S223QFirmware0000
No  SDF v098: HL-DT-ST_DVD+-RW_GH50N_B103_20090819123456_K1TA3HL3728
SDF id v098: HL-DT-ST_DVD+-RW_GH50N_B103_20090819123456_K1TA3HL3728
No  SDF v098: PLDS_DVD+-RW_DH-16ABS_PD11_CN0J7X2N7363905H52QRA00
SDF id v098: PLDS_DVD+-RW_DH-16ABS_PD11_CN0J7X2N7363905H52QRA00
No  SDF v098: TSSTcorp_CDDVDW_SH-222AB_SB01_R8BZ6GFB949794
No auto SDF v098: TSSTcorp_CDDVDW_SH-222AB_SB01_R8BZ6GFB949794
DEBUG: Code 0 at @[V/Z>C*su>czQo3H:29396253
DEBUG: Code 0 at (8l\R3Ur]hL+\jSe:213136746
No  SDF v098: TSSTcorp_CDDVDW_SH-222AB_SB01_R8BZ6GFB949794
SDF id v098: TSSTcorp_CDDVDW_SH-222AB_SB01_R8BZ6GFB949794
005010:0000 Failed to open disc
Application exited at Wed Nov 15 19:57:57 2023
So this does seem to be an issue with MakeMKV, or more specifically, with the command line version makemkvcon.
d00zah
Posts: 1438
Joined: Mon Jun 06, 2016 8:23 pm

Re: Error checking tracks on disc: invalid start byte

Post by d00zah »

iwyllpa wrote:
Sat Sep 23, 2023 2:49 pm
...

Error: 'utf-8' codec can't decode byte 0xff in position 11796: invalid start byte

...
Just a guess, but if it's the problem, I have no idea how to resolve it in your situation...

'utf-8' is a text-encoding format & the only DVD text component would be closed-captions. Standard DVD subs are VOBSUB (image-based).

So, does the ARM version include 'cc-extractor' like the windows version (which you say works)?

Or, is there a way to exclude the closed-caption text from the rip via command line?

Again, just a guess. YMMV
iwyllpa
Posts: 6
Joined: Sat Sep 23, 2023 2:42 pm

Re: Error checking tracks on disc: invalid start byte

Post by iwyllpa »

d00zah wrote:
Thu Nov 16, 2023 7:00 pm
iwyllpa wrote:
Sat Sep 23, 2023 2:49 pm
...

Or, is there a way to exclude the closed-caption text from the rip via command line?

...
I am happy to give that a try, if someone can give me some help on a command line makemkvcon input that will exclude the closed captions.

Here is the MediaInfo for one of the files that I was able to make from the MakeMKV GUI (note, no subtitles, but it does have chapters, could that be it?):

Code: Select all

Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.07 GiB
Duration                                 : 25 min 17 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 078 kb/s
Encoded date                             : UTC 2023-10-28 05:49:26
Writing application                      : MakeMKV v1.17.5 win(x64-release)
Writing library                          : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)

Video
ID                                       : 1
ID in the original source medium         : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=15
Format settings, picture structure       : Frame
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Duration                                 : 25 min 17 s
Bit rate mode                            : Variable
Bit rate                                 : 5 880 kb/s
Maximum bit rate                         : 9 500 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.568
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 1.04 GiB (97%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : DVD-Video

Audio
ID                                       : 2
ID in the original source medium         : 189 (0xBD)128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 25 min 17 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 34.7 MiB (3%)
Title                                    : Stereo
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Original source medium                   : DVD-Video

Menu
00:00:00.000                             : en:Chapter 01
00:02:00.120                             : en:Chapter 02
00:04:24.764                             : en:Chapter 03
00:06:22.882                             : en:Chapter 04
00:08:27.507                             : en:Chapter 05
00:10:49.649                             : en:Chapter 06
00:13:48.327                             : en:Chapter 07
00:15:56.956                             : en:Chapter 08
00:18:08.587                             : en:Chapter 09
00:20:52.751                             : en:Chapter 10
00:23:43.422                             : en:Chapter 11

d00zah
Posts: 1438
Joined: Mon Jun 06, 2016 8:23 pm

Re: Error checking tracks on disc: invalid start byte

Post by d00zah »

I don't see an mention of an additional track, so I'm likely off the mark. Sorry. Took a shot. :(
Post Reply