Log in

View Full Version : GKnot 0.28.7.2 problem


Brazil
22nd December 2003, 17:41
Hello all.

I have just done a divx conversion using GKnot 0.28.7 with the 0.28.7.2 update and with DivX 5.11 and cant get it to work properly.

There is no problem with the audio. The problem I have is that I end up with a small avi, in this case 114MB, where I expected a 2000MB file. This file has no video at all, just sound. GSpot reports the right length of the file, 0kb/s as the bitrate and 20FPS (should be 25FPS). I also get the file filename_Movie.avi which is small and wont play at all (3.57MB.)

I have all the right codecs installed on my computer. The same thing happened last night with the rip so I decided to reformat my computer and start over again to make sure there were no problems. But unfortunately the same thing has happened again. I've done many rips with previous versions of GKnot and have never had any problems, so I'm not sure if I am making a mistake or if there is a problem elsewhere - maybe with VBUBMOD. I'm using the version included with the latest Rippack.

Here is the Log file:

22/12/2003 14:24:47: Job " 1" started.

o Transcode source -> MP3: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
o DivX5-First Pass: D:\DVD\Training Day\trainingday.avs
o DivX5 - Pass 2: D:\DVD\Training Day\trainingday.avs
o Mux Audio.
End of Job 1 ( 1).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

Type: EncD5_All
Number: 1
Name: 1
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: E:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: E:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: D:\DVD\Training Day\trainingday.avi
AviMovie: D:\DVD\Training Day\trainingday_Movie.avi
AviCredits: D:\DVD\Training Day\trainingday_Credits.avi
MovieFS: D:\DVD\Training Day\trainingday.avs
CreditsFS:
Log : D:\DVD\Training Day\trainingday.log
Stats: D:\DVD\Training Day\trainingday.stats
Ecf : D:\DVD\Training Day\trainingday.ecf

Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0

Calculator:
VideoSize: 1663213 kbyte.
Audio1Size: 329889 kbyte.
Audio2Size: 0 kbyte.
Overhead: 6769 kbyte.
AviSize: 1999872 kbyte (1953 mbyte).
FilesSize: 0 kbyte.
TotalSize: 1999872 kbyte (1953 mbyte).
Interleaving: 1stream
Bitrate: 1897 k(=1000)Bits/s
Frames: 143606
FPS: 20.000
Duration: 159:40
Quality: 0.421 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 640 x 352

Audio 1:
Mode: ac3 -> mp3
SourceFile: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
WavFile: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.wav
Mp3File: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3
Azid: -c normal
Lame: -h --cbr -b 128
Delay: -76
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.


14:24:47: Started Transcoding Audio.

14:24:47: Using "BeSweet" to transcode D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
CommandLine: E:\PROGRA~1\GORDIA~1\BeSweet.exe -core( -input "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3" -output "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3" -logfile "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.log" ) -ota( -hybridgain ) -azid( -c normal ) -lame( -h --cbr -b 128 ) -profile( Gordian Knot 0.28 )
14:34:09: Finished. Duration: 9 minutes, 21 seconds.

14:34:09: Audio Done.
14:34:09: MP3-File-Size is 109965 kb.
14:34:09: Audio 1, determined: 109965 kb
14:34:09: Audio 1, calc: 329889 kb
14:34:09: New Bitrate for Movie = 2148 k(=1000)Bits/s

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5-First Pass"
// $input "D:\DVD\Training Day\trainingday.avs"
// $output "D:\DVD\Training Day\trainingday_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

14:34:09: Started DivX5-First Pass: D:\DVD\Training Day\trainingday.avs
15:24:14: Finished DivX5-First Pass: Duration: 50 minutes, 5 seconds.
15:24:14: Trying to open Log-file.
15:24:14: Success: Log-file open.
15:24:14: Encoded: 143606 Frames.
15:24:14: Speed: 47.780 Frames per Second.

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5-Second Pass"
// $input "D:\DVD\Training Day\trainingday.avs"
// $output "D:\DVD\Training Day\trainingday_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

15:24:14: Started DivX5 - Pass: 2: D:\DVD\Training Day\trainingday.avs
16:14:11: Finished DivX5 - Pass: 2: Duration: 49 minutes, 56 seconds.
16:14:11: Speed: 47.918 Frames per Second.

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Append"
// $input "D:\DVD\Training Day\trainingday_Movie.avi"
// $output "D:\DVD\Training Day\trainingday.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\DVD\\Training Day\\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3",0x00000202,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,-76);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

16:14:11: Started Muxing Audio.: D:\DVD\Training Day\trainingday_Movie.avi
16:15:30: Finished Muxing Audio.: Duration: 1 minute, 18 seconds.

16:15:30: Done.
16:15:30: Movie = D:\DVD\Training Day\trainingday.avi
Total Encoding Time: 1 hour, 50 minutes, 42 seconds.
22/12/2003 16:15:30: Job " 1" finished.
_______________________________________________________________________________________________________________________

I have tried to have a look around for the previous version of GKnot and most importantly the 1.5 Rippack but have not been able to find it. I know that version works fine for me. Could someone give me the link to download that please.

Many thanks for any help. I'm not sure what else to do here.
Thanks,
Ben.

jggimi
22nd December 2003, 18:04
Please examine the complete .avi file with GSpot (http://www.doom9.org/Soft21/Editing/gspot221.exe). I'm interested in the video codec and bitrate shown, and whether video rendering completes without errors.

Brazil
22nd December 2003, 18:22
Hi, before I start making problems where I shouldn't I was looking over what I did and noticed that when creating the .d2v file in DVD2AVI I had FORCED FILM selected where I should have had NONE under the Field Operation. Could this be the cause of the problem?

Ben

jggimi
22nd December 2003, 18:41
Force FILM cut your framerate from 25fps to 20fps. That would have left your content with jerky playback. But it shouldn't have affected your bitrate calculation, so a review with GSpot would still be helpful. I'm guessing it's a DivX codec problem, and that's why I'm interested in GSpot's report (both on opening and on rendering). What release of DivX are you using?

Brazil
22nd December 2003, 21:46
Hi, thanks for the responses so far.

I'm using Divx 5.1.1 the free version, downloaded from divx.com(my first encode with this version) and the latest Gknot packs with the update (0.28.7.2)

I've just done the conversion again (Using NONE under field operation) and I've got the same problem.

This is what Gspot says:

File trainingday:
Size: 115MB
Codec: 4CC - DX50/divx, Name - DivX 5.0
4 compatible codecs installed
Runtime: 1.59.40, 640x352
Bitrate 1kb, FPS 25, Qf 0.000 bits/pixel.
Stream Type and AV interleave: Type - OpenDML AVI, IMMR - 1.00
I/L - 1 vid frame (40 ms) Split: No

It can render the file successfully and the file length is correct.

File trainingday_Movie
Size: 4.45MB
Codec: 4CC - DX50/divx, Name - DivX 5.0
4 compatible codecs installed
Runtime: 1.59.40, 640x352
Bitrate 2kb, FPS 25, Qf 0.000 bits/pixel

Here is the log for this encode:

22/12/2003 17:13:38: Job " 1" started.

o Transcode source -> MP3: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
o DivX5-First Pass: D:\DVD\Training Day\trainingday.avs
o DivX5 - Pass 2: D:\DVD\Training Day\trainingday.avs
o Mux Audio.
End of Job 1 ( 1).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

Type: EncD5_All
Number: 1
Name: 1
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: E:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: E:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: D:\DVD\Training Day\trainingday.avi
AviMovie: D:\DVD\Training Day\trainingday_Movie.avi
AviCredits: D:\DVD\Training Day\trainingday_Credits.avi
MovieFS: D:\DVD\Training Day\trainingday.avs
CreditsFS:
Log : D:\DVD\Training Day\trainingday.log
Stats: D:\DVD\Training Day\trainingday.stats
Ecf : D:\DVD\Training Day\trainingday.ecf

Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0

Calculator:
VideoSize: 1661521 kbyte.
Audio1Size: 329889 kbyte.
Audio2Size: 0 kbyte.
Overhead: 8461 kbyte.
AviSize: 1999872 kbyte (1953 mbyte).
FilesSize: 0 kbyte.
TotalSize: 1999872 kbyte (1953 mbyte).
Interleaving: 1stream
Bitrate: 1895 k(=1000)Bits/s
Frames: 179507
FPS: 25.000
Duration: 159:40
Quality: 0.337 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 640 x 352

Audio 1:
Mode: ac3 -> mp3
SourceFile: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
WavFile: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.wav
Mp3File: D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3
Azid: -c normal
Lame: -h --cbr -b 128
Delay: -76
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.


17:13:38: Started Transcoding Audio.

17:13:38: Using "BeSweet" to transcode D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3
CommandLine: E:\PROGRA~1\GORDIA~1\BeSweet.exe -core( -input "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.ac3" -output "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3" -logfile "D:\DVD\Training Day\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.log" ) -ota( -hybridgain ) -azid( -c normal ) -lame( -h --cbr -b 128 ) -profile( Gordian Knot 0.28 )
17:23:01: Finished. Duration: 9 minutes, 23 seconds.

17:23:01: Audio Done.
17:23:01: MP3-File-Size is 109965 kb.
17:23:01: Audio 1, determined: 109965 kb
17:23:01: Audio 1, calc: 329889 kb
17:23:01: New Bitrate for Movie = 2146 k(=1000)Bits/s

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5-First Pass"
// $input "D:\DVD\Training Day\trainingday.avs"
// $output "D:\DVD\Training Day\trainingday_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

17:23:01: Started DivX5-First Pass: D:\DVD\Training Day\trainingday.avs
18:20:15: Finished DivX5-First Pass: Duration: 57 minutes, 13 seconds.
18:20:15: Trying to open Log-file.
18:20:15: Success: Log-file open.
18:20:15: Encoded: 179507 Frames.
18:20:15: Speed: 52.283 Frames per Second.

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5-Second Pass"
// $input "D:\DVD\Training Day\trainingday.avs"
// $output "D:\DVD\Training Day\trainingday_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

18:20:15: Started DivX5 - Pass: 2: D:\DVD\Training Day\trainingday.avs
19:16:48: Finished DivX5 - Pass: 2: Duration: 56 minutes, 33 seconds.
19:16:48: Speed: 52.901 Frames per Second.

Adding this script to E:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Append"
// $input "D:\DVD\Training Day\trainingday_Movie.avi"
// $output "D:\DVD\Training Day\trainingday.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\DVD\\Training Day\\trainingday_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\DVD\\Training Day\\trainingday AC3 T01 3_2ch 384Kbps DELAY -76ms.mp3",0x00000202,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,-76);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\DVD\\Training Day\\trainingday.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

19:16:48: Started Muxing Audio.: D:\DVD\Training Day\trainingday_Movie.avi
19:18:49: Finished Muxing Audio.: Duration: 2 minutes, 0 seconds.

19:18:49: Done.
19:18:49: Movie = D:\DVD\Training Day\trainingday.avi
Total Encoding Time: 2 hours, 5 minutes, 10 seconds.
22/12/2003 19:18:49: Job " 1" finished.
_______________________________________________________________________________________________________________________

So would you suggest that it is not a problem with GKnot but a problem with the Divx 5.1.1 codec?

I'm running the same conversion on another computer at the moment to see if it will work there. Would it be possible to direct me to a link where I can download Gknot rippack 1.5 as I no longer have this anymore.

Thanks for your help again.

Ben.

jggimi
22nd December 2003, 23:07
The codec was only a guess, since the bitrate passed by Gknot doesn't match the bitrate from GSpot (2148kbps vs 2kbps). You might try deinstalling and reinstalling from scratch. At the very least, remove and reinstall DivX. To remove Gknot, start it, click on the Options Tab, click the Delete Registry Keys button, exit, then delete the directory structure. You could also remove AviSyth and Vobsub, but I don't think either would be the problem.

All the latest software, including the latest codec pack (1.6), are at http://sourceforge.net/projects/gordianknot/.

Brazil
22nd December 2003, 23:45
Hello once again.

I've just finished the conversion on my other computer and it has worked fine. The only difference with the two was that for the one which worked I ripped the DVD in IFO mode in DVD Decrypter. Although both ripped VOB's on each of the computers play, so maybe that has nothing to do with it.

I dont think reinstalling again will make a difference as it didn't work before I reformatted my computer and nor did it after a complete reinstall of the OS and everything else.

What the problem is therefore I have no idea, especially as it always worked with previous versions of Gknot and divx 5.1.

Thanks for the repsonses.
Ben.

jggimi
23rd December 2003, 00:01
...t for the one which worked I ripped the DVD in IFO mode in DVD Decrypter.What about the one that didn't work? How was the .d2v created. And, what happens when you "preview" the video prior to encoding (that is, open the .avs in any .avi player, which is what the "preview" button does)?

Brazil
23rd December 2003, 01:02
The .d2v files for both encodes were created with DVD2AVIdg.

I just opened the avs file from the encode which didnt work in Windows Media Player and it plays the film fine, (the VOBS)

Is that what you would expect?

Ben

jggimi
23rd December 2003, 02:39
I'm leaning towards one of two possible root causes, either the DivX codec installation or the VdubMod installation. But I can't tell which it might be.

Brazil
23rd December 2003, 03:36
Hi, thanks again so far,

I'm going to do try and do it again (just to see if I can get it working) by using an older VDUBMOD. The one I'm used was version 1.5.10.1 build 2389. I'm going to use VdubMod 1.5.4.1. I see that Len0x is using this combination himself,

http://forum.doom9.org/showthread.php?s=&threadid=66253

So do I just need to install this version and change the paths in GKnot or do I have to uninstall 1.5.10.1?

Cheers,

Ben

Brazil
23rd December 2003, 03:48
One more thing,

why should the same encode with exactly the same software work on one computer configuration and not on another? Its obviously to do with the hardware, but is there more to it than that?

Cheers
Ben.

jggimi
23rd December 2003, 03:55
...So do I just need to install this version and change the paths in GKnot ...As far as I know, you should be able to install and point the the intended release. I recall having multiple releases on my PC in the past.

And as far as the differences between workstations, I'm sure it isn't hardware, but rather, something in the OS or in middleware that is causing this problem. Windows is a complex environment, all it takes is one little .dll to produce a head scratching problem.

I've seen a lot of odd errors reported with the Gknot suite, but this particular problem I've not seen reported before.:rolleyes: I suspect this is a communication problem between VdubMod and DivX, which could be in codec configuration or execution as easily as it could be VdubMod.

Good luck! I hope your attempted circumvention works.

Brazil
23rd December 2003, 05:14
Hi,

Funny thing is that the PC on which it didn't work only has the OS and thats about it, apart from the relevant drivers. The one on which it did work has loads of stuff on it.

I'll let you know how I got on with the different VDUBMOD.

Thanks for all your advice.

Ben.

Brazil
24th December 2003, 19:28
Hi,
thought I'd upadate you on my progress. I did a conversion with Gknot, VDUBMOD 1.5.4.1 and Divx 5.1.1 and the same thing happened again.

I then did a conversion with GKnot, VDUBMOD 1.5.10.1 and DivX 5.1 which made an empty avi file and could not continue with the conversion after the second pass. Looks like the problem here isn't with either the codec or VDUBMOD.

Ben.

jggimi
24th December 2003, 21:22
You might try running VdubMod encoding manually, rather than having Gknot call it, but I couldn't tell you if you'll get the same results or not. If you've not done it before, it's pretty simple: Open the .avs script Set Video...Fast Recompress Use Video...Compression to set 1st pass settings Use File...Save As to run the first pass and create a dummy .avi file Use Video...Compression to set nth pass settings Use File...Save As to run the nth pass and create a 2-pass .aviIf you do more than 2 passes, you can merely change settings and "File...Save As" again.

If you get a useful .avi, then you've proved it isn't the encoder or the codec. Beyond that, I am out of diagnostic ideas.