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. |
16th November 2004, 08:21 | #61 | Link |
High beam
Join Date: Apr 2004
Location: Belgium
Posts: 290
|
[NuEnc]Reading Registry Keys
[NuEnc]Drawing Display [NuEnc]Initialising Codecs [NuEnc]Loading Matrices [NuEnc]Creating Encoding Dialog [NuEnc]Loaded AVS File C:\Documents and Settings\Freelock7\Mes documents\DVD.avs [NuEnc]Encoding Starting... [NuEnc]Displaying Encoding Window [NuEnc]Successfully Loaded AVS File [NuEnc]CQ Mode Set [NuEnc]Beginning Encode [NuEnc]Encoding Frame 0 [NuEnc]Encoding Frame 1 [NuEnc]Encoding Frame 2 [NuEnc]Encoding Frame 3 [NuEnc]Encoding Frame 4 [NuEnc]Encoding Frame 5 [NuEnc]Encode Complete [NuEnc]Quitting... |
16th November 2004, 08:31 | #62 | Link |
Just a Member
Join Date: Aug 2004
Location: Australia
Posts: 225
|
wtf, apparently it only encodes the first 5 frames, then decides it has finished, and exits normally...Must be a break statement.
Thankyou freelock7. Edit: It is crashing just before updating the encoding window. |
16th November 2004, 08:54 | #64 | Link |
High beam
Join Date: Apr 2004
Location: Belgium
Posts: 290
|
[NuEnc]Reading Registry Keys
[NuEnc]Drawing Display [NuEnc]Initialising Codecs [NuEnc]Loading Matrices [NuEnc]Creating Encoding Dialog [NuEnc]Selected AVS File C:\Documents and Settings\Freelock7\Mes documents\DVD.avs [NuEnc]Encoding Starting... [NuEnc]Displaying Encoding Window [NuEnc]Successfully Loaded AVS File [NuEnc]CQ Mode Set [NuEnc]Beginning Encode [NuEnc]Encoding Frame 0 [NuEnc]Encoding Frame 1 [NuEnc]Encoding Frame 2 [NuEnc]Encoding Frame 3 [NuEnc]Encoding Frame 4 [NuEnc]Updating Statistical Information [NuEnc]Encoding Frame 5 [NuEnc]Encode Complete [NuEnc]Quitting... |
16th November 2004, 09:02 | #65 | Link |
Just a Member
Join Date: Aug 2004
Location: Australia
Posts: 225
|
The problem is therefore somewhere here:
Code:
... fprintf(stderr, "[NuEnc]Updating Statistical Information\n"); DoEvents(); int nPercent = (int)((((double)i)/((double)AVSReader.GetNumFrames()))*100.0); bEncodeDlg->m_bEncodeProgress.SetPos(nPercent); if ( bFlip && bEncodeDlg->IsWindowVisible() ) { fprintf(stderr, "[NuEnc]Updating Encoding Window\n"); ... Just updated here: http://www.petercheat.host.sk/libav/files/NuEnc.exe Last edited by Peter Cheat; 16th November 2004 at 09:06. |
16th November 2004, 13:01 | #73 | Link |
Registered User
Join Date: Apr 2003
Location: Belgium
Posts: 14
|
I'm sorry to have to confirm each of freelock7's findings. I hope it has nothing to do with both of us living in Belgium? Now wouldn't that be a rather special, eh bug
Is it perhaps an option/solution to remove the seperate encoding/statistics-window and just use a simple 1-window-gui as it was in 0.00d? |
17th November 2004, 00:36 | #76 | Link |
....
Join Date: May 2002
Location: Australia
Posts: 2,797
|
Peter - quick dirty fix.
in EncodeDlg.cpp change m_bBufferStatus.Create( WS_VISIBLE | WS_CHILD | PBS_SMOOTH, rect, this, IDC_BUFOC ); to // m_bBufferStatus.Create( WS_VISIBLE | WS_CHILD | PBS_SMOOTH, rect, this, IDC_BUFOC ); will stuff up the progress bar but it encodes and the other information is updated properlly. EDIT - ok heres a quick temporary build done with the above mentioned change. so the people who have had problems with it working can try this out until Peter fixes it properly etc. http://www.pcpages.com/dragongodz2/ Last edited by dragongodz; 17th November 2004 at 03:04. |
17th November 2004, 11:19 | #80 | Link |
....
Join Date: May 2002
Location: Australia
Posts: 2,797
|
ye sorry i didnt do a proper fix but things are a bit on the busy side.
i also noticed in avsenc.cpp that there is both a showwindow() and enablewindow() together. the showwindow() should(i say should) enable it anyway so the enable is a bit redundant. just something you may want to try Peter. |
|
|