Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 18040  / 2 Years ago, tue, january 4, 2022, 6:49:38

Just downloaded a big mkv file which is more than 20GB. It took me several days to finish the downloading. But, how to check whether the download has been completed, or it was just aborted halfway? I have this question, because for a mkv file, mplayer can still play it until the point it is broken.



Any utility in ubuntu for such kind of checks?


More From » mkv

 Answers
1

As you do not have checksum info for the file (CRC32, MD5, SHA-1, SHA-256, etc), you could try to validate the Mastroska format itself.




mkvalidator is a simple command line tool to verify Matroska and WebM files for spec conformance. It checks the various bogus or missing key elements against the EBML DocType version of the file and reports the errors/warnings in the command line.




To use:



mkvalidator --details your-big-mkv-file.mkv


However, mkvalidator could only validate the structure of the Mastroska container, not the "payload" (i.e. A/V data) in it. To validate the data portion, you still need a decoder to see if it decodes correctly. From https://superuser.com/a/100290 :



ffmpeg -v error -i file.avi -f null - 2>error.log


This command uses ffmpeg to read in the mkv file and tries to decode it frame by frame. Any errors found in the decoding process will be recorded in error.log file.


[#28378] Tuesday, January 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulpu

Total Points: 116
Total Questions: 118
Total Answers: 104

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
fulpu questions
Fri, Apr 1, 22, 08:36, 2 Years ago
Wed, Mar 16, 22, 15:25, 2 Years ago
Wed, Aug 24, 22, 22:59, 2 Years ago
Tue, Dec 20, 22, 22:33, 1 Year ago
;