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. |
|
|
Thread Tools | Search this Thread | Display Modes |
17th December 2005, 23:53 | #921 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
@: let me recapitulate your videos and screenshots:
line contains "Pos: 0.8s 10f (0%) 0.00fps Trem: 0min 0mb A-V:0.000[0:0] the IOException happens in the line "line = sr.ReadLine();" with counter being set to 9. And MeGui crashes at the line "su.FPS = this.getFPS(line); Is that correct? What is the content of line when megui crashes and can you step into the getFPS method to find the exact location, and the important variables in that method? The warnings are just from .Net 2.0.. just shows some of the differences to the 1.1 runtime but they are nothing to be worried about. Also, can you try commenting out all the code inside the "if (line != null)" and see if you can get past the 10th frame? also try wrapping all the code inside "(while !proc.HasExited)" in a try {} and add the following catch: catch (Exception e) { log.Append("exception in mencoderEncoding: " + e.Message); } And just to make sure nothing goes haywire on your system, can you try encoding via x264.exe for a change just to see if that works out properly? or try audio encoding
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
18th December 2005, 12:13 | #922 | Link | ||
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Yes, you're right. I stepped in to the method again and made another screen capture vid, which shows the value of the variable before it crashes. After the program exits. I can't see it's value. Maybe I should set here a breakpoint?
Quote:
I've tried to go along with your suggested debugging instructions. But it seems way to complex to me. I've just started programming (VB .Net) and C# looks way strange to me. I had an idea though. I'm running VM Workstation. I could set up a working environment, where someone could go ahead with the debugging on my computer as it seems that I am not able to go ahead. It's the point that I'm not aware where for example the method "(while !proc.HasExited)" starts and ends. Where to insert the try{} and the catch. Quote:
|
||
18th December 2005, 12:20 | #923 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
alright, I'm attaching a zip file containing two source files.. just plug them into your source directory, compile and run and see what you get. I suspect there will still be problems so try debugging again. Once counter is equal to 9, step through everything pressing F11.. that will jump into every other method that is being called as well. Then please give me the exact line you were on before you pressed F11 and an exception was catched. And if the program still crashes, the same for the crash please (which line are you on before pressing F11 caused the crash).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
18th December 2005, 15:59 | #924 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
uhm. well, i'll add the winamp AAC+ encoder support (thru besweet+bsn) and will update the nero encoder support.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
18th December 2005, 17:44 | #925 | Link | |
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Ok, thanks again for your help. This this will make it a little easier for me.
I'll let you know what happened. Quote:
|
|
18th December 2005, 17:57 | #927 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
@molitar: mplayer2005.11.23.Athlon-64.7z = a 32 bit build for the athlon64.. basically it's an sse3 build.. but it really doesn't seem to matter which build you take.. you can make your own speed tests if you like to verify that.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
18th December 2005, 19:11 | #928 | Link |
Registered User
Join Date: Jul 2003
Posts: 179
|
Ok I got all the components but one suggestion it took me a while to figure out where the full megui was. Was looking for a link for it throughout the thread.. I would suggest where you have the link to download the x264 CLI that you add (includes megui).
Last edited by molitar; 18th December 2005 at 19:19. |
18th December 2005, 19:27 | #929 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
the download link is in the first post. I'll add a bold "click here to download" on line4 of that post right after the program description and before the links to all the additional components you will need. I hope that'll be satisfactory. What sharktooth and bobor distribute is not under my control, though at least Sharktooth is going to include the full version in the future.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
18th December 2005, 19:44 | #930 | Link |
Registered User
Join Date: Jul 2003
Posts: 179
|
I crashed using megui. Crash log below: I also noticed that the file requires haali media splitter to open it but when I go to queue it I have 4 haali media splitter tray icons don't know if that could be a part of it or not.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at MeGUI.AVIReader.AVIFileRelease(Int32 pfile) at MeGUI.AVIReader.Dispose(Boolean disposing) at MeGUI.AVIReader.Close() at MeGUI.VideoPlayer.OnClosing(CancelEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
18th December 2005, 19:51 | #931 | Link | |
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Ok, now. I build MeGui with your changes applied. The application did not crash anymore.
And I did a little more of debugging. The line before it throws the exception is Code:
su.NbFramesDone = getFrameNumber(line); Code:
public int NbFramesDone { get {return nbFramesDone;} ---> set {nbFramesDone = value;} } - base {"Object reference not set to an instance of an object."} System.SystemException {System.NullReferenceException} - base {"Object reference not set to an instance of an object."} System.Exception {System.NullReferenceException} + Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal} HelpLink null string + InnerException null System.Exception Message "Object reference not set to an instance of an object." string Source "MeGUI" string StackTrace " at MeGUI.StatusUpdate.get_AudioPositionTicks() in D:\\megui_src\\StatusUpdate.cs:line 206" string + TargetSite {Int64 get_AudioPositionTicks()} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo} - Static members - Non-Public members _COMPlusExceptionCode -532459699 int Quote:
|
|
18th December 2005, 21:04 | #932 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
when you step into the method "getFrameNumber(line)", what does happen? If you press F11 when you're on line
Code:
su.NbFramesDone = getFrameNumber(line); Code:
string frameNumber And what's the value of nbFramesDone and value in Code:
set {nbFramesDone = value;} Your exception location makes no sense though, you the only way the ProgressWindow accesses the variable AudioPositionTicks is when you have an audio status update. Are you really 101% sure you are looking at the right place? On line 222 in VideoEncoder.cs I declare StatusUpdate. On line 227 in the same file I set su.JobType to 0, meaning it's a video job, and that's not changed through event propagation or anywhere in the class itself. So can you add additional breakpoints in StatusUpdate.cs on line 18 ( Code:
double div = (double) AudioPositionTicks / (double)AudioLengthTicks; Code:
if (su.JobType == 1) // audio status update Basically the exception you're reporting here makes no sense.. it looks like you're encoding video but the status update is for an audio job.. needless to say that this will never work. Another perhaps easier attempt: put a breakpoint on line 272 in VideoEncoder.cs. Dump the contents of the variable su at that point.. that's the StatusUpdate object that gets propagated to the MeGUI and ProgressWindow class, and that's where the exception comes from ultimately. And do you ever get into the catch in VideoEncoder.cs on lines 285 and below? @molitar: loaded assemblies are usually not info anybody needs, however, all steps taken from the loading of MeGUI until th exception.. that's information you should never leave out, even if it turns out not to be useful.. it's covering all the basics that make a good bug report.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
18th December 2005, 22:01 | #933 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I'm not a debugging expert but for me the only thing that really works is to configure VS to break immediatelly even if the exception is handled, appears to have many advantages and on top of that some really weird things happened here until I configured VS like that. Of course sometimes a exception can be expected and this is not wanted but on such methods the DebuggerNonUserCodeAttribute can be applied so VS won't break.
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
19th December 2005, 03:24 | #934 | Link | |
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Oh man, do we ever get it resolved?
And I am absolutely sure that it was that line where the exception occurs. So far can see it! I'm not too familiar with debugging and just a beginner with programming in general. Ok, I will try what you'd wanted me to try. I'll attach two vid-caps of the last debugging session to my next message. Quote:
|
|
19th December 2005, 12:45 | #935 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
19th December 2005, 13:49 | #936 | Link | |
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Ok, I'll download vnc and setup remote access. It would really ease up the whole process. :-) Let me see what I can do. Ok, here's the link to the mencoder build I use.
Mencoder Quote:
|
|
19th December 2005, 14:40 | #937 | Link |
Registered User
Join Date: Jun 2005
Posts: 122
|
IS there a way to import a bunch of avs files altoghether?Instead of opening the avs one by one and adding to the queue wouldn't it be better to open a bunch of them at the same time,so they will be queudd altogether?
|
19th December 2005, 14:46 | #938 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
well,it's a pretty big presumtion to assume every source would be encoded exactly the same way..
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
19th December 2005, 15:12 | #939 | Link |
Registered User
Join Date: Sep 2005
Location: Germany
Posts: 68
|
Hello doom9,
I have set up ultravnc. If you want you can do the debugging on my desktop. I will send you the rc.key file for a secured connection if you like. Do you have any instant messenger like ICQ or so? Please let me know if you wanna go ahead with it. Edit: I did a litlle more debugging. I am able to get to line 285 and further. So that an exception was catched. I attach a screenshot and a copy of the error message. Last edited by klicker4546; 19th December 2005 at 17:23. |
19th December 2005, 15:13 | #940 | Link |
Registered User
Join Date: Jun 2005
Posts: 122
|
Well what harm could it be for that option to exist?If someone doesn't need it he's not obligated to use it.
I on the other hand only need avc encoding for psp,and for every file i need to encode i use the psp profile,so it would save me a considerable amount of many if every time i could just open all avs files at once. So what do you say? |
|
|