View Full Version : MKVcleaver : GUI for mkvextract with batch support v 0.7.0.2
Pages :
1
2
3
4
[
5]
6
7
8
9
10
sialivi
10th January 2011, 04:05
MKVcleaver hangs for me once in a while. It happens very rarely and it seem pretty random and I'm not able to reproduce the bug reliably.
The times it has happened I've been batch processing (extracting subtitles) a large amount of files (100+). Suddenly the program hangs just after finishing processing one file, it's always between files because the subtitle file of the last processed file is always complete and the subtitle file of the next file in the list is either missing or empty. The last line of the log file just shows that it has successfully finished with one file.
It doesn't seem to be a problem with a specific file because killing MKVcleaver with the Task Manager (pressing Cancel or Close doesn't work) and then letting MKVcleaver go through the remaining files works just fine.
Using: Windows 7 x64 / MKVcleaver 0.5.0.3 (64 bit) / mkvtoolnix 4.4.0
sheck
15th January 2011, 23:53
Still crashes.
After testing MKVcleaver and avdump for a while on different OSes, I can say with certainty that avdump crashes because there is something wrong with the mkv file you provided. Once I remux the file, it never crashes again. I could not pinpoint exactly what in that file causes it to crash though.
sheck
15th January 2011, 23:59
MKVcleaver hangs for me once in a while. It happens very rarely and it seem pretty random and I'm not able to reproduce the bug reliably.
The times it has happened I've been batch processing (extracting subtitles) a large amount of files (100+). Suddenly the program hangs just after finishing processing one file, it's always between files because the subtitle file of the last processed file is always complete and the subtitle file of the next file in the list is either missing or empty. The last line of the log file just shows that it has successfully finished with one file.
It doesn't seem to be a problem with a specific file because killing MKVcleaver with the Task Manager (pressing Cancel or Close doesn't work) and then letting MKVcleaver go through the remaining files works just fine.
Using: Windows 7 x64 / MKVcleaver 0.5.0.3 (64 bit) / mkvtoolnix 4.4.0
I will test to see if I can reproduce the problem.
sheck
16th January 2011, 00:07
Sialivi,
Next time MKVcleaver hangs could you check in Task Manager if mkvextract.exe or avdump.exe or avc2avi.exe is still loaded in memory ?
sialivi
18th January 2011, 14:38
I will, but I'm sure none of them was since I would have noticed when I killed the mkvcleaver process
sheck
3rd February 2011, 17:49
Sialivi,
Can you remove 64 bit MKVCleaver and install 32 bit ? I'm experiencing crashes with 64 bit version on Windows 7 64 bit. However, 32 bit is working fine. Let me know the results.
sialivi
11th March 2011, 05:34
sheck,
I'll keep that in mind, haven't had a need to batch extract from large number of files for a while.
Small feature request:
Windows 7 taskbar progress bar (look here (http://weblogs.asp.net/sergeyzwezdin/archive/2009/04/30/windows-7-programming-taskbar-part-1-progress-bar.aspx) if you don't know what I'm talking about)
war59312
13th March 2011, 06:58
UI resize is broke in x64 build. Seems the values in the ini are ignored. They get saved fine, but they are not respected.
sheck
23rd March 2011, 20:02
Sialivi,
I will add it if it's not too much work.
War59312,
Thank you for reporting a bug.
sheck
22nd April 2011, 21:25
war59312,
Make sure that resizing is on: Settings -> UI Resize. I could not confirm it as a bug as resizing is working fine for me in XP and WIN7 32 and 64 bit.
xekon
21st July 2011, 07:19
I use this program all the time! Looking forward to the next released version :)
currently using 0.5.0.3, is there a beta or nightly build?
sheck
22nd July 2011, 20:35
I use this program all the time! Looking forward to the next released version :)
currently using 0.5.0.3, is there a beta or nightly build?
Hi Xekon,
No, there are no beta or nightly builds. The app is too small to have those. I'm currently working on the next version.
If you have requests, let me know.
Thanks.
arestarh
25th July 2011, 15:09
Hello!
Thanks for this small, but very useful GUI.
I have some requests:
1) add the ability to extract chapters into OGM-like "simple" format ("-s" key in CLI mode)
2) add some error handling - for example, I have sample with LPCM audio that mkvtoolnix don't support, but when I try to extract it MKVcleaver finish job without any message.
Thanks.
xekon
27th July 2011, 20:26
How about a GTK interface so that this could be a native linux app as well? kinda like pidgin can run under both windows and linux.
mkvtoolnix is in linux as well :)
If linux version is not planned but you wouldn't mind somebody else porting it to linux then please let me know. I would be happy to give it a go. (Not sure if this application is opensource or not, either way let me know.)
sheck
29th July 2011, 15:18
arestarh,
1) No problem.
2) I will have to check this. If mkvtoolnix gives an error, MKVcleaver should catch it and log it (that's what it does already, check the log file to see if there is anything there). There is no point in displaying an error since it's a batch extractor. Imagine you have hundreds of files to extract and it would take 5 hours, so you leave it running only to come back in 5 hours and find out that MKVcleaver is sitting there displaying an error and it barely extracted anything. I would be pissed.
xekon,
I'm not planning on developing a linux version. But I don't mind if somebody else ports it. MKVCleaver is open source, feel free to do it. I can host it if you don't have your own web page or web storage or link to your project page if you do.
xekon
29th July 2011, 22:31
found it: http://code.google.com/p/mkvcleaver/source/checkout?repo=wiki
I will start working on it soon.
speaker
1st October 2011, 21:12
If you decide to update this great app further could you have it remember the location of MKVToolNix as well as the extract folder rather than having to set these two every time? Thanks.
sheck
4th October 2011, 02:26
If you decide to update this great app further could you have it remember the location of MKVToolNix as well as the extract folder rather than having to set these two every time? Thanks.
MKVcleaver remembers location of MkvToolNix. If you're running WIN 7 with UAC enabled and MKVcleaver is installed in a protected directory, like Program Files, you must right click and select Run As Administrator. To avoid running it as administrator, please install MKVcleaver in another directory, root of C drive, My Documents or somewhere else.
The extract folder location will be remembered in the new version.
arestarh
4th October 2011, 15:02
Hello!
About my suggestion:
2) add some error handling - for example, I have sample with LPCM audio that mkvtoolnix don't support, but when I try to extract it MKVcleaver finish job without any message.
Thanks.
and you answer:
2) I will have to check this. If mkvtoolnix gives an error, MKVcleaver should catch it and log it (that's what it does already, check the log file to see if there is anything there). There is no point in displaying an error since it's a batch extractor. Imagine you have hundreds of files to extract and it would take 5 hours, so you leave it running only to come back in 5 hours and find out that MKVcleaver is sitting there displaying an error and it barely extracted anything. I would be pissed.
As example we can use this .mkv sample:
http://www.mediafire.com/?dgd92wil67bg8nq
It includes (as mkvmerge reported):
File 'i:\Downloads\samples\CRANK (1)-001.mkv': container: Matroska
Track ID 1: video (V_MPEG2)
Track ID 2: audio (A_MS/ACM)
Track ID 3: subtitles (S_HDMV/PGS)
Chapters: 1 entries
And when I try to extract Track with ID 2 (besides mkvextract don't support such kind of tracks) I get this error message:
Error: Extraction of track number 2 with the CodecID 'A_MS/ACM' is not supported
But after extraction with MKVclever I don't see such error report in log and no one extracted track.
Thanks.
sheck
5th October 2011, 02:44
Arestarh,
I confirmed this problem. Thank you. I will fix it in the next version.
speaker
24th October 2011, 02:29
MKVcleaver remembers location of MkvToolNix. If you're running WIN 7 with UAC enabled and MKVcleaver is installed in a protected directory, like Program Files, you must right click and select Run As Administrator. To avoid running it as administrator, please install MKVcleaver in another directory, root of C drive, My Documents or somewhere else.
The extract folder location will be remembered in the new version.
Thanks for the info sheck. Two more feature requests: Can you provide an option so the "Files to process" window pane doesn't get cleared after a successful "extract tracks" operation? Secondly, could you show the "chapters" track within the "Files to process" window pane as one of the checkbox choices? Currently, the only way I can extract chapters is using "Batch mode." It's also useful to see it there to know which files actually have chapters and which don't.
Finally, I don't know if I'd call this a bug, but extracted chapters.xml files have the Macintosh file format (CR line breaks only) while subtitle files extract in the PC file format (CR and LF characters terminating each line). Just an FYI regarding this inconsistency.
sheck
2nd November 2011, 02:52
Thanks for the info sheck. Two more feature requests: Can you provide an option so the "Files to process" window pane doesn't get cleared after a successful "extract tracks" operation?
What's the point of this ?
Secondly, could you show the "chapters" track within the "Files to process" window pane as one of the checkbox choices? Currently, the only way I can extract chapters is using "Batch mode." It's also useful to see it there to know which files actually have chapters and which don't.
I am not fully convinced this will be useful. You can see if a file has chapters by double right clicking on it. Plus it takes seconds to extract chapters from a file so there won't be any performance gains. Other than purely informational, I don't see how that can benefit users.
Finally, I don't know if I'd call this a bug, but extracted chapters.xml files have the Macintosh file format (CR line breaks only) while subtitle files extract in the PC file format (CR and LF characters terminating each line). Just an FYI regarding this inconsistency.
This would be a question for Mosu. MKVCleaver is purely a GUI, it doesn't actually extract anything. It uses mkvextract.exe in the background to extract files and information. But if I had to guess, it would be, because one is an XML file and the other is whichever format the subs are in. So CR or CRLF would depend on the software used to make the subs. XML chapter file, however, is created by mkvextract.exe which is designed on a Linux OS, thus CR only.
gonwk
4th November 2011, 16:36
Hi sheck,
I was getting ready to Rate and WARN the folks on VideoHelp about your "MKVCleaver 0.5.0.1 (x64) Portable" version that it seems to have TROJAN in it. But I accidently saw that you are here on Doom9 ... and since I Trust this Forum ... and I did Not want to wrongly slam your software (Freeware) ... I decided to post my Concern here ...
When I ran SAS scanner it alerted me that "MKVCLEAVER_X64.EXE" is a TROJAN and it should be Removed.
So, I thought it might be a False Positive ... so I ran the .EXE file through VirusTotal ... and now to A/V are warning me about this being a Trojan. See the following ...
Virus Total Scan of MKVCLEAVER.EXE (http://www.virustotal.com/file-scan/report.html?id=43c0889739bf0c558a83164fc3ef50c1e0c9445dab26df63bb447b8f01f70ae1-1320271675)
Jiangmin 13.0.900 2011.11.02 Trojan/Buzus.agpx
SUPERAntiSpyware 4.40.0.1006 2011.11.02 Trojan.Agent/Gen-Buzus
So, I am confused that how is from 42 AntiVirus software only 2 of them Recognize this as Trojan ... and big names just give it a Clean bill of health.:confused:
So, can you or anyone else explain this!
BTW, I never upgraded from 0.5.0.1 since it seems that is the Best working version of your proggie!
Thanks,
G! :)
sheck
4th November 2011, 17:20
Hi sheck,
I was getting ready to Rate and WARN the folks on VideoHelp about your "MKVCleaver 0.5.0.1 (x64) Portable" version that it seems to have TROJAN in it. But I accidently saw that you are here on Doom9 ... and since I Trust this Forum ... and I did Not want to wrongly slam your software (Freeware) ... I decided to post my Concern here ...
When I ran SAS scanner it alerted me that "MKVCLEAVER_X64.EXE" is a TROJAN and it should be Removed.
So, I thought it might be a False Positive ... so I ran the .EXE file through VirusTotal ... and now to A/V are warning me about this being a Trojan. See the following ...
Virus Total Scan of MKVCLEAVER.EXE (http://www.virustotal.com/file-scan/report.html?id=43c0889739bf0c558a83164fc3ef50c1e0c9445dab26df63bb447b8f01f70ae1-1320271675)
Jiangmin 13.0.900 2011.11.02 Trojan/Buzus.agpx
SUPERAntiSpyware 4.40.0.1006 2011.11.02 Trojan.Agent/Gen-Buzus
So, I am confused that how is from 42 AntiVirus software only 2 of them Recognize this as Trojan ... and big names just give it a Clean bill of health.:confused:
So, can you or anyone else explain this!
BTW, I never upgraded from 0.5.0.1 since it seems that is the Best working version of your proggie!
Thanks,
G! :)
I've seen this happen before. This is a false positive. MKVcleaver was compiled with AutoIt and some anti virus engines detect it as a virus just by scanning the header.
I can guarantee you 100% that there is no malware or viruses in MKVCleaver. I cannot control the files on VideoHelp, but if you download files from my site and verify MD5 hashes, you will be fine. SoftPedia rated MKVCleaver 100% malware free.
gonwk
4th November 2011, 17:26
Hi sheck,
Thanks for taking the time to answer.
I really like "MKVCleaver" it seems more dummy-proof to me ... so, I am glad you are giving it a clean bill of health.
BTW, VideoHelp, it is another Source that I trust for SW download.
Thanks agian!
G! :)
sialivi
20th December 2011, 20:09
sheck,
Seems mkvcleaver doesn't work with the latest version of mkvtoolnix, I'm getting a "Error: Array variable subscript badly formatted" error when trying to extract subtitles.
Mosu
25th December 2011, 22:33
That's most likely due to a bug in mkvextract. See https://www.bunkus.org/bugzilla/show_bug.cgi?id=689
johnsonlam
28th December 2011, 08:42
That's most likely due to a bug in mkvextract. See https://www.bunkus.org/bugzilla/show_bug.cgi?id=689
Thanks. Waiting for the new version.
Mosu
28th December 2011, 09:03
The pre-build http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-5.2.0-build20111225-392-setup.exe should have the fix included.
sheck
28th December 2011, 23:21
The pre-build http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-5.2.0-build20111225-392-setup.exe should have the fix included.
The latest build is working fine. Thanks Mosu. :)
johnsonlam
31st December 2011, 08:20
The latest build is working fine. Thanks Mosu. :)
I've downloaded the latest build (mkvmerge v5.2.0 ('I can't explain') built on Dec 29 2011 19:29:57)
Still got error from AUTOIT, screen capture below:
https://lh5.googleusercontent.com/-Uy8uTutDZ7Q/Tv63T9hfv3I/AAAAAAAAKkA/hoE3TJ6iaD4/s800/error.png
https://lh5.googleusercontent.com/-Uy8uTutDZ7Q/Tv63T9hfv3I/AAAAAAAAKkA/hoE3TJ6iaD4/s800/error.png
It's working fine until I got the v5.2.0 MKVToolNix, but after that I back to v5.1.0 also failed ...
My WinXP go crazy or missing some other components (e.g. dotnet or Visual C++ lib)?
sialivi
2nd January 2012, 10:11
sheck and Mosu,
I downloaded the build Mosu linked to and the offset is still wrong. I just tried selecting sub 1 and 3 (out of 5) and it extracted 2 and 4. Selecting the last one results in an exception.
Edit: Tried an even newer build (.395) and the problem is still there.
Mosu
2nd January 2012, 10:25
Then either you're doing it wrong (e.g. you haven't overwritten existing files when extracting/installing), or MKVcleaver doesn't query mkvmerge for the track IDs and relies on them being assigned in a special way. Either way, not my problem.
sialivi
3rd January 2012, 01:44
It's not user error. For the record, I tried 5.2.1 and also tried using the 32-bit version of mkvcleaver just to rule that out and the problem persists.
kassiesa
3rd January 2012, 22:17
mkvextract bug 689 has been solved. The command line mkvextract works fine now. But MKVcleaver still mismatches the mkvextract tracks by 1.
See https://www.bunkus.org/bugzilla/show_bug.cgi?id=689
E.g. for an mkv file with 3 tracks (ID=0,1,2), pointing to the last track with MKVcleaver or mkvextractGUI2 results in "Error: No track with the ID 3 was found in the source file". Pointing any other track extracts the wrong track. Track ID=0 cannot be extracted.
Mosu
3rd January 2012, 22:42
I've just explained in this post over in the general MKVToolNix thread how frontends/GUIs/programs using mkvmverge/mkvextract are supposed to retrieve the actual track IDs. If MKVcleaver had implemented it this way from the start then it should just have started working again with mkvmerge + mkvextract v5.2.1.
DragonQ
4th January 2012, 13:38
So MKVExtract GUI, MKVExtractGUI-2 and MKVCleaver are all broken right now. Great. :(
sheck
9th January 2012, 07:14
I tested with MKVcleaver 5.0.3 32/64 bit on WIN 7 64 bit, WIN XP 32 bit, Mkvtoolnix 5.2.1. I did not get any errors. All tracks were extracted.
I need more information to try to recreate this error.
OS version, 64 or 32 bit
MKVcleaver version, 64 or 32 bit
Installation path of MKVcleaver
Installation path of MKVToolsNix
Portable or MSI
Is UAC enabled
Please check custom.ini and make sure that the path to MKvToolsNix is correct.
sialivi
9th January 2012, 07:52
Windows 7 x64 SP1
MKVcleaver 0.5.0.3 x64
mkvtoolnix 5.2.1
d:\portable\matroska\MKVcleaver\
d:\portable\matroska\MKVtoolnix\
Portable
UAC enabled
path in custom.ini correct
Chetwood
9th January 2012, 08:41
So MKVExtract GUI, MKVExtractGUI-2 and MKVCleaver are all broken right now. Great. :(
Yep, but it works manually with mkvextract.
hello_hello
9th January 2012, 11:25
I don't know whether it's an MKVCleaver problem or not, but I was kind of surprised to discover this extraction bug was still being reported, then I looked at the image in post #231...
When I upgraded MKVToolnix to the "problem" version, MKVCleaver was definitely broken for me. Upgrading to 5.2.1 fixed it.
It's probably just habit but I always extract streams by selecting them under the batch mode section on the right of the MKVCleaver GUI. After reading post #231 I tried an extraction by selecting the streams in the left pane. Sure enough, I got the same error. I tried again using the same file and the right pane and MKVCleaver extracted everything without a problem.
I'd have assumed from that it's likely to be an MKVCleaver problem..... given it'll extract streams, or not, according to how you select them. Then again, MKVCleaver hasn't been updated for a reasonable period of time (I don't think) so I assume extracting has worked either way until recently?
If it matters I'm running XP and using MKVCleaver 0.5.0.3
sheck
10th January 2012, 03:23
I don't know whether it's an MKVCleaver problem or not, but I was kind of surprised to discover this extraction bug was still being reported, then I looked at the image in post #231...
When I upgraded MKVToolnix to the "problem" version, MKVCleaver was definitely broken for me. Upgrading to 5.2.1 fixed it.
It's probably just habit but I always extract streams by selecting them under the batch mode section on the right of the MKVCleaver GUI. After reading post #231 I tried an extraction by selecting the streams in the left pane. Sure enough, I got the same error. I tried again using the same file and the right pane and MKVCleaver extracted everything without a problem.
I'd have assumed from that it's likely to be an MKVCleaver problem..... given it'll extract streams, or not, according to how you select them. Then again, MKVCleaver hasn't been updated for a reasonable period of time (I don't think) so I assume extracting has worked either way until recently?
If it matters I'm running XP and using MKVCleaver 0.5.0.3
I confirmed it. Thanks hello_hello, you saved me a bunch of time.
Anyways, mediainfo.dll still marks IDs starting from 1 that's why the error occurs. It's easy to fix, but I will have to check with Zenitram first. If he's going to change mediainfo code to accommodate new mkvtoolnix ID assignments then there is no point in changing my code twice.
sheck
15th January 2012, 04:56
A patched version of MKVcleaver is now available. Version 0.5.0.4 is modified to only work with MkvToolNix 5.2.1.0 or newer. It is not a full version, just a patched executable and mediainfo.dll. You must have version 0.5.0.3 already installed (portable or MSI). Only 32 bit version is available at the moment.
Do not use version 0.5.0.4 if you have older version of MkvToolNix.
sheck
15th January 2012, 23:36
64 bit version is now available.
sialivi
18th January 2012, 18:39
@sheck
Both the 32 and 64-bit portable versions in the first post are 0.5.0.3
sneaker_ger
18th January 2012, 22:51
As he said: he does not offer a full package for 0.5.0.4 at the moment.
The patches are available on the google page:
http://code.google.com/p/mkvcleaver/downloads/list
sheck
19th January 2012, 04:10
You can also get the files from my download page which is listed on the first post.
Thanks sneaker_ger.
73ChargerFan
23rd January 2012, 00:05
Thank you for the update. Perhaps you can make it version aware by running "mkvextract -V" and parsing the response.
sheck
23rd January 2012, 16:06
It is version aware already. 0.5.0.4 won't work with mkvtoolnix version earlier than 5.2.1.0. Have you tried using MKVcleaver 0.5.0.4 with earlier version ?
73ChargerFan
30th January 2012, 06:11
No, I didn't try. I was thinking, that if the change is from 0 based index to a 1 based index, then the code could switch between the two depending on a version check. Of course, it probably isn't necessary, because you could just say it's to be used with the most current release.
Again, Thank You! I use it about once a week, and it is a real time saver.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.