Log in

View Full Version : MeGUI development


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 [55] 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92

Sharktooth
21st December 2006, 14:56
Well... they're not stable AT ALL...
there are still big issues (Oneclick encoder throws an exception when clicking Config on 1 click profile, people is reporting issues with .d2v files... etc).

pinkie_1
21st December 2006, 16:34
I totally agree with you on this one, Sharx.
And it's rather funny recalling that you said one or two days ago to someone that .2193 it's an outdated version...
For regular users (n00bs included), .2192/.2193 still offer the most reliable encodings.

Maybe you should tag .10xy (up to 20 or even 30) as being testing-only.

Sharktooth
21st December 2006, 16:38
Well, we need testing... and we havent beta testers... so... :)

Adub
21st December 2006, 17:34
I'm there for you guys man. I test as much as possible.
Speaking of which, that dialog bug showed up again. I will try and track it down later on today. It may have something to do with 3 threads being used, but just wait until I can isolate the incident.

Sharktooth
21st December 2006, 17:41
0.2.4.1013
Commit by berrinam:
- Re-enabled the right-click menu in the job queue

berrinam
22nd December 2006, 00:01
Well... they're not stable AT ALL...
there are still big issues (Oneclick encoder throws an exception when clicking Config on 1 click profile, people is reporting issues with .d2v files... etc).

Really?

I knew about the Oneclick exception, but I thought I had fixed it, and I can no longer reproduce it.

Sharktooth
22nd December 2006, 00:34
open megui, open 1 click encoder then click on the config button... also zones in xvid are broken.
when clicking preview in avisynth script creator, after crop and resize, it doesnt display the whole image (the frame is of the correct dimensions though), sometimes the jobs do not start automatically in auto-encode, status window disappear in 2nd pass...
im looking at the code and fixing here and there, but im still "learning" after the refactor.

bob0r
22nd December 2006, 00:39
So megui 0.2.3.2193 updating to 0.2.4.x is a bug also? :)

Sharktooth
22nd December 2006, 00:43
Well, once installed it auto-updates itself... so you can just put into the package the newer versions as well... it will save some traffic on the auto-update server.

berrinam
22nd December 2006, 01:33
open megui, open 1 click encoder then click on the config button... The annoying thing is that I get this crash when I run megui by itself, but when I run it from VS with the debugger, it opens fine.

Sharktooth
22nd December 2006, 01:44
weird. try compiling a debug build and see if it crashes (i cant do it right now).

berrinam
22nd December 2006, 07:02
0.2.4.1014
Commit by berrinam:
- Big code changes to JobControl (the queue) resulting in:
- 'skip' is now a status which has the same effect as 'postponed'
- chained jobs are set to 'skip' if a job in the chain is aborted/errored
- Progress Window should always open
- Jobs should always start if 'Auto start queue' is set
- Missing an executable file results in an error now
- No running of single jobs, like the AVS window is supposed to do

chros
22nd December 2006, 09:08
How about this idea?
It would be fortunate that megui had a stabe and testing branch: eg: in C:\ProgFiles\Megui\:
- stable\
- testing\
In each directory megui would store all the files.
Stable: the last known good version (now: 2.3.9xx)
testing: the current version (now: 2.4.1xxx)
In the Strat Menu there would be 2 shortcuts to the appropriate exe file.
Once the community has agreed that the new branch is stable, megui updater ask the user if he want to upgrade the new stable release: which means the updater must download the new stable branch dir.
So maybe the updater must be devided into 2 parts: stable/testing...

So with this setup everybody can test the new builds, and can do encodes with the stable build if the new build is broken some way ...

I hope you all see the benefits of this scenario, and I hope that it doesn't require much work to do this ... :)

Best regards, and thanks for this great app...

Sharktooth
22nd December 2006, 14:41
The fact is 2193 is not to be considered stable...
Yes, it is more stable than the new versions (maybe 1015 reached the same stability) but it's still to be considered an alpha version.

Sharktooth
22nd December 2006, 15:07
0.2.4.1015
Commit by berrinam:
- Change AutoEncode shortcut from CtrlA to Ctrl3, so that text can be selected in log window

berrinam
23rd December 2006, 09:14
0.2.4.1016
Commit by berrinam:
- Fix up zones+previews in codec configs
- Fix up the long-time bug in AVS creator with previewing. The distinction between preview windows is now explicit
- Changed AutoScaleMode to DPI, so it may look marginally better with large fonts.
The problems with large fonts seems to come from the custom controls. They just don't scale properly. I don't know why.

berrinam
23rd December 2006, 11:09
0.2.4.1017
Commit by berrinam:
- AutoEncode now calculates bitrate properly again
- Removed 'Safe Profile Alteration' from the settings window, since it didn't do anything anyway

berrinam
23rd December 2006, 11:37
0.2.4.1018
Commit by berrinam:
- Fixed crash on 'Reset'That's the last of the bugs mentioned recently that I can reproduce. The other bugs that I'm aware of are:

The large fonts issue (which I can't solve -- it seems to be funny behaviour with UserControls)
Spurious issues with loading avs files
The OneClick 'config' button crash (which I can't reproduce when running from VS)

Sharktooth
23rd December 2006, 14:37
i dont know how but the OneClick 'config' works within VS...
It also works if you compile the bin within VS... it's just the compile.bat build that crashes.

bob0r
24th December 2006, 16:41
So what version should i update on x264.nl?
As there are still errors i see....

berrinam
24th December 2006, 22:15
0.2.4.1019
Commit by berrinam:
- Support multiple servers in auto-update

Sharktooth
25th December 2006, 15:03
@devs: The CSC compiled builds of MeGUI have a different size and "behaviour" than the Visual Studio compiled ones.
If you're going to put new builds on the update server, ensure you compiled the megui binaries from Visual Studio coz the builds produced by CSC (compile.bat) are broken.

Sharktooth
25th December 2006, 15:29
0.2.4.1020
Commit by Sharx1976:
- Fixed the behaviour of the UseAutoUpdate checkbox in Settings (now it works and the value is saved correctly into the settings)

Since i havent yet any access to the project357.com ftp, the new build is available thru my own update server: http://forum.doom9.org/showthread.php?t=119808

EDIT: Updated the main auto-update server with the new build. Also 0.2.4.1020 is now on sourceforge.net: http://sourceforge.net/project/showfiles.php?group_id=156112

Sharktooth
25th December 2006, 16:26
So what version should i update on x264.nl?
As there are still errors i see....
0.2.4.1020... but ensure the MeGUI.exe is compiled using Visual Studio (and not just compile.bat) until we find what's causing the problems with CSC...
(Basically run compile.bat and dont hit any button while it pauses, compile again using VS - Release and replace the MeGUI.exe with the one from Bin\Release then hit any key in the compile.bat window)

Sharktooth
26th December 2006, 05:01
0.2.4.1021
Commit by Sharx1976:
- Cosmetic fixes

0.2.4.1022
Commit by Sharx1976:
- More cosmetic fixes

bob0r
26th December 2006, 17:27
I rather have you fix it first, don't have VS installed, nor want to :)

Sharktooth
27th December 2006, 04:30
bobor, i dont really know how to fix that...

berrinam
27th December 2006, 06:36
I know where the problem comes from... I'm justing updating compile.bat to fix it.

Sharktooth
27th December 2006, 14:42
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(8,50): error CS0102: The
type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'components'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(8,50): (Location
of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(14,33): error CS0111:
Type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already defines
a member called 'Dispose' with the same parameter types
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(14,33):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(29,22): error CS0111:
Type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already defines
a member called 'InitializeComponent' with the same parameter types
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(29,22):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(403,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'otherGroupBox'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(474,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(404,57): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'avsProfileControl'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(475,57):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(405,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'filesizeLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(476,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(406,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'filesizeComboBox'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(477,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(407,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'autoDeint'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(478,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(408,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'inKBLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(479,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(409,46): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'filesizeKB'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(480,46):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(410,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'signalAR'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(481,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(411,52): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'horizontalResolution'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(482,52):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(412,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'outputResolutionLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(483,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(413,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'extraGroupbox'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(484,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(414,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'audioProfileLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(485,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(415,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'dontEncodeAudio'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(486,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(416,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'splitOutput'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(487,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(417,46): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'splitSize'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(488,46):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(418,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'MBLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(489,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(419,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'videoCodecLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(490,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(420,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'videoCodec'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(491,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(421,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'containerFormatLabel'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(492,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(422,57): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'audioProfileControl'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(493,57):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(423,57): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'videoProfileControl'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(494,57):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(424,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'audioCodec'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(495,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(425,47): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'preprocessVideo'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(496,47):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(426,44): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'label1'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(497,44):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(427,53): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'containerTypeList'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(498,53):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(428,49): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'tabControl1'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(499,49):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(429,46): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'tabPage1'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(500,46):
(Location of symbol related to previous error)
packages\tools\oneclick\OneClickConfigPanel.Designer.cs(430,46): error CS0102:
The type 'MeGUI.packages.tools.oneclick.OneClickConfigPanel' already
contains a definition for 'tabPage2'
packages\tools\oneclick\Copy of OneClickConfigPanel.Designer.cs(501,46):
(Location of symbol related to previous error)

bob0r
27th December 2006, 17:01
@berrinam
Thats good to know, we patiently await your progress ;)

berrinam
27th December 2006, 21:28
0.2.4.1023
Commit by berrinam:
- Fix the OneClick+Config+compile.bat crash -- the text was too long, and delegated to a resource that wasn't compiled in

Sharktooth
27th December 2006, 21:38
it doesnt compile
The errors are in my previous post.

berrinam
27th December 2006, 21:50
@Sharktooth: You must have a copy of the file there which is causing all the errors. However, I just did a new SVN checkout and I don't get those errors, so I figure they must be on your end.

Sharktooth
27th December 2006, 22:07
yep, a checkout fixed it.

sillKotscha
28th December 2006, 16:44
isn't time for an icon?...

what about something like this...
http://img187.imageshack.us/img187/5780/video2audioiconkx1.gif (http://imageshack.us)
I'm sorry but I have to admit that this one is stolen from here (http://www.aone-video.com/images/video2audio-icon.gif) as I was searching google for converter icons... but it should only give an idea how an Icon for MeGUI could look like :)

berrinam
1st January 2007, 08:28
0.2.4.1024
Commit by berrinam:
- Nicer profile behavior, and detection whether you've actually changed the profile or not
- SelectedProfiles bug fixed

Doom9
1st January 2007, 13:29
quick question for berrinam/sharktooth: is the main branch (0.2.4.x) the completion of the refactor berrinam started a while back, and have the changes I made to the last 3 or so revisions to the 0.2.3.x branch been ported to the main branch?

Sharktooth
1st January 2007, 16:07
1) yes
2) not completely sure all the changes were ported

EDIT: The megui.org server is back online

berrinam
1st January 2007, 21:38
I believe all the changes were ported. I looked in the SVN changelog and the code is there, and MeGUI has the features that the changelog says it should.

berrinam
2nd January 2007, 00:56
0.2.4.1025
Commit by berrinam:
- Fix profile import/export behavior, especially with CQMs, etc
0.2.4.1026
Commit by berrinam:
- Profile Porter window is now TopMost

JarrettH
2nd January 2007, 03:18
Thank god, now it doesn't just assume you've changed the profile because you've opened it :devil: :cool:

Lolitka
7th January 2007, 01:57
Can i have a quite offtopic question?

How did you get mencoder output in realtime in c#?

When i try to execute it whith
procInfo.UseShellExecute = false;
procInfo.RedirectStandardOutput = true;
procInfo.CreateNoWindow = true;
and then start it in another thred it crates 81kB file and then stops

when i use
procInfo.UseShellExecute = true;
procInfo.RedirectStandardOutput = false;
procInfo.CreateNoWindow = true;
then it work ok, but i can't get any output with procInfo.UseShellExecute = true;

Can you help me?

And sorry for a bit OT question.

berrinam
7th January 2007, 02:38
Perhaps you need to redirect standardError as well?

Here's the code that MeGUI uses for almost all commandline apps it runs (found in CommandlineJobProcessor.cs):
pstart.FileName = executable;
pstart.Arguments = job.Commandline;
pstart.RedirectStandardOutput = true;
pstart.RedirectStandardError = true;
pstart.WindowStyle = ProcessWindowStyle.Minimized;
pstart.CreateNoWindow = true;
pstart.UseShellExecute = false;

Lolitka
7th January 2007, 13:05
Well, erm, i'm redirecting it too now, so it starts and and in some position < 1 minute (my machine encode on about 55fps).

I use one my thread, one for reading standard output, one for reading error output (where i obviously don't get anything) and one for starting mencoder.
When i close my application mencoder continue to end.

Any ideas?

Nevermind, fixed it again (forgot to start one thread) ... it took me 6 hours to found it (:

Romario
18th January 2007, 16:33
Can someone, please, add more resize filters in MeGUI, like Spline36 Resize? Thanks.

ChronoCross
18th January 2007, 20:39
Can someone, please, add more resize filters in MeGUI, like Spline36 Resize? Thanks.

there isn't really any noticable increase/decrease in quality by switching resizers. There is no point in 99% of situations where you would need to use anything different than what is already provided.

Besides you can always edit the file manaully if you really need those.

Sharktooth
22nd January 2007, 03:47
As per italian Corte di Cassazione rule, i can re-add neroaacenc to my personal megui repository without violating copyright laws in italy. Obviously only italian ppl is entitled to download it from my repo but there is no rule that says i should log the accesses...
So, if you think it could be convenient, i can put neroaacenc back into my own auto-update server...

hackboyz
23rd January 2007, 11:18
Corte di Cassazione doesn't change anything, if you want I explain why, but in italian :D

Sharktooth
23rd January 2007, 23:05
well, in a post on another forum i explained why it would possibly change even the new (Urbani) law... it's all about the "profit" term...
and after all, hosting the nero encoder on my server doesnt generate any profit to me or any megui devs... ;)

berrinam
28th January 2007, 06:58
0.2.4.1028
Commit by berrinam:
- Made the audio output a save dialog
- Made the FPS changeable in AVS window
- Changing deinterlace filter now updates the script
- Made 'Zone' a class, not a struct, which fixes zones setting bug. (Unfortunately, other bugs may have been created)
- Fix the bug where MeGUI crashes on deleting multiple jobs.