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 3rd April 2017, 17:48   #281  |  Link
RyFeR26
Registered User
 
Join Date: Mar 2017
Posts: 6
Quote:
Originally Posted by Bal65 View Post
Still not remembering the settings.

Detected settings path in the log "always" matches whatever directory the main program is located in.

FYI, the values in the ini file do change as I resize the window or if I type something into the Output Directory field and those settings remain "what they were" after I close the program. The problem happens the next time I start it up.

Everything in the ini file reverts back to the initial settings just as if the main program is either not detecting the ini already exists or it's resetting the values to their defaults prior to actually reading them.
I have exactly the same issue (latest version (1.9.1) on Win10 x64). ini is created, values change when i change the size of the window and check the ini file after closing the app but when starting it's like the ini values are not read and all is set to default again (also in the ini).

Could this be investigated? If more info / testing is needed just let me know.
RyFeR26 is offline   Reply With Quote
Old 3rd April 2017, 19:44   #282  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
@RyFeR26, @Bal65
Could you check the log for this test build?
https://sourceforge.net/projects/gmk....1.7z/download

@djcj
Unfortunately the attachments are still pending approval from the boarad. Could you paste the log to pastebin?
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 8th April 2017, 13:47   #283  |  Link
RyFeR26
Registered User
 
Join Date: Mar 2017
Posts: 6
[QUOTE=gpower2;1802687]@RyFeR26, @Bal65
Could you check the log for this test build?
https://sourceforge.net/projects/gmk....1.7z/download

Downloaded the test version and replaced the files. Started the app, all set to default, changed window size, etc, closed app, restarted app, again set to default.

Copy of log-file and the ini file after resizing and closing the app attached.

If you need more info let me know, thanks for looking into this.
RyFeR26 is offline   Reply With Quote
Old 10th April 2017, 17:59   #284  |  Link
Bal65
Registered User
 
Join Date: Mar 2017
Posts: 8
Quote:
Originally Posted by gpower2 View Post
@RyFeR26, @Bal65
Could you check the log for this test build?
Just as before, when I exit the program, the ini file contains the new settings but, once I restart it, they revert back to the defaults.

Here's the log from your new test version and it shows it is in fact saving the settings before it reads them!

[2017-04-10][12:36:30] Detected settings path: C:\Temp\[Test][20170403]gMKVExtractGUI.v1.9.1
[2017-04-10][12:36:30] Changing WindowState
[2017-04-10][12:36:30] Saving settings...
[2017-04-10][12:36:30] Begin loading settings...
[2017-04-10][12:36:30] Finished loading settings!
[2017-04-10][12:36:30] Begin setting form size and position from settings...
[2017-04-10][12:36:30] Finished setting form size and position from settings!
[2017-04-10][12:36:30] Begin setting chapter type, output directory and job mode from settings...
[2017-04-10][12:36:30] Finished setting chapter type, output directory and job mode from settings!
[2017-04-10][12:36:30] Checking registry for mkvmerge...
[2017-04-10][12:36:30] Changing MkvToolnixPath
[2017-04-10][12:36:30] Saving settings...

The problem appears to be caused by the Changing WindowsState detection which is forcing it to update the settings before it actually reads them. Suggest you update the code so it reads and applies the existing ini settings before making any changes to them.
Bal65 is offline   Reply With Quote
Old 10th April 2017, 18:04   #285  |  Link
Bal65
Registered User
 
Join Date: Mar 2017
Posts: 8
Quote:
Originally Posted by gpower2 View Post
@RyFeR26, @Bal65
Could you check the log for this test build?
As before, the settings are changed when I exit the program but get reset to their defaults once I restart it.

Here's the log for this version.
  1. Detected settings path: C:\Temp\gMKVExtractGUI.v1.9.1
  2. Changing WindowState
  3. Saving settings...
  4. Begin loading settings...
  5. Finished loading settings!
  6. Begin setting form size and position from settings...
  7. Finished setting form size and position from settings!
  8. Begin setting chapter type, output directory and job mode from settings...
  9. Finished setting chapter type, output directory and job mode from settings!
  10. Checking registry for mkvmerge...
  11. Changing MkvToolnixPath
  12. Saving settings...
As you can see, it clearly indicates the program is saving the settings before it actually reads them which is what's causing the problem.
Bal65 is offline   Reply With Quote
Old 13th April 2017, 18:14   #286  |  Link
RyFeR26
Registered User
 
Join Date: Mar 2017
Posts: 6
Quote:
Originally Posted by Bal65 View Post
As before, the settings are changed when I exit the program but get reset to their defaults once I restart it.

Here's the log for this version.
  1. Detected settings path: C:\Temp\gMKVExtractGUI.v1.9.1
  2. Changing WindowState
  3. Saving settings...
  4. Begin loading settings...
  5. Finished loading settings!
  6. Begin setting form size and position from settings...
  7. Finished setting form size and position from settings!
  8. Begin setting chapter type, output directory and job mode from settings...
  9. Finished setting chapter type, output directory and job mode from settings!
  10. Checking registry for mkvmerge...
  11. Changing MkvToolnixPath
  12. Saving settings...
As you can see, it clearly indicates the program is saving the settings before it actually reads them which is what's causing the problem.
Hmmm, my post with the log file and ini file did not seem to be added properly (not seeing it anyway).

Same issue with the tets-version as Bal65 has commented on. INI file holds the correct data after closing the app, i see the same entries in the log when opening the app again, it says it's loading settings and that it's finished but all is back to default.
RyFeR26 is offline   Reply With Quote
Old 15th April 2017, 12:21   #287  |  Link
RyFeR26
Registered User
 
Join Date: Mar 2017
Posts: 6
Previous 2 posts did not make it to the forum somehow...

Exactly the same behavior as Bal65 describes, incl the Saving settings before the Loading settings.
RyFeR26 is offline   Reply With Quote
Old 15th April 2017, 12:54   #288  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
I think I found the cause of this behaviour, could you please check out this test version: https://sourceforge.net/projects/gmk....1.7z/download

Thanks for all your feedback!
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 15th April 2017, 14:13   #289  |  Link
Bal65
Registered User
 
Join Date: Mar 2017
Posts: 8
This one keeps the settings between uses

Log file...
  1. Detected settings path: C:\Temp\gMKVExtractGUI.v1.9.1
  2. Begin loading settings...
  3. Finished loading settings!
  4. Begin setting form size and position from settings...
  5. Finished setting form size and position from settings!
  6. Begin setting chapter type, output directory and job mode from settings...
  7. Finished setting chapter type, output directory and job mode from settings!
  8. Checking registry for mkvmerge...
  9. Changing MkvToolnixPath
  10. Saving settings...
Bal65 is offline   Reply With Quote
Old 15th April 2017, 14:17   #290  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
That's excellent news! Those changes will land with the new version.
Till then, you can safely use the Test version, since it doesn't include any experimental changes and it is safe for daily use.
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 15th April 2017, 14:23   #291  |  Link
Bal65
Registered User
 
Join Date: Mar 2017
Posts: 8
Thanks!
Bal65 is offline   Reply With Quote
Old 23rd April 2017, 14:07   #292  |  Link
RyFeR26
Registered User
 
Join Date: Mar 2017
Posts: 6
Quote:
Originally Posted by gpower2 View Post
That's excellent news! Those changes will land with the new version.
Till then, you can safely use the Test version, since it doesn't include any experimental changes and it is safe for daily use.
Hi, I also confirm it works perfectly now on my config

Thanks for fixing it!
RyFeR26 is offline   Reply With Quote
Old 24th April 2017, 19:30   #293  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
gMKVExtractGUI v1.9.2

New version 1.9.2 is out and it is yet again another bug fix release. The settings issues are fixed, as well as the remaining locale issues on Linux.

Download link:
https://sourceforge.net/projects/gmk....2.7z/download

Changelog:
  • Add more Log messages
  • Add more functionality to the Log Form
  • Fix some cases where settings were getting overriden during start up (thanks Bal65, RyFeR26!)
  • Switch to using --gui-mode for mkvextract versions v9.7.0 and newer, while keeping existing functionality for backwards compatibility
  • Hopefully solve all remaining issues with locale on Linux (thanks djcj!)

Enjoy people!
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 26th September 2017, 11:28   #294  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
gMKVExtractGUI v2.0.0

After almost 4 years since the first version of gMKVExtractGUI, I finally managed to rework the UI and the necessary core code to support batch extracting!
v2.0.0 incorporates a new form, that is based on the old one in order to retain familiarity and not to mess with the existing user's workflow. You can now add multiple files and the recognized tracks will appear in a tree. Multiple selection of tracks can be done either manually, or via the context menu which is automatically created according to the file tracks.
The "Job Mode" check box is now replaced by the button "Add Job", so the user can more easily add jobs or run instantly the extraction process.
There are also a lot of changes that I can't possibly document here, so I guess I urge you to discover them!

So without further ado, the download link:

Download link:
https://sourceforge.net/projects/gmk....0.7z/download

Changelog:
  • New form that supports batch extracting!
  • Fix bug when removing multiple jobs from Job Manager
  • Add the filename in the track progress report label in the Job Manager
  • Add new properties in the gMKVSegmentInfo class

Hope you enjoy this people!
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 26th September 2017, 15:25   #295  |  Link
SeeMoreDigital
Life looks better in HD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,232
Hi gpower2,

Sadly I'm receiving a 'page 404' error
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 26th September 2017, 15:27   #296  |  Link
Wildfire
Registered User
 
Join Date: Apr 2003
Location: the Netherlands
Posts: 150
Quote:
Originally Posted by SeeMoreDigital View Post
Hi gpower2,

Sadly I'm receiving a 'page 404' error
SourceForge seems to be down at the moment. As their Twitter account states, "SourceForge is experiencing issues. We are investigating."
Wildfire is offline   Reply With Quote
Old 26th September 2017, 15:28   #297  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
Talk about bad timing...
Entire SourceForge page is down, so naturally the download links don't work at the moment.

You can download v2.0.0 from Videohelp's mirror, at least until SourceForge is back up:
https://www.videohelp.com/download/g...tGUI.v2.0.0.7z

EDIT:
You can also download v2.0.0 from SoftPedia:
http://www.softpedia.com/get/Multime...tractGUI.shtml
__________________
Gp2 says: Don't be a fool, just be cool :D !

Last edited by gpower2; 26th September 2017 at 18:46.
gpower2 is offline   Reply With Quote
Old 26th September 2017, 15:47   #298  |  Link
djcj
Registered User
 
Join Date: Jun 2013
Location: Germany
Posts: 42
On Linux I'm getting a "user32.dll" warning with v2.0.0 when I open a matroska file:

Code:
[2017-09-26][16:29:19] System.DllNotFoundException: user32.dll
  at (wrapper managed-to-native) gMKVToolNix.gTreeView:SendMessage (intptr,int,intptr,gMKVToolNix.gTreeView/TVITEM&)
  at gMKVToolNix.gTreeView.SetIsCheckBoxVisible (System.Windows.Forms.TreeNode node, Boolean value) <0x4216a890 + 0x00193> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) gMKVToolNix.gTreeView:SetIsCheckBoxVisible (System.Windows.Forms.TreeNode,bool)
  at gMKVToolNix.Forms.frmMain2.<AddFileNodes>b__14_4 (System.Windows.Forms.TreeNode n) <0x4216a7a0 + 0x0002b> in <filename unknown>:0 
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1 action) <0x4216a6b0 + 0x0007f> in <filename unknown>:0 
  at gMKVToolNix.Forms.frmMain2.AddFileNodes (System.String argMKVToolNixPath, System.Collections.Generic.List`1 argFiles, Boolean argAppend) <0x4212e630 + 0x005db> in <filename unknown>:0 
  at gMKVToolNix.Forms.frmMain2.addInputFileToolStripMenuItem_Click (System.Object sender, System.EventArgs e) <0x4206b0d0 + 0x0010b> in <filename unknown>:0
Mapping user32.dll in the mono config to any Linux library like this

Code:
<dllmap dll="user32.dll" target="libc.so.6" os="!windows"/>
gives me a "SendMessage" warning:

Code:
[2017-09-26][16:33:21] System.EntryPointNotFoundException: SendMessage
  at (wrapper managed-to-native) gMKVToolNix.gTreeView:SendMessage (intptr,int,intptr,gMKVToolNix.gTreeView/TVITEM&)
  at gMKVToolNix.gTreeView.SetIsCheckBoxVisible (System.Windows.Forms.TreeNode node, Boolean value) <0x4127bb50 + 0x00193> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) gMKVToolNix.gTreeView:SetIsCheckBoxVisible (System.Windows.Forms.TreeNode,bool)
  at gMKVToolNix.Forms.frmMain2.<AddFileNodes>b__14_4 (System.Windows.Forms.TreeNode n) <0x4127ba60 + 0x0002b> in <filename unknown>:0 
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1 action) <0x4127b970 + 0x0007f> in <filename unknown>:0 
  at gMKVToolNix.Forms.frmMain2.AddFileNodes (System.String argMKVToolNixPath, System.Collections.Generic.List`1 argFiles, Boolean argAppend) <0x4123fdc0 + 0x005db> in <filename unknown>:0 
  at gMKVToolNix.Forms.frmMain2.addInputFileToolStripMenuItem_Click (System.Object sender, System.EventArgs e) <0x41176f50 + 0x0010b> in <filename unknown>:0
Everything is still working. I can check or uncheck a track, but clicking on the line next to the track's checkbox makes the program crash.
djcj is offline   Reply With Quote
Old 26th September 2017, 16:18   #299  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
I was afraid of that, but my VirtualBox stopped working and I didn't take the time to check it on Linux...

It's just some work arounds for bugs of the TreeView control in .NET, I'll just disable them for Linux OS.

Thanks for the feedback!
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Old 26th September 2017, 18:45   #300  |  Link
gpower2
Yet another Doom9 member
 
gpower2's Avatar
 
Join Date: Aug 2003
Location: Greece / Thessaloniki
Posts: 181
@djcj
Since SourceForge appears to be seriously broken, you can appy this patch in order to solve the Linux problems:

Code:
Index: gMKVExtractGUI/Controls/gTreeView.cs
===================================================================
--- gMKVExtractGUI/Controls/gTreeView.cs	(revision 149)
+++ gMKVExtractGUI/Controls/gTreeView.cs	(working copy)
@@ -150,6 +150,11 @@
                 throw new ArgumentNullException("node");
             if (node.TreeView == null)
                 throw new InvalidOperationException("The node does not belong to a tree.");
+
+            // If we are on Linux, we can't use P/Invoke to user32.dll
+            // So this function can't do anything
+            if (gMKVHelper.IsOnLinux) { return; }
+
             var tvi = new TVITEM
             {
                 hItem = node.Handle,
@@ -173,6 +178,11 @@
                 throw new ArgumentNullException("node");
             if (node.TreeView == null)
                 throw new InvalidOperationException("The node does not belong to a tree.");
+            
+            // If we are on Linux, we can't use P/Invoke to user32.dll
+            // So if the node's check box visibility has the same value as the node's TreeView CheckBoxes property 
+            if (gMKVHelper.IsOnLinux) { return node.TreeView.CheckBoxes; }
+
             var tvi = new TVITEM
             {
                 hItem = node.Handle,
__________________
Gp2 says: Don't be a fool, just be cool :D !
gpower2 is offline   Reply With Quote
Reply

Tags
gmkvextractgui, 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 23:44.


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