Strange corruption issue - MakeMKV's fault or bad HDD?
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Are you specifying the entire folder 'P:\TV'? If so, try sending an individual file to .bat.
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
I am right-clicking on the .mkv file itself.
The actual file path I'm testing (just the first one I laid my hands on) is:
So it seems to not like the [space] in the folder name for some reason?
The actual file path I'm testing (just the first one I laid my hands on) is:
Code: Select all
P:\TV Shows - In Progress\~ According To Jim\Season 01\According To Jim - S01E01 - Pilot.mkv
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
The double quotes ought to have handled that, but winders bat is an imprecise critter.Radiocomms237 wrote: ↑Mon Oct 30, 2023 1:50 amI am right-clicking on the .mkv file itself.
The actual file path I'm testing (just the first one I laid my hands on) is:
So it seems to not like the [space] in the folder name for some reason?Code: Select all
P:\TV Shows - In Progress\~ According To Jim\Season 01\According To Jim - S01E01 - Pilot.mkv
Try:
Code: Select all
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
C:\ffmpeg\bin\ffmpeg -v error -i "%1" -f null NUL
pause
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Still no go, same error but with a different code:
Code: Select all
[in#0 @ 00000000003beac0] Error opening input: No such file or directory
Error opening input P:\TV.
Error opening input files: No such file or directory
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Not sure what I did but after a quick Google I changed my batch file to:
And it seems to work now? At least, the output is the same as if I were to run the file directly from ffmpeg, that is to say, there is no output if there are no errors (I assume that's how it's supposed to work)?
Code: Select all
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
C:\ffmpeg\bin\ffmpeg -v error -i %* -f null NUL
pause
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
The double quotes around the arg %1 (the 1st arg passed to the command) were the culprit. Had forgotten arg references are pre-quoted.
The original code, w/out quotes around %1 works fine. %* (ALL args passed to the command) may/may not cause issues someday?
The original code, w/out quotes around %1 works fine. %* (ALL args passed to the command) may/may not cause issues someday?
Code: Select all
@ECHO OFF
C:\ffmpeg\bin\ffmpeg -v error -i %1 -f null NUL
pause
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Thanks, that works!
I'm now looking at Registry edits to move the command into the context menu itself rather than "Send to" (one less step).
I'm now looking at Registry edits to move the command into the context menu itself rather than "Send to" (one less step).
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
I've gotten a lot of mileage out of "Send to" over the years. I even have "Send to" in "Send to" to grease the process, so to speak.Radiocomms237 wrote: ↑Mon Oct 30, 2023 2:35 amThanks, that works!
I'm now looking at Registry edits to move the command into the context menu itself rather than "Send to" (one less step).
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
I was not using Chrome but Firefox may have been open. On a similar note I suspect MakeMKV isn't closing handles to the drive it accesses, as I noticed after using MakeMKV I can't eject the USB device from the system tray -- Windows thinks the drive is still busy or in use.Ezatoka wrote: ↑Sun Oct 29, 2023 10:54 pmOut of curiousity: Where you running Google Chrome browser while doing so? I remember having a kinda similar problem with another program in the past.
While Chrome was open, I could not make a drive lock to the external device, causing the program to fail. I still don't know, why Chrome would even connect to USB drives.
Regarding ffmpeg's error checking, I'd note that many files do actually generate some benign errors but are not actually corrupt to the extent that produces video or audio glitches. So you'll have to look at the actual error output from ffmpeg and decide if it's serious enough to warrant redoing the mkv's again and seeing if that gets rid of the errors on the next scan. Usually the benign errors are something like "non monotonically increasing" something or other, but they're all spaced 1 value apart and those ones are ok. I'm kicking myself for not keeping the corrupt files and error reports from yesterday.
Chances are you'll want to automate a top level folder scan of all mkvs inside it with a progress bar and error report of which ones generated some error output. For that you could do it with a batch file but I struggle with it so used autohotkey instead, here is the script if it's of any use
Code: Select all
; --------------- fill in these 4 values manually ---------------
folder_to_scan := "K:\MakeMKV\Ren and Stimpy\Season 1"
output_report_name := "Ren and Stimpy"
extensions_to_scan := "mkv, mp4"
ffmpeg_path := "c:\program files\ffmpeg\bin\ffmpeg.exe"
; -------------------- create output folders --------------------
#NoEnv
#SingleInstance Ignore
#Persistent
#NoTrayIcon
SetWorkingDir %A_ScriptDir%
detect_false_positives := true
output_report_path := A_ScriptDir . "\Reports\" . output_report_name
FileRemoveDir , %output_report_path% , 1
if (FileExist(output_report_path)){
MsgBox , 16 , Videocheck , Failed to delete %output_report_path%
ExitApp
}
FileCreateDir , %output_report_path%
if !(FileExist(output_report_path)){
MsgBox , 16 , Videocheck , Failed to create %output_report_path%
ExitApp
}
main_report_path := output_report_path . "\report.txt"
itemised_report_path := output_report_path . "\itemised"
FileCreateDir , %itemised_report_path%
if !(FileExist(itemised_report_path)){
MsgBox , 16 , Videocheck , Failed to create %itemised_report_path%
ExitApp
}
; ----------------------- get file count -----------------------
fileCount := 0
loop , files , %folder_to_scan%\* , R
{
SplitPath , A_LoopFileLongPath , , , thisExt
if thisExt not in %extensions_to_scan%
continue
fileCount++
}
; ----------------------- scan for errors -----------------------
FileAppend , % "Broken files:" , %main_report_path%
count := 0
loop , files , %folder_to_scan%\* , R
{
if (waitingToExit)
return
SplitPath , A_LoopFileLongPath , , , thisExt
if thisExt not in %extensions_to_scan%
continue
if ( count = 0 ){
Progress , A M2 T w1200 FM10 FS8
, %A_LoopFileLongPath% , % "Checking video files in: " . folder_to_scan , Videocheck
SetTimer , CloseWin , 250
}
else
ControlSetText , Static2, %A_LoopFileLongPath%, Videocheck
FileDelete , %A_ScriptDir%\ffmpeg_out.txt
If (FileExist(A_ScriptDir . "\ffmpeg_out.txt")){
MsgBox , 16 , Videocheck , Failed to delete ffmpeg_out.txt
ExitApp
}
scanning := true
RunWait , %ComSpec% /q /c ""%ffmpeg_path%" -v error -i "%A_LoopFileLongPath%" -f null NUL 2>"%A_ScriptDir%\ffmpeg_out.txt"", %A_ScriptDir% , Hide
Sleep 500
If (!FileExist(A_ScriptDir . "\ffmpeg_out.txt")){
MsgBox , 16 , Videocheck , ffmpeg.exe failed to write to ffmpeg_out.txt
ExitApp
}
FileRead , result, %A_ScriptDir%\ffmpeg_out.txt
FileDelete , %A_ScriptDir%\ffmpeg_out.txt
; remove false positives from result
if (detect_false_positives && result){
clean_result := ""
Loop, Parse, result, `n, `r
{
copyLine := true
if (InStr( A_LoopField
, "Application provided invalid, non monotonically increasing dts to muxer in stream") != 0){
LineArray := StrSplit( StrSplit( A_LoopField , ":")[2], " ")
; if dts increasing by > 1
if (Abs(LineArray[4] - LineArray[2]) <= 1)
copyLine := false
}
if (InStr( A_LoopField, "Last message repeated"))
copyLine := false
if (copyLine)
clean_result .= A_LoopField . "`n"
}
result := RTrim(clean_result, "`n")
}
; if still has error(s)
if (result){
hasBroken := true
FileAppend , % "`n" . A_LoopFileLongPath , %main_report_path%
WinLegalPath := StrReplace( A_LoopFileLongPath, "\", "_")
WinLegalPath := StrReplace( WinLegalPath, "/", "_")
WinLegalPath := StrReplace( WinLegalPath, ":", "_")
WinLegalPath := StrReplace( WinLegalPath, "*", "_")
WinLegalPath := StrReplace( WinLegalPath, "?", "_")
WinLegalPath := StrReplace( WinLegalPath, """", "_")
WinLegalPath := StrReplace( WinLegalPath, "<", "_")
WinLegalPath := StrReplace( WinLegalPath, ">", "_")
WinLegalPath := StrReplace( WinLegalPath, "|", "_")
FileAppend , % A_LoopFileLongPath . "`n`n" . result , %itemised_report_path%\%WinLegalPath%.txt
}
scanning := false
checkedFiles .= A_LoopFileLongPath . "`n"
count++
if (WinExist("Videocheck"))
Progress , % Round((count/fileCount) * 100)
}
if (!hasBroken)
FileAppend , % "`nNone" , %main_report_path%
else
FileAppend , % "`nSee itemised folder for details" , %main_report_path%
Progress , Off
FileAppend , % "`n`nScanned files:`n" . checkedFiles , %main_report_path%
Msgbox , 64 , Videocheck , Videocheck finished - see %main_report_path%
Exitapp
CloseWin:
if (WinExist("Videocheck")){
WinGetPos , x, y, w, h, Videocheck
x += 450
}
if (!WinExist("Videocheck")){
if (scanning){
if (!WinExist("Exiting videocheck")){
SplashImage , , A M T w300 FM10 FS8 X%x% Y%y% , , Waiting for ffmpeg.exe to finish... , Exiting videocheck
waitingToExit := true
}
}
else
ExitApp
}
return
I can't guarantee it will work for you as I'm running a security light barebones kind of version of Windows 7. For all I know the latest version of Windows might block it from writing the report file or running ffmpeg. If that happens you could try running the exe as administrator.
update 2024-05-13
- ignore false positives (benign errors)
update 2023-11-01
- include path in itemised file names to avoid clashing file names like C2_t02.txt which could be the same across multiple discs
- improve progress bar accuracy
update 2023-10-31
- added itemised per-file reports
- prevent GUI from reopening after every file is scanned
- wait for ffmpeg.exe to finish scanning current file before exiting
Last edited by pneumatic on Mon May 13, 2024 10:21 am, edited 13 times in total.
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Thanks! The PC I mostly use is still on Windows 7 as well!
Scanning an entire folder (and, I assume, any subfolders thereof) for errors sounds much better than scanning a single file at a time, I'll mess around with that script when I get some free time to see if I can make it work.
With regard to adding the single-file-scan batch file to the right-click context menu, I haven't been able to make that work yet (the batch file runs from the "Send to" sub-menu but I must have the syntax wrong in the Registry entry for the other)?
There doesn't seem to be enough hours in a day lately!
Scanning an entire folder (and, I assume, any subfolders thereof) for errors sounds much better than scanning a single file at a time, I'll mess around with that script when I get some free time to see if I can make it work.
With regard to adding the single-file-scan batch file to the right-click context menu, I haven't been able to make that work yet (the batch file runs from the "Send to" sub-menu but I must have the syntax wrong in the Registry entry for the other)?
There doesn't seem to be enough hours in a day lately!
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Here is an example of what I've been referring to as "benign" file corruption:
I'm not sure if corruption is the right word as I can't detect any glitches when screening the video. The file is probably not "corrupt" but perhaps doesn't follow the MPEG spec quite perfectly or something, I don't really know.
Code: Select all
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 18 >= 18
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23 >= 23
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 48 >= 48
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 53 >= 53
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 78 >= 78
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 83 >= 83
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 108 >= 108
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 113 >= 113
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 138 >= 138
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 143 >= 143
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 416 >= 416
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 421 >= 421
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 446 >= 446
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 451 >= 451
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 476 >= 476
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 481 >= 481
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 506 >= 506
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 511 >= 511
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 536 >= 536
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 541 >= 541
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 566 >= 566
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 571 >= 571
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 596 >= 596
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 601 >= 601
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 626 >= 626
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 631 >= 631
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 656 >= 656
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 661 >= 661
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 686 >= 686
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 691 >= 691
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 716 >= 716
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 721 >= 721
[null @ 00000000004487c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 746 >= 746
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
So I got some more corrupted files coming out of MakeMKV and here are the error reports from ffmpeg what real corruption looks like (not benign)
I think it's more likely USB related corruption with my system due to the fact I can rerun the mkv extraction process with MakeMKV until they become noncorrupt, but one thing I haven't tried yet is restarting MakeMKV in between discs so I'll try that now and see what happens.
Code: Select all
[matroska,webm @ 00000000005b6d40] 0x00 at pos 167790681 (0xa004859) invalid as first byte of an EBML number
Code: Select all
[matroska,webm @ 0000000000416d40] Element at 0x620070f5 ending at 0x62007114 exceeds containing master element ending at 0x620070fe
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23173632
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23175168
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12070
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12071
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23176704
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23178240
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23179776
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12072
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12073
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12074
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23181312
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23182848
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23184384
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12075
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12076
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23185920
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23187456
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23188992
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12077
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12078
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12079
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23190528
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23192064
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12080
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23193600
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23195136
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23196672
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12080
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12081
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12082
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23198208
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23199744
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23201280
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12083
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12084
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12085
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23202816
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23204352
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23205888
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12085
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12086
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12087
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23207424
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23208960
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23210496
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12088
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12089
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12090
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23212032
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23213568
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12090
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23215104
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23216640
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23218176
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12091
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12092
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12093
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23219712
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23221248
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23222784
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12094
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12095
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23224320
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23225856
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23227392
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12096
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12097
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12098
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23228928
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23230464
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23232000
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12099
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12100
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23233536
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12101
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23235072
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23236608
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23238144
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12102
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12103
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12104
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23239680
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23241216
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23242752
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12105
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12106
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23244288
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23245824
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23247360
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12107
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12108
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12109
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23248896
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23250432
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23251968
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12110
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12111
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23253504
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23255040
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12112
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23256576
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23258112
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23259648
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12113
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12114
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12115
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23261184
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23262720
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23264256
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12115
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12116
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12117
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23265792
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23267328
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23268864
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12118
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12119
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12120
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23270400
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23271936
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23273472
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12120
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12121
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12122
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23275008
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12123
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23276544
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23278080
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23279616
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12124
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12125
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23281152
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23282688
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23284224
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12126
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12127
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12128
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23285760
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23287296
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23288832
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12129
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12130
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23290368
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23291904
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23293440
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12131
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12132
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12133
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23294976
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23296512
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12134
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23298048
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23299584
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23301120
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12135
Last message repeated 1 times
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12136
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23302656
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23304192
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23305728
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12137
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12138
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12139
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23307264
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23308800
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 118623744 >= 23310336
[null @ 0000000000463200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 61782 >= 12140
Last message repeated 1 times
Code: Select all
[matroska,webm @ 00000000004e6d40] Length 5 indicated by an EBML number's first byte 0x0f at pos 100664097 (0x6000321) exceeds max length 4.
Error while decoding stream #0:1: Error number -16976906 occurred
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4163 >= 4163
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4168 >= 4168
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4173 >= 4173
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4178 >= 4178
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4183 >= 4183
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4188 >= 4188
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4193 >= 4193
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4198 >= 4198
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4203 >= 4203
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4208 >= 4208
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4213 >= 4213
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4218 >= 4218
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4223 >= 4223
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4228 >= 4228
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4233 >= 4233
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4238 >= 4238
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4243 >= 4243
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4248 >= 4248
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4253 >= 4253
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4258 >= 4258
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4263 >= 4263
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4268 >= 4268
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4273 >= 4273
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4278 >= 4278
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4283 >= 4283
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4288 >= 4288
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4293 >= 4293
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4298 >= 4298
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4303 >= 4303
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4308 >= 4308
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4313 >= 4313
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4318 >= 4318
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4323 >= 4323
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4329 >= 4329
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4334 >= 4334
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4339 >= 4339
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4344 >= 4344
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4349 >= 4349
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4354 >= 4354
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4359 >= 4359
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4364 >= 4364
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4369 >= 4369
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4374 >= 4374
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4379 >= 4379
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4384 >= 4384
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4389 >= 4389
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4394 >= 4394
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4399 >= 4399
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4404 >= 4404
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4409 >= 4409
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4414 >= 4414
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4419 >= 4419
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4424 >= 4424
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4429 >= 4429
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4434 >= 4434
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4439 >= 4439
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4444 >= 4444
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4449 >= 4449
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4454 >= 4454
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4459 >= 4459
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4464 >= 4464
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4469 >= 4469
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4474 >= 4474
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4479 >= 4479
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4484 >= 4484
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4489 >= 4489
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4495 >= 4495
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4500 >= 4500
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4505 >= 4505
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4510 >= 4510
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4515 >= 4515
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4520 >= 4520
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4525 >= 4525
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4530 >= 4530
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4535 >= 4535
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4540 >= 4540
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4545 >= 4545
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4550 >= 4550
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4555 >= 4555
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4560 >= 4560
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4565 >= 4565
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4570 >= 4570
[null @ 0000000000533200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 4575 >= 4575
[matroska,webm @ 00000000004e6d40] Element at 0x700ba8d ending at 0x15ec8bd3 exceeds containing master element ending at 0x700ba90
-
- Posts: 405
- Joined: Mon Oct 18, 2021 12:23 am
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
So what do those errors actually look (or sound) like when watching the file in question?
Can you correlate the offset given to the position of the error in the video file?
Can you correlate the offset given to the position of the error in the video file?
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Radiocomms237 wrote: ↑Wed Nov 01, 2023 5:40 amSo what do those errors actually look (or sound) like when watching the file in question?
Can you correlate the offset given to the position of the error in the video file?
Got some more corrupt mkv's just now, and I restarted MakeMKV between each disc so that theory is bust.
Here's one of the corrupted files where the video freezes at 17:15, 21:45, 27:45, 33:43, 37:53, 40:50:
https://drive.google.com/file/d/1zHqG7i ... sp=sharing
ffmpeg output:
Code: Select all
[matroska,webm @ 0000000000666d40] 0x00 at pos 704650378 (0x2a001c8a) invalid as first byte of an EBML number
[matroska,webm @ 0000000000666d40] 0x00 at pos 872415446 (0x340000d6) invalid as first byte of an EBML number
[matroska,webm @ 0000000000666d40] 0x00 at pos 1107302496 (0x42001860) invalid as first byte of an EBML number
[matroska,webm @ 0000000000666d40] 0x00 at pos 1342217622 (0x50009d96) invalid as first byte of an EBML number
[matroska,webm @ 0000000000666d40] 0x00 at pos 1509950775 (0x5a000537) invalid as first byte of an EBML number
Error while decoding stream #0:1: Error number -16976906 occurred
[matroska,webm @ 0000000000666d40] 0x00 at pos 1644204317 (0x6200911d) invalid as first byte of an EBML number
So it's some awful bug that causes random file corruption, not reproducible, and my theory is it's related to the USB interface somehow as it happens with 2 different USB drives.
The only other thing that stands out is that I'm opening the disc's ISO file in MakeMKV. This is a bit unusual as most users are probably opening the disc via the DVD/BD drive in MakeMKV. So if the corruption was MakeMKV's fault (which I don't think it is) then it would probably be related to the ISO reading library that MakeMKV uses.
Still need to do some more process of elimination like trying different USB ports vs SATA ports.
Re: Strange corruption issue - MakeMKV's fault or bad HDD?
Hmm, it's looking like it might be my front USB ports that are causing the corruption (Fractal Define R5 + Asrock Z97X motherboard) as I just did a batch of 6 discs twice in a row got corrupted files on the front port and then twice in a row got no corruption on the rear port, then corruption again on the front port. It could just be a fluke though as I have done many other discs on the front port that didn't result in corruption.
However I was having issues with the front ports on my other HTPC as well with drives slowing down and not being detected / dropping out connection. I think it's because the total length of the USB header cable is longer having to go from motherboard to front port, then another cable from the port to the drive enclosure itself. And/or poor quality cheap header cable, EMI inside the case and such.
Anyway I'll just do all my discs from now on on the rear port and do a ffmpeg scan after every batch, fingers crossed.
However I was having issues with the front ports on my other HTPC as well with drives slowing down and not being detected / dropping out connection. I think it's because the total length of the USB header cable is longer having to go from motherboard to front port, then another cable from the port to the drive enclosure itself. And/or poor quality cheap header cable, EMI inside the case and such.
Anyway I'll just do all my discs from now on on the rear port and do a ffmpeg scan after every batch, fingers crossed.