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 > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th November 2004, 08:21   #61  |  Link
freelock7
High beam
 
freelock7's Avatar
 
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...
freelock7 is offline   Reply With Quote
Old 16th November 2004, 08:31   #62  |  Link
Peter Cheat
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.
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 08:38   #63  |  Link
Peter Cheat
Just a Member
 
Join Date: Aug 2004
Location: Australia
Posts: 225
Freelock7 - update the debug exe with this one NuEnc.exe and can you try again?
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 08:54   #64  |  Link
freelock7
High beam
 
freelock7's Avatar
 
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...
freelock7 is offline   Reply With Quote
Old 16th November 2004, 09:02   #65  |  Link
Peter Cheat
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");
...
"[NuEnc]Updating Encoding Window" is not displayed, its either crashing when trying to update the progress bar, or at the if statement. SoI'll comment out the "bEncodeDlg->IsWindowVisible()" part and try again. Thanks again freelock7.

Just updated here:
http://www.petercheat.host.sk/libav/files/NuEnc.exe
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site

Last edited by Peter Cheat; 16th November 2004 at 09:06.
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 09:45   #66  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
The link don't match (invalid url)

Last edited by freelock7; 16th November 2004 at 10:06.
freelock7 is offline   Reply With Quote
Old 16th November 2004, 10:10   #67  |  Link
Peter Cheat
Just a Member
 
Join Date: Aug 2004
Location: Australia
Posts: 225
I think its fixed.Try this. The encoding window can't be closed, you have to move it and press stop on the main window if you want to stop. Hopefully, it will work though.
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 10:25   #68  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
17 frames encoded.
Bloks more & more (no response from control panel). No report log.
freelock7 is offline   Reply With Quote
Old 16th November 2004, 10:38   #69  |  Link
Peter Cheat
Just a Member
 
Join Date: Aug 2004
Location: Australia
Posts: 225
Ok, one more try. See if this this works. I am out of ideas.
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 11:22   #70  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
Freezing...
freelock7 is offline   Reply With Quote
Old 16th November 2004, 11:31   #71  |  Link
Peter Cheat
Just a Member
 
Join Date: Aug 2004
Location: Australia
Posts: 225
Ok, back to the drawing board. Thanks anyway . Perhaps someone else will find that it works for them. I don't know .
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 16th November 2004, 12:34   #72  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
The new GUI seems to be unable to work with the new options.
If you delete some of them, maybe you'll find out.
freelock7 is offline   Reply With Quote
Old 16th November 2004, 13:01   #73  |  Link
Sectie.B
Registered User
 
Sectie.B's Avatar
 
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?
Sectie.B is offline   Reply With Quote
Old 16th November 2004, 13:03   #74  |  Link
dragongodz
....
 
dragongodz's Avatar
 
Join Date: May 2002
Location: Australia
Posts: 2,797
if nothing comes up between now and then i will have a look on thursday.
dragongodz is offline   Reply With Quote
Old 16th November 2004, 22:26   #75  |  Link
fabrice
Registered User
 
Join Date: Feb 2003
Posts: 13
Hi,

Running in debug mode, with VC7 gives me a lot of failed assertion (with windows, and showWindow?!).
Could be because of different versions of VC++?
I'll change what I see, and send you the changes...

Fabrice
fabrice is offline   Reply With Quote
Old 17th November 2004, 00:36   #76  |  Link
dragongodz
....
 
dragongodz's Avatar
 
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.
dragongodz is offline   Reply With Quote
Old 17th November 2004, 06:05   #77  |  Link
Peter Cheat
Just a Member
 
Join Date: Aug 2004
Location: Australia
Posts: 225
So its the buffer status that is the problem. Thankyou very much dragongodz for spending time to work out the problem, and to upload a solution. I'll fix this bit up, and upload a new version asap.
__________________
If you want it done properly, do it yourself!
Modified Libavcodec Site
Peter Cheat is offline   Reply With Quote
Old 17th November 2004, 08:57   #78  |  Link
freelock7
High beam
 
freelock7's Avatar
 
Join Date: Apr 2004
Location: Belgium
Posts: 290
@Dragongotz
The nuenc0.01-d build works!
Good job.
Go for testing now.
freelock7 is offline   Reply With Quote
Old 17th November 2004, 10:24   #79  |  Link
Peter1234
Registered User
 
Join Date: Aug 2004
Posts: 130
Hooray for dragongodz. His version seems to work. XP SP1 SSE2 on P4. I haven't done any testing other than to check that it works.


Last edited by Peter1234; 17th November 2004 at 10:55.
Peter1234 is offline   Reply With Quote
Old 17th November 2004, 11:19   #80  |  Link
dragongodz
....
 
dragongodz's Avatar
 
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.
dragongodz is offline   Reply With Quote
Reply

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 15:48.


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