Log in

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

Chetwood
30th October 2012, 12:48
Thanks a lot!

kazuya2k8
2nd November 2012, 19:02
Hello everyone, I'm just new here~

I'm having trouble using MKVcleaver with certain files.

Whenever I try to extract the attachments it will give me this error and MKVcleaver will exit after clicking the OK button.

Line 2774 (File "C:\Program Files\MKVcleaver\MKVcleaver_x64.exe"):


Error: Subscript used with non-Array variable.

Tried shortening the path/filename, same error. On other MKVs I have, it works fine. I'm using MKVcleaver 5.0.4 with mkvtoolnix 5.8.0.0.

EDIT:
Did some testing. It looks like an attachment with a Japanese text filename causes the error.

sheck
10th November 2012, 23:46
Hello everyone, I'm just new here~

I'm having trouble using MKVcleaver with certain files.

Whenever I try to extract the attachments it will give me this error and MKVcleaver will exit after clicking the OK button.

Line 2774 (File "C:\Program Files\MKVcleaver\MKVcleaver_x64.exe"):


Error: Subscript used with non-Array variable.

Tried shortening the path/filename, same error. On other MKVs I have, it works fine. I'm using MKVcleaver 5.0.4 with mkvtoolnix 5.8.0.0.

EDIT:
Did some testing. It looks like an attachment with a Japanese text filename causes the error.

Do you mind uploading the files ? I would like to test this.

Look at my signature for the link to upload site.

sheck
20th November 2012, 04:11
Changes:

* WIN 7 Taskbar Icon progress bar added
* Added progress bars inside GUI
* Added session handler. MKVcleaver will restore last used files if it crashes
* Changed from command line to options file when using MkvToolNix
* Added XML2CellTimes converter utility
* Changed track numbering to start with 0 if track # < 10
* Added menu to choose between simple and XML chapters
* MKVcleaver will now remember all options set in the last sessions
* Relocated custom.ini, log and options files to %UserProfile%\MKVCleaver directory to avoid UAC problems
* MKVcleaver will now give an error about missing MkvToolNix instead of keeping Extract Tracks button greyed out
* MediaInfo updated to the latest version

Fixes:

* Fixed MKVcleaver 64-bit random crashes
* Max path depth limit is now gone
* GetCodecs tools wouldn't always respond to controls
* MKVcleaver is now compatible with all versions of MkvToolNix up to v 5.8.0
* Some source optimization
* Code optimization
* Other minor fixes...

Chetwood
20th November 2012, 07:08
NIce, gonna check it out.

zorrozh
20th November 2012, 21:00
This new version 0.6.0.0 doesn't work at all.
I get this error when I try to extract some tracks:
http://img17.imageshack.us/img17/5449/sshot1u.jpg
I have MKVMerge 5.8.0

Taurus
20th November 2012, 21:27
This new version 0.6.0.0 doesn't work at all.
I get this error when I try to extract some tracks:
http://img17.imageshack.us/img17/5449/sshot1u.jpg
I have MKVMerge 5.8.0
The same here...
WinXp 32bit
Error in AutoIt
Back to older version for now.

cyberbeing
20th November 2012, 22:44
Version v 0.6.0.0 fails to create a settings ini to remember MKVToolNix location as wells as logs.

It appears to be looking in C:\Users\[UserName]\MKVCleaver which doesn't exist. This should probably be changed to C:\Users\[UserName]\AppData\Roaming\MKVCleaver.

Also the Portable Version should always be saving settings and logs in the same directory as the exe.

sneaker_ger
20th November 2012, 23:13
But please use "%appdata%" in the program and don't try to find the folder yourself. (Some programs allow "for all users" or "for current user" option during installation.)

For the portable, the .exe should probably just check if a settings.ini exists in the folder and use that if present. Then include an empty settings.ini in the portable packages.

sheck
21st November 2012, 04:13
I'm working on the update. These are actually noob mistakes that I made. That's what happens when you rush. Oh, well. :D

I will not use %appdata% as it's hidden by default. I want users to actually find the configuration files. Also, this would not work on XP.

sheck
21st November 2012, 04:28
Fixes:

* Paths were missing "" thus breaking when spaces were present
* MKVcleaver would not create %UserProfile%\MKVCleaver path if it didn't exists
* XML2CellTime would error out when only one file was being converted

Changes:

* Changed Portable versions to point to the %ScriptDir% for all config and log files

cyberbeing
21st November 2012, 04:51
You really need to move it out of %UserProfile%\MKVCleaver , since that prevents the ability to launch by just typing mkvcleaver in a Run prompt.

The %UserProfile% directory take priority over PATH variables, which causes the settings folder gets opened when mkvcleaver is typed, instead of launching the program.

zorrozh
21st November 2012, 10:51
OK now it works but progress bar inside GUI doesn't work... it stays like this during the whole extraction
http://img62.imageshack.us/img62/7969/sshot2ez.jpg

Carpo
21st November 2012, 13:25
worked fine here, both filed up as the demux happened

sheck
21st November 2012, 16:13
OK now it works but progress bar inside GUI doesn't work... it stays like this during the whole extraction
http://img62.imageshack.us/img62/7969/sshot2ez.jpg

The progress bars will only work during audio, video, subtitle track extraction.

sheck
21st November 2012, 16:36
You really need to move it out of %UserProfile%\MKVCleaver , since that prevents the ability to launch by just typing mkvcleaver in a Run prompt.

The %UserProfile% directory take priority over PATH variables, which causes the settings folder gets opened when mkvcleaver is typed, instead of launching the program.

It's not a big deal as far as I'm concerned, but I will look to see if there is a compromise.

MasterNobody
21st November 2012, 18:55
Link for portable 32-bit v0.6.0.1 doesn't work.

sheck
21st November 2012, 19:02
Link for portable 32-bit v0.6.0.1 doesn't work.

Fixed. Was a typo in file name on the server.

Thanks.

sneaker_ger
21st November 2012, 22:59
Also, this would not work on XP.

Why shouldn't it work? %appdata% is even older than XP, IIRC.
I'd say it's best practice to use the folder designated by the operating system for this exact case instead of trying to do your own thing.

sheck
22nd November 2012, 20:52
Why shouldn't it work? %appdata% is even older than XP, IIRC.
I'd say it's best practice to use the folder designated by the operating system for this exact case instead of trying to do your own thing.
Yes, you're correct, my bad. And I'm not inventing anything new, %userprofile% is used by a lot of apps. The biggest reason is it's visible to users. There is a reason for AppData folder to be hidden. It was hidden to prevent inexperienced users from messing with important application data. I actually want users to see/access the files easily and modify them if needed thus the placement of the folder where it is now. Most likely it will stay there. If you don't like it, then please use the portable version.

sneaker_ger
1st December 2012, 07:44
Mkvextract complains about the H.264 bitstream, so that's nothing sheck could fix. You could ask in the mkvtoolnix thread (http://forum.doom9.org/showthread.php?t=155732), but likely Mosu will tell you he won't work on fixing broken files.
"Warning: Track 0: NAL too big. Size according to header field: 82331, available bytes in packet: XXXX. This NAL is defect and will be skipped."

sheck
5th December 2012, 20:14
Sheck, check this topic (http://forum.doom9.org/showthread.php?t=166592) out and try to reproduce the error, if you can. I cannot find a way to demux the files. Thanks.

Sorry, it's not related to MKVCleaver so I will not be spending time on this.

The best thing to do is to contact application developers for the application you're using to create the files, if they have any support.

Also, videohelp.com site has a lot of video repair tools. Maybe you can find something there to help you.

mobius1
18th January 2013, 20:06
Hi sheck.

It seems that MKVcleaver v 0.6.0.1 with mkvtoolnix v 5.8.0 doesn't work if path or filename contains any non-English characters (e.g. "C:\电影\a.mkv" "C:\电影.mkv").

However, v 0.5.0.4 MKVcleaver with mkvtoolnix v 5.2.1 works fine on my PC.

Mosu
18th January 2013, 20:10
If the GUI is calling mkvextract with option files then scheck should read the sections about option files (section 8) and escaping special characters (section 9) (http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html#mkvmerge.option_files).

mobius1
18th January 2013, 21:10
I just found MKVcleaver v 0.6.0.2 has been released on google code and it doesn't work either.

sheck
19th January 2013, 23:05
The problem was that the options file was not being saved in UTF8, but rather in ANSI.

sheck
19th January 2013, 23:10
Filxes:

* When converting from h264 to avi files were being split at 2 GB mark and that would produce broken avi. Removed size limit on output files.
* MKVExtract option file was being saved in ANSI format. Changed to UTF8.

sheck
19th January 2013, 23:12
I just found MKVcleaver v 0.6.0.2 has been released on google code and it doesn't work either.

Please re-download v 0.6.0.2. It should work now.

mobius1
20th January 2013, 04:52
An error comes up this time...
http://i.imgur.com/lVKvD9q.png

sheck
21st January 2013, 16:11
Try C:\ in the output directory. It's best if you use the browse button.

mobius1
22nd January 2013, 02:45
Try C:\ in the output directory. It's best if you use the browse button.

Still get the same error. I forgot to say that this error appears only if path or filename contains any non-English characters.

Same problem with other mkv files and changing path and filename is the only way that I found would make it works.

river1
23rd January 2013, 04:04
I've got no error message, but demuxing won't start when the mkv file is in a non-English path.

sheck
23rd January 2013, 16:17
Hmm. It works fine for me. Can someone maybe post the exact path and filename they use when the error comes up ?

mobius1
23rd January 2013, 19:58
I'm running a windows 7 in Chinese. I found that MKVcleaver works fine with filepaths containing non-English characters if language for non-unicode programs is set to English.

You should be able to reprodece this error by changing this option to Chinese and using one of those filepaths.

C:\动画.mkv
C:\新建文件夹\a.mkv
C:\新建文件夹\动画.mkv

Er, I just found "C:\NEW\动画.mkv" works but "C:\NEW\新建文件夹\a.mkv" or "C:\NEW\新建文件夹\动画.mkv" doesn't (with the option set to Chinese).

sheck
26th January 2013, 07:28
I cannot reproduce this error. Are you using the latest MkvToolNix ?

Can you maybe upload the file(s) for me to test with ? I'm curious if it has something to do with the file. See my signature for the link. Use my email from MKVCleaver.

mobius1
27th January 2013, 23:40
I found the situation is mess. After trying many files and filepathes, it seems that it doesn't depend on the file but the combination of pathes and filenames. Also 32-bit and 64-bit MKVcleaver gives different result on the same file with the same filepath.

I was using MKVToolNix v5.9.0 before. The test result posted here was carried out using v6.0.0 and I've uploaded the file.

32-bit MKVcleaver
Works:
No.1 "C:\视频\a动画.mkv"
No.2 "C:\a视频\动画.mkv"
No.3 "C:\a视频\视频\动画.mkv"
No.4 "C:\a视频\a新建文件夹\动画.mkv"

Doesn't work:
No.5 "C:\动画.mkv"
No.6 "C:\a动画.mkv"
No.7 "C:\视频\动画.mkv"
No.8 "C:\a视频\新建文件夹\动画.mkv"

64-bit MKVcleaver
Works:
No.7 "C:\视频\动画.mkv"

Doesn't work:
No.5 "C:\动画.mkv"
No.6 "C:\a动画.mkv"
No.1 "C:\视频\a动画.mkv"
No.2 "C:\a视频\动画.mkv"
No.3 "C:\a视频\视频\动画.mkv"
No.4 "C:\a视频\a新建文件夹\动画.mkv"
No.8 "C:\a视频\新建文件夹\动画.mkv"

Language for non-unicode programs is set to Chinese during the test. Only one version of MKVcleaver was instilled at the same time (I'm using msi installer).

Perhaps you could try those steps before extract

1.Uninstall MKVToolNix and MKVcleaver

2.Change the language for non-unicode programs to Chinese in contral panel then reboot

3.Delete folder "MKVcleaver" in user dir

4.Install MKVToolNix and MKVcleaver

hello_hello
4th June 2013, 16:10
Would it be possible for a future version of MKVcleaver to use MediaInfo to obtain any audio stream delay and write it to the file name when extracting? Similar to the way DGIndex does it when extracting the audio from vob files etc. It'd be handy to have it automated rather than need to manually check each MKV with MediaInfo after extracting the audio.

Cheers.

sheck
21st June 2013, 19:44
Would it be possible for a future version of MKVcleaver to use MediaInfo to obtain any audio stream delay and write it to the file name when extracting? Similar to the way DGIndex does it when extracting the audio from vob files etc. It'd be handy to have it automated rather than need to manually check each MKV with MediaInfo after extracting the audio.

Cheers.

Shouldn't be a problem.

sheck
21st June 2013, 19:45
I found the situation is mess. After trying many files and filepathes, it seems that it doesn't depend on the file but the combination of pathes and filenames. Also 32-bit and 64-bit MKVcleaver gives different result on the same file with the same filepath.

I was using MKVToolNix v5.9.0 before. The test result posted here was carried out using v6.0.0 and I've uploaded the file.

32-bit MKVcleaver
Works:
No.1 "C:\视频\a动画.mkv"
No.2 "C:\a视频\动画.mkv"
No.3 "C:\a视频\视频\动画.mkv"
No.4 "C:\a视频\a新建文件夹\动画.mkv"

Doesn't work:
No.5 "C:\动画.mkv"
No.6 "C:\a动画.mkv"
No.7 "C:\视频\动画.mkv"
No.8 "C:\a视频\新建文件夹\动画.mkv"

64-bit MKVcleaver
Works:
No.7 "C:\视频\动画.mkv"

Doesn't work:
No.5 "C:\动画.mkv"
No.6 "C:\a动画.mkv"
No.1 "C:\视频\a动画.mkv"
No.2 "C:\a视频\动画.mkv"
No.3 "C:\a视频\视频\动画.mkv"
No.4 "C:\a视频\a新建文件夹\动画.mkv"
No.8 "C:\a视频\新建文件夹\动画.mkv"

Language for non-unicode programs is set to Chinese during the test. Only one version of MKVcleaver was instilled at the same time (I'm using msi installer).

Perhaps you could try those steps before extract

1.Uninstall MKVToolNix and MKVcleaver

2.Change the language for non-unicode programs to Chinese in contral panel then reboot

3.Delete folder "MKVcleaver" in user dir

4.Install MKVToolNix and MKVcleaver

I was only able to reproduce similar issue twice out of 30 tests. Not sure yet of the cause.

gonwk
21st June 2013, 20:48
Hi sheck.

It seems that MKVcleaver v 0.6.0.1 with mkvtoolnix v 5.8.0 doesn't work if path or filename contains any non-English characters (e.g. "C:\电影\a.mkv" "C:\电影.mkv").

However, v 0.5.0.4 MKVcleaver with mkvtoolnix v 5.2.1 works fine on my PC.

Hi Mobius1,

Q: If 0.5.0.4 MKVcleaver with MKVToolnix 5.2.1 works why even bother to change to Cleaver 0.6.0.2? Just Curious!

Thanks!

G! :)

Keiyakusha
21st June 2013, 21:35
I was only able to reproduce similar issue twice out of 30 tests. Not sure yet of the cause.

Happens to me X times out of X tests. In my case its a Japanese windows, not Chinese. If it's not like that for you, perhaps what you reproduced is some other issue. Impossible to use MKVcleaver at all, unless I move everything to the root of the drive.

sheck
21st June 2013, 23:36
Keiyakusha,

Can you post the output from one of the problem files here (just copy the info from MKVCleaver):

http://einsof-haras.ca/screenshots/mkvcleaver_screen1.png

Also, can you post the output of mkvcleaver -i command for the same file.

Thanks.

Keiyakusha
22nd June 2013, 01:30
sheck
Sorry, I'm not sure that I understand what are you talking about... I saw the post by mobius1 and It looked similar to what I'm experiencing. If I try to process file that have non-english characters in name/path, MKVcleaver simply hangs and I have to kill the process. I have no output of any kind that I can post.

sheck
24th June 2013, 02:43
sheck
Sorry, I'm not sure that I understand what are you talking about... I saw the post by mobius1 and It looked similar to what I'm experiencing. If I try to process file that have non-english characters in name/path, MKVcleaver simply hangs and I have to kill the process. I have no output of any kind that I can post.

Keiyakusha,

Just add a problem file to MKVcleaver, double right click on the file inside MKVcleaver and then just paste the information here.

Then run mkvmerge -i <filename> in a command line and post the output here.

I need this information to try to solve the issue.

Keiyakusha
24th June 2013, 04:23
Keiyakusha,

Just add a problem file to MKVcleaver, double right click on the file inside MKVcleaver and then just paste the information here.

Then run mkvmerge -i <filename> in a command line and post the output here.

I need this information to try to solve the issue.

In other words you need mediainfo information?
Also, after all you want run mkvmerge -i <filename> not mkvcleaver -i <filename> ( ´∀`)

Here. But honestly I don't see what info here can be useful for you...

File 'G:\【ピアノ】ボーカロイドメドレー+αを弾いてみた【まらしぃ】.mkv': container: Matroska
Track ID 0: video (V_MPEG4/ISO/AVC)
Track ID 1: audio (A_AAC)

General
Unique ID: 241700717480383072349395742733407150906 (0xB5D5DD6C8BD98DB7A348F8B14680E33A)
Complete name: G:\【ピアノ】ボーカロイドメドレー+αを弾いてみた【まらしぃ】.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size: 93.6 MiB
Duration : 16mn 19s
Overall bit rate : 801 Kbps
Encoded date : UTC 2013-06-24 03:08:20
Writing application: mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library: libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 1
Format : AVC
Format/Info: Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : No
Format settings, ReFrames: 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 16mn 19s
Width: 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode: Constant
Frame rate : 60.000 fps
Color space: YUV
Chroma subsampling : 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Language : Japanese
Default: Yes
Forced : No
Color primaries: BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients: BT.601

Audio
ID : 2
Format : AAC
Format/Info: Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 16mn 19s
Channel(s) : 2 channels
Channel positions: Front: L R
Sampling rate: 44.1 KHz
Compression mode : Lossy
Language : Japanese
Default: Yes
Forced : No

johnsonlam
24th July 2013, 01:47
I was only able to reproduce similar issue twice out of 30 tests. Not sure yet of the cause.

Hi Sheck,

I've the same problem here, but I've figure out why.

From the "mkv_cmd1.txt", the non-ASCII characters all become ????, that means MKVCleaver compile with non-Unicode binary, it may be library or something else, this is very common for the developers in US or German since they didn't use Unicode characters in their computer.

krmit
8th August 2013, 20:53
exactly. it don't like russian characters in path too.

Dark Eiri
18th August 2013, 10:22
I can't seem to open any WebM files downloaded from youtube ):

Cleaver says it's not recognized as a Matroska file.

sheck
4th September 2013, 03:02
Hi Sheck,

I've the same problem here, but I've figure out why.

From the "mkv_cmd1.txt", the non-ASCII characters all become ????, that means MKVCleaver compile with non-Unicode binary, it may be library or something else, this is very common for the developers in US or German since they didn't use Unicode characters in their computer.

Hmm... Works properly on my development PC. I will spin up a VM and see what difference it makes.

sheck
4th September 2013, 03:12
I can't seem to open any WebM files downloaded from youtube ):

Cleaver says it's not recognized as a Matroska file.

Can you provide me with an example file ? See my signature.