PDA

View Full Version : Oversized Output File


iparout
29th March 2003, 23:26
Hi.

I am experiencing a very weird problem in GKnot. I am trying to encode The 9th Gate. After I st up everything correctly in GKnot, the bitrate calculator tells me that the bitrate should be 630 kbps. I do everything by the book, however, the final AVI is 9 MB oversized and it can't fit on a CD.

Here is the log file :

29/3/2003 6:03:03 μμ: Job "9th Gate" started.

o DivX5-First Pass: E:\9thGate\The Ninth Gate.avs
o DivX5-Second Pass: E:\9thGate\The Ninth Gate.avs
o Mux Audio.
End of Job 7 (9th Gate).
_________________________________________

Gordian Knot 0.27.0.13
Encoding Job Data:

Type: EncD5_Both
Number: 7
Name: 9th Gate
Platform: WinXP (5.1.2600).2

Files:
VirtualDubExe: D:\AUDIO-~1\Video\Tools\GORDIA~1\virtualdub\Virtualdub.exe
NandubExe: D:\AUDIO-~1\Video\Tools\GORDIA~1\nandub\Nandub.exe
AviFinal: E:\9thGate\The Ninth Gate.avi
AviMovie: E:\9thGate\The Ninth Gate_Movie.avi
AviCredits: E:\9thGate\The Ninth Gate_Credits.avi
MovieFS: E:\9thGate\The Ninth Gate.avs
CreditsFS:
Log : E:\9thGate\The Ninth Gate.log
Stats: E:\9thGate\The Ninth Gate.stats
Ecf : E:\9thGate\The Ninth Gate.ecf

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

Calculator:
VideoSize: 588419 kbyte.
Audio1Size: 116328 kbyte.
Audio2Size: 0 kbyte.
Overhead: 12052 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: vbrmp3
Bitrate: 630 k(=1000)Bits/s
Frames: 191293
FPS: 25.000
Duration: 2:7:32
Quality: 0.154 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.313 bits/(pixel*frame).
DivX5BiDirect: 1
DivX5GMC: 1
DivX5QuartPel: 0
DivX5PsyVis: 0
Resolution: 640 x 256

Audio 1:
mode: Just Mux Source File.
sourceFile: E:\9thGate\9thGate.mp3
wavFile: E:\9thGate\9thGate_1.wav
mp3File: E:\9thGate\9thGate_1.mp3
azid: ""
lame: ""
delay: 0
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1

Audio 2:
none.

6:03:03 μμ: Audio 1, determined: 116328 kb
6:03:03 μμ: Audio 1, calc: 116328 kb
6:03:03 μμ: New Bitrate for Movie = 630 k(=1000)Bits/s

Adding this script to D:\AUDIO-~1\Video\Tools\GORDIA~1\virtualdub\VirtualDub.jobs:

// $job "DivX4 First Pass"
// $input "E:\9thGate\The Ninth Gate.avs"
// $output "E:\9thGate\The Ninth Gate_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\9thGate\\The Ninth Gate.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
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.SetCompData(352,"GAEAAPCcCQDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAgAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEU6XDl0aEdhdGVcVGhlIE5pbnRoIEdhdGUubG9nAGM6XHRlc3QuZGl2eABFOlw5dGhHYXRlXFRoZSBOaW50aCBHYXRlLm12AG0=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\9thGate\\The Ninth Gate_Movie.avi");
VirtualDub.Close();

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

6:03:03 μμ: Started DivX5-First Pass: E:\9thGate\The Ninth Gate.avs
9:00:08 μμ: Finished DivX5-First Pass. Duration: 2 hours, 57 minutes, 4 seconds.
9:00:08 μμ: Trying to open Log-file.
9:00:36 μμ: Success: Log-file open.
9:00:36 μμ: Encoded: 191292 Frames.
9:00:36 μμ: Speed: 18.004 Frames per Second.

Adding this script to D:\AUDIO-~1\Video\Tools\GORDIA~1\virtualdub\VirtualDub.jobs:

// $job "DivX4 Second Pass"
// $input "E:\9thGate\The Ninth Gate.avs"
// $output "E:\9thGate\The Ninth Gate_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\9thGate\\The Ninth Gate.avs",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
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.SetCompData(352,"GAEAAPCcCQDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAwAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAQAACamZmZmZnJP5qZmZmZmck/QAAAAAEAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEU6XDl0aEdhdGVcVGhlIE5pbnRoIEdhdGUubG9nAGM6XHRlc3QuZGl2eABFOlw5dGhHYXRlXFRoZSBOaW50aCBHYXRlLm12AG0=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\9thGate\\The Ninth Gate_Movie.avi");
VirtualDub.Close();

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

9:00:36 μμ: Started DivX5-Second Pass: E:\9thGate\The Ninth Gate.avs
10:58:02 μμ: Finished DivX5-Second Pass. Duration: 1 hour, 57 minutes, 25 seconds.
10:58:02 μμ: Speed: 27.151 Frames per Second.

Adding this script to D:\AUDIO-~1\Video\Tools\GORDIA~1\nandub\VirtualDub.jobs:

// $job "DivX3 Append"
// $input "E:\9thGate\The Ninth Gate_Movie.avi"
// $output "E:\9thGate\The Ninth Gate.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\9thGate\\The Ninth Gate_Movie.avi",0,0);
VirtualDub.audio.SetSource("E:\\9thGate\\9thGate.mp3");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,2,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.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:\\9thGate\\The Ninth Gate.avi");
VirtualDub.Close();

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

10:58:02 μμ: Started Appending Credits and Muxing Audio.: E:\9thGate\The Ninth Gate_Movie.avi
11:00:16 μμ: Finished Appending Credits and Muxing Audio.. Duration: 2 minutes, 14 seconds.

11:00:16 μμ: Done.
11:00:16 μμ: Movie = E:\9thGate\The Ninth Gate.avi
Total Encoding Time: 4 hours, 57 minutes, 13 seconds.
29/3/2003 11:00:17 μμ: Job "9th Gate" finished.
_____________________________________________

As you can see, GKnot says that the movie is encoded at 630 kbps, however when I open the avi with GSpot, it tells me that the average bitrate is 644 kbps (thus the oversize). Also , when I open VirtualDub after the encoding process finishes, I can see that the bitrate of the DivX Pro configuration is set to 630 kbps, which means that VDub actually used 630 kbps for the encoding process. Why does this problem happen. I re-encoded the movie and it is still oversize.

Any help ?

N_F
30th March 2003, 01:33
You have a separate .mp3 file and an .avi file without sound, right? What size are those two together (don't mux them or anything like that, just mark them in Explorer and check the size)?

iparout
30th March 2003, 04:17
They are 701 MB. I know what you're thinking but I did not forget to check the Interleave & AVI Overhead option in GKnot.