Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th September 2015, 09:15   #161  |  Link
djcj
Registered User
 
Join Date: Jun 2013
Location: Germany
Posts: 44
Quote:
Originally Posted by gpower2 View Post
I'd expect that the "LANGUAGE=C" should not be needed, since the app executes all the cli commands with the "ui-language" parameter in order to be sure that the output is always english. Could you give it a try?
Somehow the output of the log is in German for me (my default environment language) and the app pops up that "No mkv segments found" message again. Maybe the environment variables have a higher priority and they're kind of overwriting the cli commands? Here's the log if you need it: http://pasted.co/468748b5

Quote:
Originally Posted by gpower2 View Post
That could mean that the parser couldn't parse the progress percentage from the output, or that mono can't update the UI asychronously.
Could you post the Log to see what the output writes?
http://pasted.co/b58a2ad1

Quote:
Originally Posted by gpower2 View Post
In r77, I had made a fallback mechanism in order to write to UserAppData when the current user does not have write permissions to the current folder. To be honest I don't know how this will work on Linux.
Great. It actually works. I've put it into a system directory and then it writes the config into /home/djcj/.config/Gpower2/gMKVExtractGUI/1.6.3.0/gMKVExtractGUI.ini
djcj is offline   Reply With Quote
Old 27th September 2015, 09:27   #162  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
Quote:
Somehow the output of the log is in German for me (my default environment language) and the app pops up that "No mkv segments found" message again. Maybe the environment variables have a higher priority and they're kind of overwriting the cli commands? Here's the log if you need it: http://pasted.co/468748b5
I guess I have to ask Mosu about that one...

Quote:
Originally Posted by gpower2
That could mean that the parser couldn't parse the progress percentage from the output, or that mono can't update the UI asychronously.
Could you post the Log to see what the output writes?
http://pasted.co/b58a2ad1
The output log is as expected. I checked the relevant code again and everything seems to be bug free, so I'm guessing it's a mono issue.

Quote:
Great. It actually works. I've put it into a system directory and then it writes the config into /home/djcj/.config/Gpower2/gMKVExtractGUI/1.6.3.0/gMKVExtractGUI.ini
I guess that covers your request, right? I still might implement the cli argument, since it's actually a cool idea!

Thanks again!
gpower2 is offline   Reply With Quote
Old 29th September 2015, 08:28   #163  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
After reading the mkvmerge manual more carefully I noticed this:

Quote:
--ui-language code
Forces the translations for the language code to be used (e.g. 'de_DE' for the German translations). It is preferable to use the environment variables LANG, LC_MESSAGES and LC_ALL though. Entering 'list' as the code will cause mkvmerge(1) to output a list of available translations.
That's why you have to set the LANGUAGE environment variable beforehand!

So, I changed the code a bit, to set the needed environment variables to "C" locale when on Linux and not to use the "--ui-language" cli option.
The environment variables values should only affect the current process, so you won't have to worry about messing with your locale settings.

Could you check r82 without patching it and without adding LANGUAGE=C before running it?
gpower2 is offline   Reply With Quote
Old 30th September 2015, 16:40   #164  |  Link
magsoud
Registered User
 
magsoud's Avatar
 
Join Date: Jan 2012
Location: Tabriz
Posts: 48
Please Add Checkbox "Use Source Dir for Output"
magsoud is offline   Reply With Quote
Old 30th September 2015, 17:31   #165  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
By default the output dir is the same with the source dir, unless you check the "Lock output" checkbox.

So your request is already fulfilled!
gpower2 is offline   Reply With Quote
Old 20th October 2015, 18:26   #166  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
the program keeps crashing for me after updating mkvtoolnix to 8.5.0. does anyone else have this problem?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 21st October 2015, 06:54   #167  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
At what phase does the app crash?
It crashes immediately on start up?
Or when you open a file?

EDIT:
It appears that the 8.5.0 installer deletes all files in "C:\Program Files\MKVToolnix" except the ones with "exe" extension.
So if you had put the gMKVExtractGUI files in this directory, you will find that the file "gMKVToolnix.dll" is missing.
In that case you should re-download gMKVExtractGUI and put all the files in the MKVToolnix directory again.

Last edited by gpower2; 21st October 2015 at 07:00.
gpower2 is offline   Reply With Quote
Old 21st October 2015, 19:01   #168  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
thanks, it works again.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 29th October 2015, 10:12   #169  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Your tool does great job but there is one cosmetic annoyance that you could fix easily I hope:
Individual and total jobs percentage labels should be moved one row further down so as to align with their progress bars accordingly - see screenshot:

kypec is offline   Reply With Quote
Old 29th October 2015, 19:27   #170  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
I will fix it in the new version!

Thanks for the feedback!
gpower2 is offline   Reply With Quote
Old 3rd November 2015, 17:36   #171  |  Link
magsoud
Registered User
 
magsoud's Avatar
 
Join Date: Jan 2012
Location: Tabriz
Posts: 48
two suggestion for MKVExtractGUI:
1) When the application is extracting, Show warning for click on Close!
2) Show "Success Extraction" in Main Window!
Attached Images
 
magsoud is offline   Reply With Quote
Old 21st November 2015, 12:51   #172  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
New version 1.6.4 is out, mostly containing fixes reported from users here, but the most exciting thing about this version, is that it's the first to fully support Linux, thanks to feedback from djcj!

Download link:
http://sourceforge.net/projects/gmkv....4.7z/download

Changelog:
  • Add support for Linux (thanks djcj)
  • Add a start up check to ensure that gMKVToolnix.dll is present in the same directory as gMKVExtractGUI.exe
  • Fix progress labels position in JobManager form (thanks kypec)
  • Add check on closing in order to ensure that an extraction process does not get interrupted unintentionally (thanks magsood)
  • Fix Job Manager form Minimum Size
  • Add context menu to Job Manager Form in order to easily reset job states

Enjoy!
gpower2 is offline   Reply With Quote
Old 13th December 2015, 12:05   #173  |  Link
johnsonlam
Registered User
 
johnsonlam's Avatar
 
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 168
mkvtoolnix-64bit-8.6.1 breaks gMKVExtractGUI 1.6.4.0

Hi,

The download binary name is gMKVExtractGUI 1.6.4.7, in fact it's 1.6.4.0.
When I drag a MKV made with mkvtoolnix-64bit-8.6.1 it complain "Input string was not in a correct format".

Thanks.
__________________
Hong Kong - International Joke Center (after 1997-6-30)

Last edited by johnsonlam; 13th December 2015 at 12:09.
johnsonlam is offline   Reply With Quote
Old 13th December 2015, 13:03   #174  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
Quote:
Originally Posted by johnsonlam View Post
Hi,

The download binary name is gMKVExtractGUI 1.6.4.7, in fact it's 1.6.4.0.
When I drag a MKV made with mkvtoolnix-64bit-8.6.1 it complain "Input string was not in a correct format".

Thanks.
Hi, the download binary is 1.6.4 but it's file extension is 7z, so perhaps you thought that the version is 1.6.4.7 while it's indeed 1.6.4.

Using MkvToolNix 8.6.1 works for me so you have to provide more details with your problem. First step would be to paste the results from the Log window.
gpower2 is offline   Reply With Quote
Old 14th December 2015, 14:35   #175  |  Link
johnsonlam
Registered User
 
johnsonlam's Avatar
 
Join Date: Nov 2003
Location: Kowloon, Hong Kong
Posts: 168
Quote:
Originally Posted by gpower2 View Post
Hi, the download binary is 1.6.4 but it's file extension is 7z, so perhaps you thought that the version is 1.6.4.7 while it's indeed 1.6.4.

Using MkvToolNix 8.6.1 works for me so you have to provide more details with your problem. First step would be to paste the results from the Log window.
Sorry! I'm too hurry to report the problem.
Attached was the log and the actual message dialog.

Thanks.

Rgds,
Johnson.
Attached Images
 
Attached Files
File Type: txt err.txt (17.3 KB, 40 views)
__________________
Hong Kong - International Joke Center (after 1997-6-30)
johnsonlam is offline   Reply With Quote
Old 22nd January 2016, 02:26   #176  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
convert XML to CUE sheet

Hi, I'm trying to make CDs from some MKVs, and it would be VERY useful to be able to convert XML to CUE format. I need this:

PERFORMER "Electric Light Orchestra"
TITLE "Hyde Park"
FILE "Hyde Park.wav" WAVE
TRACK 01 AUDIO
TITLE "01 - All Over The World"
PERFORMER "Electric Light Orchestra"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "02 - Evil Woman"
PERFORMER "Electric Light Orchestra"
INDEX 01 04:29:10
...

instead of this:

<?xml version="1.0"?>
<!-- <!DOCTYPE Chapters SYSTEM "matroskachapters.dtd"> -->
<Chapters>
<EditionEntry>
<EditionFlagHidden>0</EditionFlagHidden>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionUID>16840779534454836898</EditionUID>
<ChapterAtom>
<ChapterUID>11141243726119184491</ChapterUID>
<ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
<ChapterTimeEnd>00:04:29.135533333</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>01 - All Over The World</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterUID>11775360033362589863</ChapterUID>
<ChapterTimeStart>00:04:29.135533333</ChapterTimeStart>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
<ChapterTimeEnd>00:09:09.882666666</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>02 - Evil Woman</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
.....
isidroco is offline   Reply With Quote
Old 22nd January 2016, 11:45   #177  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,379
Quote:
Originally Posted by isidroco View Post
Hi, I'm trying to make CDs from some MKVs, and it would be VERY useful to be able to convert XML to CUE format.

Such a feature was requested for my chapterEditor and its on the ToDo list.
The person are used this tool(chap2cue) at the moment.
hubblec4 is offline   Reply With Quote
Old 28th January 2016, 10:06   #178  |  Link
gpower2
gMKVExtractGUI author
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 251
Quote:
Originally Posted by johnsonlam View Post
Sorry! I'm too hurry to report the problem.
Attached was the log and the actual message dialog.
So sorry for the late response, unfortunately I thoroughly checked the source code and couldn't find where this error might be.
Could you upload me a piece of the video that throws the error in order to properly debug it?

Quote:
Originally Posted by isidroco View Post
Hi, I'm trying to make CDs from some MKVs, and it would be VERY useful to be able to convert XML to CUE format. I need this:

PERFORMER "Electric Light Orchestra"
TITLE "Hyde Park"
FILE "Hyde Park.wav" WAVE
TRACK 01 AUDIO
TITLE "01 - All Over The World"
PERFORMER "Electric Light Orchestra"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "02 - Evil Woman"
PERFORMER "Electric Light Orchestra"
INDEX 01 04:29:10
...

instead of this:

<?xml version="1.0"?>
<!-- <!DOCTYPE Chapters SYSTEM "matroskachapters.dtd"> -->
<Chapters>
<EditionEntry>
<EditionFlagHidden>0</EditionFlagHidden>
<EditionFlagDefault>1</EditionFlagDefault>
<EditionUID>16840779534454836898</EditionUID>
<ChapterAtom>
<ChapterUID>11141243726119184491</ChapterUID>
<ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
<ChapterTimeEnd>00:04:29.135533333</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>01 - All Over The World</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterUID>11775360033362589863</ChapterUID>
<ChapterTimeStart>00:04:29.135533333</ChapterTimeStart>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
<ChapterTimeEnd>00:09:09.882666666</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>02 - Evil Woman</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
.....
What you are asking is a converter from XML chapters to CUE format. Since the XML chapters does not contain all the information needed for the CUE file, the converter should demand from the user to enter the rest of the information. As you can see, all this is not in the scope of extracting tracks from matroska files, so I will not implement such a feature.
You could use another utility like hubblec4's chapterEditor.
gpower2 is offline   Reply With Quote
Old 29th January 2016, 13:29   #179  |  Link
bin_ch
Registered User
 
Join Date: Sep 2009
Posts: 37
Quote:
Originally Posted by gpower2 View Post
So sorry for the late response, unfortunately I thoroughly checked the source code and couldn't find where this error might be.
Could you upload me a piece of the video that throws the error in order to properly debug it?
Just a wild guess.
Don't know whether you have already noticed, the log johnsonlam provided contains some question marks (track_name for the subtitle tracks, and file name for attachment id 6), which indicates a very possible text encoding issue.
MKVToolNix used to write BOM for UTF-* encoded text files, but version 8.6.0 of MKVToolNix included a change to not write BOM anymore. The change has been reverted in 8.7.0.
Considering johnsonlam was using an affected version (8.6.1), would it be possible that the problem is caused by that change?
I suggest johnsonlam giving 8.7.0+ a try, to see if the problem still exists.
bin_ch is offline   Reply With Quote
Old 2nd February 2016, 19:00   #180  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by gpower2 View Post
What you are asking is a converter from XML chapters to CUE format. Since the XML chapters does not contain all the information needed for the CUE file, the converter should demand from the user to enter the rest of the information. As you can see, all this is not in the scope of extracting tracks from matroska files, so I will not implement such a feature.
You could use another utility like hubblec4's chapterEditor.
The only info it may not have is title/performer which can be omited if absent (title could be filename). Basically, INDEX 01 is the position of each <ChapterTimeEnd> with decimals translated to frames. And track TITLE is <ChapterString> (which can be set to a generic "Track nn" if absent). Resulting text file can be edited later if one wants more data in it, but it is a huge improvement to be able to have a CUEsheet of extracted WAV.

Last edited by isidroco; 2nd February 2016 at 19:03.
isidroco is offline   Reply With Quote
Reply

Tags
extractor, gmkvextractgui, matroska, mkv, mkv extract, mkvextract, mkvextractgui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.