Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to fix a damaged MKV file? (Read 225595 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to fix a damaged MKV file?

Hello.

I am having problems with a movie file in MKV format. The movie length is 2 hr 18 minutes, however the VLC player (and others) stops playing it approximately at 1:44:50. But if I manually run the player and then rewind to 1:45:00, the movie plays fine from that point and to the end.

Also, I wanted to add an additional AC3 soundtrack to that movie. I was trying to use mkvmerge (through mmg), but it produces an incomplete file (sized 6.5 GB only, while the original size is 7.7 GB, and the additional track I am trying to add is 632 MB in size).

So obviously, there's a certain damaged fragment inside MKV file, which causes players to stop playback and mkvmerge to stop processing the file. The question is, how do I fix/remove that fragment? It would be OK even to lose a second or two of movie itself. But I have found no tools to check for and correct damaged parts inside MKV files, not even any tools for simply cutting out such parts.

Thanks in advance for any reply.

How to fix a damaged MKV file?

Reply #1
It seems that little corruption in the MKV file is also preventing you from properly using mkvmerge to add the additional AC3 track.

Did you by chance happen to download the MKV file via a torrent tracker?

If so, you might try to repoint your torrent program and "redownload" the MKV from the appropriate torrent file.  Point the torrent program to your already existing MKV file and let the program re-hash the file.  It will automatically determine the incorrect segment and redownload just that.  After it finishes, stop the torrent, and tell the program to re-hash that file again to make sure that it completely matches.  If it doesn't, start the torrent again and let it continue downloading.  Usually it takes one or two "redownload" of the already exisiting file(s) to get fully proper ones if it doesn't get it right the first time.

How to fix a damaged MKV file?

Reply #2
Thanks for the advice.
Unfortunately the torrent passes verification ("Force re-check" in Azureus) just fine.
So I guess the person who shared it already had the file corrupted.
This was on a small private tracker with few users, so the problem wasn't spotted quickly by anyone.

 

How to fix a damaged MKV file?

Reply #3
Himm. I am 1,5 year late but being late better than not.

Hi, this is author of DivFix++.
The best AVI repair and preview tool which is FREE and Open Sourced project.
Specially designed for preview files which are downloading from emule, torrent or web...

I feel absence of MKV fix utility. Until now AFAIK, no program can do this.
I got hardly work for Matroska streams.
So I started up project_Meteorite, which is DivFix++ expansion for support MKV streams.
You can fix MKV streams very soon. If you wonder, you can visit project_Meteorite page.
Project_Meteorite

How to fix a damaged MKV file?

Reply #4
The first and only MKV repair program Meteorite is released for FREE and OpenSourced.

http://meteorite.sf.net

How to fix a damaged MKV file?

Reply #5
The first and only MKV repair program Meteorite is released for FREE and OpenSourced.

http://meteorite.sf.net


Hi Bit late to try it  3-4 yrs but your tool works good.it worked for 6 out of 10 files that got corrupted while transferring from one computer to another.

Thanks

How to fix a damaged MKV file?

Reply #6
mr. death knight. It worked perfectly. Thanks.

How to fix a damaged MKV file?

Reply #7
The first and only MKV repair program Meteorite is released for FREE and OpenSourced.

http://meteorite.sf.net


i tried my only  corrupt mkv file which won't play with 0.11 beta version but it just sits there doing nothing. no progress after trying in compatibility mode with xp sp2 n sp3.m on win 7 64 bit . btw the working mkv files when dragged and dropped shows progress. i wish it could repair most of the corrupt mkv's.

How to fix a damaged MKV file?

Reply #8
Can you use MKVextract (with the GUI front end) to extract the main parts of the MKV, and put it back together again with MKVmerge, perhaps after fixing the broken pieces with other tools?
Be a false negative of yourself!

How to fix a damaged MKV file?

Reply #9
Can you use MKVextract (with the GUI front end) to extract the main parts of the MKV, and put it back together again with MKVmerge, perhaps after fixing the broken pieces with other tools?

i will try that and let you know