Log in

View Full Version : Encoding results in a 12 KB file!!??


teko77
29th January 2004, 20:55
Hi!


Gordian Knot used to work ok with my setup, but after I had reinstalled the windows xp and now try to encode my MPEG2-captures into XviD, for some reason the resulting file is a tiny 12 KB or so file? After installing the XP I had a problem with the explorer.exe which used 100 % of my CPU and after finding a solution from the web, I removed two keys in regard of the .avi-files from the registry as follows:

HKEY CLASSES ROOT\SystemFileAssociations\.avi\
shellex\PropertyHandler

HKEY CLASSES ROOT\.avi\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}

In any case, I attached below the GKnot logfile.

Thank you for any help,



teko77

-------------------------logfile start-------------------------------

29.1.2004 1:14:07: Job "Rankkarit" started.

o Transcode source -> MP3: E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mpa
o Xvid - First Pass: E:\Video2\Edited\Rankkarit2301.avs
o Xvid - Second Pass: E:\Video2\Edited\Rankkarit2301.avs
o Mux Audio.
End of Job 1 (Rankkarit).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

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

Files:
VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: E:\Video2\Edited\Rankkarit2301.avi
AviMovie: E:\Video2\Edited\Rankkarit2301_Movie.avi
AviCredits: E:\Video2\Edited\Rankkarit2301_Credits.avi
MovieFS: E:\Video2\Edited\Rankkarit2301.avs
CreditsFS:
Log : E:\Video2\Edited\Rankkarit2301.log
Stats: E:\Video2\Edited\Rankkarit2301.stats
Ecf : E:\Video2\Edited\Rankkarit2301.ecf

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

Calculator:
VideoSize: 716800 kbyte.
Audio1Size: 0 kbyte.
Audio2Size: 0 kbyte.
Overhead: 0 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving:
Bitrate: 1886 k(=1000)Bits/s
Frames: 77814
FPS: 25.000
Duration: 051:53
Quality: 0.283 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 640 x 416

Audio 1:
Mode: ac3 -> mp3
SourceFile: E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mpa
WavFile: E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.wav
Mp3File: E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mp3
Azid: -c normal
Lame: -h --abr 128
Delay: -40
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.


1:14:07: Started Transcoding Audio.

1:14:07: Using "BeSweet" to transcode E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mpa
CommandLine: C:\PROGRA~1\GORDIA~1\BeSweet.exe -core( -input "E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mpa" -output "E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.mp3" -logfile "E:\Video2\Edited\Rankkarit2301 MPA T01 DELAY -40ms.log" ) -ota( -hybridgain ) -azid( -c normal ) -lame( -h --abr 128 ) -profile( Gordian Knot 0.28 )
1:18:46: Finished. Duration: 4 minutes, 39 seconds.

1:18:47: Audio Done.
1:18:47: MP3-File-Size is 44369 kb.
1:18:47: Audio 1, determined: 44369 kb
1:18:47: Audio 1, calc: 0 kb
1:18:47: New Bitrate for Movie = 1769 k(=1000)Bits/s

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

// $job "Xvid - First Pass"
// $input "E:\Video2\Edited\Rankkarit2301.avs"
// $output "E:\Video2\Edited\Rankkarit2301_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Rankkarit2301.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(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"AwAAAKC7DQCQsggARTpcVmlkZW8yXEVkaXRlZFxSYW5ra2FyaXQyMzAxLnN0YXRzAABuAGsAawBhAHIAaQB0ADIAMwAwADEALgBzAHQAYQB0AHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVAAAABQAAABAAAABkAAAAZAAAAAYAAAAAAAAAAAAAAAEAAAAsAQAAAQAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAIAAACWAAAAZAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAgAAAB8AAAACAAAAHwAAAAgREhMVFxkbERITFRcZGxwUFRYXGBocHhUWFxgaHB4gFhcYGhweICMXGBocHiAjJhkaHB4gIyYpGxweICMmKS0QERITFBUWFxESExQVFhcYEhMUFRYXGBkTFBUWFxgaGxQVFhcZGhscFRYXGBobHB4WFxgaGxweHxcYGRscHh8hAAAAAAoAAAAUAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAHgAAAAEAAAAyAAAAAQAAAPQBAABaAAAAMgAAAICWmAA8AAAAPAAAAPoAAAABAAAAAAAAAFxoaW50ZmlsZS5tdmgAbABlAC4AbQB2AGgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXHZpZGVvZ2suc3RhdHMAAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\Video2\\Edited\\Rankkarit2301_Movie.avi");
VirtualDub.Close();

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

1:18:47: Started Xvid - First Pass: E:\Video2\Edited\Rankkarit2301.avs
4:05:11: Finished Xvid - First Pass: Duration: 2 hours, 46 minutes, 22 seconds.
4:05:11: Trying to open Log-file.
4:05:11: Success: Log-file open.
4:05:11: Encoded: 77814 Frames.
4:05:12: Speed: 7.795 Frames per Second.
4:05:12: New target size = 672431 Kb

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

// $job "Xvid - Second Pass"
// $input "E:\Video2\Edited\Rankkarit2301.avs"
// $output "E:\Video2\Edited\Rankkarit2301_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Rankkarit2301.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(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"BAAAAKC7DQCvQgoARTpcVmlkZW8yXEVkaXRlZFxSYW5ra2FyaXQyMzAxLnN0YXRzAABuAGsAawBhAHIAaQB0ADIAMwAwADEALgBzAHQAYQB0AHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVAAAABQAAABAAAABkAAAAZAAAAAYAAAAAAAAAAAAAAAEAAAAsAQAAAQAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAIAAACWAAAAZAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAgAAAB8AAAACAAAAHwAAAAgREhMVFxkbERITFRcZGxwUFRYXGBocHhUWFxgaHB4gFhcYGhweICMXGBocHiAjJhkaHB4gIyYpGxweICMmKS0QERITFBUWFxESExQVFhcYEhMUFRYXGBkTFBUWFxgaGxQVFhcZGhscFRYXGBobHB4WFxgaGxweHxcYGRscHh8hAAAAAAoAAAAUAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAHgAAAAEAAAAyAAAAAQAAAPQBAABaAAAAMgAAAICWmAA8AAAAPAAAAPoAAAABAAAAAAAAAFxoaW50ZmlsZS5tdmgAbABlAC4AbQB2AGgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXHZpZGVvZ2suc3RhdHMAAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\Video2\\Edited\\Rankkarit2301_Movie.avi");
VirtualDub.Close();

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

4:05:13: Started Xvid - Second Pass: E:\Video2\Edited\Rankkarit2301.avs
7:47:20: Finished Xvid - Second Pass: Duration: 3 hours, 42 minutes, 6 seconds.
7:47:20: Speed: 5.839 Frames per Second.

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

// $job "DivX5 Append"
// $input "E:\Video2\Edited\Rankkarit2301_Movie.avi"
// $output "E:\Video2\Edited\Rankkarit2301.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Rankkarit2301_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("E:\\Video2\\Edited\\Rankkarit2301 MPA T01 DELAY -40ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,-40);
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("E:\\Video2\\Edited\\Rankkarit2301.avi");
VirtualDub.Close();

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

7:47:21: Started Muxing Audio.: E:\Video2\Edited\Rankkarit2301_Movie.avi
7:47:36: Finished Muxing Audio.: Duration: 14 seconds.

7:47:36: Done.
7:47:36: Movie = E:\Video2\Edited\Rankkarit2301.avi
Total Encoding Time: 6 hours, 33 minutes, 28 seconds.
29.1.2004 7:47:36: Job "Rankkarit" finished.
_______________________________________________________________________________________________________________________

teko77
5th February 2004, 01:37
If it's for any help, I receive the following error-message now as well:
"an unknown error has occured (may be corrupt data): (error code -100)".

I read the board and tried adjusting the directories where .stats-file is saved and disabling lumi-masking without any help - therefore any additional help would be appreciated (2 pass - 1st pass + 2 pass - 2nd pass external is the encoding method I have tried to use)



Teko77

manono
5th February 2004, 12:17
Hi-

You're not using the new 1.0 versions of XviD, are you? They aren't supported by GKnot yet, and you'll have to encode directly in VDubMod.

teko77
6th February 2004, 01:20
Nope and I have now tried also the older VirtualDubMod as well. This is strange. I had it working ok, but after installing the new xp updating it to SP1, things went sour.

I use 1st pass: "2 pass - 1st pass"
and 2nd pass: "2 pass - 2nd pass external"

Are those ok? Thank you for any additional help.




Teko77

teko77
9th February 2004, 23:07
For some reason it just doesn't seem to be working, after the first pass I just receive the -100 error.

I have tried to read this forum through without luck: e.g. I have now loaded the default values for xvid in GordianKnot and selected a folder for the videostats.file:

2 pass - 1st pass:
1st pass stats: e:\\video2\edited\video.stats

2 pass - 2nd pass ext:
1st pass stats: e:\\video2\edited\video.stats
2nd pass stats: e:\\video2\edited\videogk.stats

and these folders do exist. I have also tried reinstalling GordianKnot and replacing the VirtualDubMod with the older version without success. (For some reason, during encoding (1st pass) there isn't that tiny window visible anymore: just VirtualDub - is this normal?

The movie resulted from the 1st pass was only 10 KB, while the stats-file was about 5 MB. I got the same results when I tried this with my laptop as well. I had not made any registry changes into it (see my first post on top of the chain), so the problem seems not to relate to that after all.

Please help me - my HD is filling with MPEG-2 captures as we spead... I usually run the MPEG-2 -file through DVD2Avi and load that into the GordianKnow. Please find my logfile attached below this post, if its for any help.


Thank you for any help,


Teko77

----------------------------------------------------------------------

9.2.2004 22:25:02: Job " 1" started.

o Transcode source -> MP3: E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mpa
o Xvid - First Pass: E:\Video2\Edited\Everw2201.avs
o Xvid - Second Pass: E:\Video2\Edited\Everw2201.avs
o Mux Audio.
End of Job 1 ( 1).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

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

Files:
VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: E:\Video2\Edited\Everw2201.avi
AviMovie: E:\Video2\Edited\Everw2201_Movie.avi
AviCredits: E:\Video2\Edited\Everw2201_Credits.avi
MovieFS: E:\Video2\Edited\Everw2201.avs
CreditsFS:
Log : E:\Video2\Edited\Everw2201.log
Stats: E:\Video2\Edited\Everw2201.stats
Ecf : E:\Video2\Edited\Everw2201.ecf

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

Calculator:
VideoSize: 358400 kbyte.
Audio1Size: 0 kbyte.
Audio2Size: 0 kbyte.
Overhead: 0 kbyte.
AviSize: 358400 kbyte (350 mbyte).
FilesSize: 0 kbyte.
TotalSize: 358400 kbyte (350 mbyte).
Interleaving:
Bitrate: 1164 k(=1000)Bits/s
Frames: 63047
FPS: 25.000
Duration: 042:2
Quality: 0.214 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 544 x 400

Audio 1:
Mode: ac3 -> mp3
SourceFile: E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mpa
WavFile: E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.wav
Mp3File: E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mp3
Azid: -c normal
Lame: -h --abr 128
Delay: -40
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.


22:25:02: Started Transcoding Audio.

22:25:02: Using "BeSweet" to transcode E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mpa
CommandLine: C:\PROGRA~1\GORDIA~1\BeSweet.exe -core( -input "E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mpa" -output "E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.mp3" -logfile "E:\Video2\Edited\Everw2201 MPA T01 DELAY -40ms.log" ) -ota( -hybridgain ) -azid( -c normal ) -lame( -h --abr 128 ) -profile( Gordian Knot 0.28 )
22:28:24: Finished. Duration: 3 minutes, 21 seconds.

22:28:24: Audio Done.
22:28:24: MP3-File-Size is 36048 kb.
22:28:24: Audio 1, determined: 36048 kb
22:28:24: Audio 1, calc: 0 kb
22:28:24: New Bitrate for Movie = 1048 k(=1000)Bits/s

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

// $job "Xvid - First Pass"
// $input "E:\Video2\Edited\Everw2201.avs"
// $output "E:\Video2\Edited\Everw2201_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Everw2201.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(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"AwAAAKC7DQCQsggARTpcVmlkZW8yXEVkaXRlZFxFdmVydzIyMDEuc3RhdHMAAEUAdgBlAHIAdwAyADIAMAAxAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVAAAABQAAABAAAABkAAAAZAAAAAYAAAAAAAAAAAAAAAEAAAAsAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAI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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\Video2\\Edited\\Everw2201_Movie.avi");
VirtualDub.Close();

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

22:28:24: Started Xvid - First Pass: E:\Video2\Edited\Everw2201.avs
23:57:22: Finished Xvid - First Pass: Duration: 1 hour, 28 minutes, 57 seconds.
23:57:22: Trying to open Log-file.
23:57:22: Success: Log-file open.
23:57:22: Encoded: 63047 Frames.
23:57:22: Speed: 11.812 Frames per Second.
23:57:22: New target size = 322352 Kb

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

// $job "Xvid - Second Pass"
// $input "E:\Video2\Edited\Everw2201.avs"
// $output "E:\Video2\Edited\Everw2201_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Everw2201.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(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1208,"BAAAAKC7DQAw6wQARTpcVmlkZW8yXEVkaXRlZFxFdmVydzIyMDEuc3RhdHMAAEUAdgBlAHIAdwAyADIAMAAxAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3AAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\Video2\\Edited\\Everw2201_Movie.avi");
VirtualDub.Close();

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

23:57:22: Started Xvid - Second Pass: E:\Video2\Edited\Everw2201.avs
23:57:29: Finished Xvid - Second Pass: Duration: 6 seconds.
23:57:29: Speed: 9607.894 Frames per Second.

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

// $job "DivX5 Append"
// $input "E:\Video2\Edited\Everw2201_Movie.avi"
// $output "E:\Video2\Edited\Everw2201.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\Video2\\Edited\\Everw2201_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("E:\\Video2\\Edited\\Everw2201 MPA T01 DELAY -40ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,-40);
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("E:\\Video2\\Edited\\Everw2201.avi");
VirtualDub.Close();

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

23:57:29: Started Muxing Audio.: E:\Video2\Edited\Everw2201_Movie.avi
23:57:34: Finished Muxing Audio.: Duration: 5 seconds.

23:57:34: Done.
23:57:34: Movie = E:\Video2\Edited\Everw2201.avi
Total Encoding Time: 1 hour, 32 minutes, 32 seconds.
9.2.2004 23:57:34: Job " 1" finished.
_______________________________________________________________________________________________________________________

manono
10th February 2004, 10:12
Hi-

The movie resulted from the 1st pass was only 10 KB, while the stats-file was about 5 MB. I got the same results when I tried this with my laptop as well. I had not made any registry changes into it (see my first post on top of the chain), so the problem seems not to relate to that after all.

That part is normal. You don't get a good and playable .avi after the first pass unless you enable that feature. If you want to try, then when you're setting up GKnot for encoding, or you can do it directly in VDubMod, go to the Two Pass Tab and uncheck "Discard First Pass"

23:57:22: Started Xvid - Second Pass: E:\Video2\Edited\Everw2201.avs
23:57:29: Finished Xvid - Second Pass: Duration: 6 seconds.

That part (from the log) is not normal, and the stats file isn't being read, and is also the reason for:

an unknown error has occured (may be corrupt data): (error code -100).

So, have a look at e:\\video2\edited\videogk.stats. Is it where it says it is and is exactly the same length as e:\\video2\edited\video.stats?

You can workaround the problem by running an internal 2nd pass. Make sure that, in the Bitrate Tab of GKnot, you've filled in the audio size and the overhead value. Then in the XviD configuration box, select 2-Pass, 2nd Pass Int, fill in the file size that GKnot gives you, and run just the second pass over again. Make sure you tick "nth Pass" in the upper left of the Encoding Control Panel. I think you already have the audio, so you can just mux it.

If that doesn't work (you'll know right away), then in that same XviD Configuration box, hit "Load Defaults", and then in the Options Tab of GKnot, reload the settings that you like to use, and try again.

teko77
10th February 2004, 20:10
Big thanks Manono for the tips!

videogk.stats is non-existent on my computer for some reason., while video.stats is where it should be and its size is 4187 KB.

I will try now the internal pass -method you have suggested.

EDIT: the internal pass -method works just fine! Thanks again!


Teko77