Compliance of MKV files generated by MakeMKV
Posted: Wed Mar 30, 2011 12:59 pm
The Matroska Foundation provides a couples of command line tools to check compliance of MKV files ("mkvalidator") and optimize them ("mkclean"). When used on files
created by makemkv, "mkvalidator" outputs a lot of warnings and error. For example:
Fortunately most of the times using "mkclean" with the "--remux" option fixes it so I did not see fit to report the problem.
The bad news is that for a few files generated from DVD, "mkclean" goes into an infinite loop during the remuxing phase before the reclustering phase. Obviously, an infinite loop is a bug and "mkclean" should be fixed. The problem is that "mkclean" is meant to optimize compliant MKV files and not to repair broken MKV files. Dealing with all possible type of corrupted files would have a prohibitive cost so I doubt that the Matroska people will bother with it. At best the tool will bail out leaving me with a broken source file.
Usually such files are too big to be uploaded but I now have a 130 MB file coming directly from makemkv and I am willing to make it available to the makemkv developers in the hope that they will fix the problem.
created by makemkv, "mkvalidator" outputs a lot of warnings and error. For example:
Code: Select all
ERR202: Unique element Position in Cluster at 1323 found more than once
ERR202: Unique element Position in Cluster at 1323 found more than once
ERR202: Unique element Position in Cluster at 53826 found more than once
[...]
WRN103: Unnecessary secondary SeekHead was found at 137152604
[...]
ERR0A2: The Cluster position 1299 at 1335 should be 1287
ERR0A1: The Cluster PrevSize 52494 at 53843 should be 52503
The bad news is that for a few files generated from DVD, "mkclean" goes into an infinite loop during the remuxing phase before the reclustering phase. Obviously, an infinite loop is a bug and "mkclean" should be fixed. The problem is that "mkclean" is meant to optimize compliant MKV files and not to repair broken MKV files. Dealing with all possible type of corrupted files would have a prohibitive cost so I doubt that the Matroska people will bother with it. At best the tool will bail out leaving me with a broken source file.
Usually such files are too big to be uploaded but I now have a 130 MB file coming directly from makemkv and I am willing to make it available to the makemkv developers in the hope that they will fix the problem.