Log in

View Full Version : Nandub overshooting with SBC


Turbonutter
20th June 2003, 19:11
Hello there. I'm trying to backup The Animatrix to 1CD with GK and I'm having some problems, however I think these are Nandub related. I'll tell you exactly what happened:

I've been using GK .27 for a while with no problems for a while. I decided to upgrade to .28 when I got The Animatrix so I could try some XviD magic. So anyway, what I did was upgrade to .28 with all the latest files from SF.net. I just installed straight over the top. The files I used were, in installation order:

GordianKnot.CodecPack.1.2.exe
GordianKnot.RipPack.0.28.3.beta.Setup.exe
GordianKnot.RipPack.0.28.4.beta.Update.Setup.exe
GordianKnot.ExeOnly.0.28.Setup.exe

I did an XviD rip and hit the filesize just fine (after rolling back to a previous VDM, but I don't think that has anything to do with it), but my SBC rips are overshooting widly. I have tried with several resize filters and all the 720px ones end up at 730mb, and similarly my 640px rips end up 644mb +-3mb. I can't figure out what's doing this and I don't want to reduce the res. Can anyone give me any advice on how to go about sorting this problem? If needs be I can try another DVD but I don't really want to as my Animatrix disc is circling my friends and I haven't the space to store the VOBs without firing them across my last-legs network switch. I also don't really want to roll back to GK .27. Here is my log:

20/06/2003 01:01:15 AM: Job "The Animatrix" started.

o DivX3-First Pass: C:\Rips\ANIMATRIX.avs
o DivX3-Second Pass: C:\Rips\ANIMATRIX.avs
x Mux Audio (disabled).
End of Job 4 (The Animatrix).
_______________________________________________________________________________________________________________________

Gordian Knot 0.2.8.1473
Encoding Job Data:

Type: EncD3_Both
Number: 4
Name: The Animatrix
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: C:\Rips\ANIMATRIX_3.avi
AviMovie: C:\Rips\ANIMATRIX_3_Movie.avi
AviCredits: C:\Rips\ANIMATRIX_3_Credits.avi
MovieFS: C:\Rips\ANIMATRIX.avs
CreditsFS:
Log : C:\Rips\ANIMATRIX_3.log
Stats: C:\Rips\ANIMATRIX_3.stats
Ecf : C:\Rips\ANIMATRIX_3.ecf

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

Calculator:
VideoSize: 612596 kbyte.
Audio1Size: 0 kbyte.
Audio2Size: 0 kbyte.
Overhead: 3484 kbyte.
AviSize: 616081 kbyte (601 mbyte).
FilesSize: 100719 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: disabled
Bitrate: 842 k(=1024)Bits/s
Frames: 145516
FPS: 25.000
Duration: 1:37:1
Quality: 0.204 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 640 x 264

Audio 1:
none.

Audio 2:
none.


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

// $job "DivX3 First Pass"
// $input "C:\Rips\ANIMATRIX.avs"
// $output "C:\Rips\ANIMATRIX_3.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Rips\\ANIMATRIX.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.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(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(6000,9999);
VirtualDub.video.SetQualityControl(0,0,0,0);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(0,0);
VirtualDub.video.SpaceKF(24);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(270);
VirtualDub.video.SetCurveFile("");
VirtualDub.video.SetCurveMcFactor(0);
VirtualDub.video.SetCurveCompression(0,0);
VirtualDub.video.SetCurveFilter(0,9999);
VirtualDub.video.SetCurveCredits(0,350);
VirtualDub.video.SetLumaCorrectionAmp(0,10,30);
VirtualDub.video.SetCurveRedist(0);
VirtualDub.video.SetCompLevelsMain(2,2);
VirtualDub.video.SetCompLevelsA(300,2,16);
VirtualDub.video.SetCompLevelsB(300,2,16);
VirtualDub.video.SetCompLevelsC(300,2,16);
VirtualDub.video.SetCompLevelsD(300,2,16);
VirtualDub.video.SetCompLevelsE(300,2,16);
VirtualDub.video.SetCompLevelK(2,4);
VirtualDub.video.SetBitsReservoir(0,100,0,100,45,100);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(1);
VirtualDub.video.GenStats("C:\\Rips\\ANIMATRIX_3.stats",1);
VirtualDub.video.SetEncodingControl("");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Rips\\ANIMATRIX_3.avi");
VirtualDub.Close();

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

01:01:15 AM: Started DivX3-First Pass: C:\Rips\ANIMATRIX.avs
02:02:54 AM: Finished DivX3-First Pass. Duration: 1 hour, 1 minute, 38 seconds.
02:02:56 AM: Speed: 39.343 Frames per Second.
02:02:57 AM: Created new stats-file: C:\Rips\ANIMATRIX_3_842_kbps.stats
02:02:57 AM: Created ecf: C:\Rips\ANIMATRIX_3.ecf

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

// $job "DivX3 Second Pass"
// $input "C:\Rips\ANIMATRIX.avs"
// $output "C:\Rips\ANIMATRIX_3.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Rips\\ANIMATRIX.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.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(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(842,12);
VirtualDub.video.SetQualityControl(0,0,0,0);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(100,0);
VirtualDub.video.SpaceKF(24);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(270);
VirtualDub.video.SetCurveFile("C:\\Rips\\ANIMATRIX_3_842_kbps.stats");
VirtualDub.video.SetCurveMcFactor(0);
VirtualDub.video.SetCurveCompression(0,0);
VirtualDub.video.SetCurveFilter(0,9999);
VirtualDub.video.SetCurveCredits(0,350);
VirtualDub.video.SetLumaCorrectionAmp(0,10,30);
VirtualDub.video.SetCurveRedist(0);
VirtualDub.video.SetCompLevelsMain(2,16);
VirtualDub.video.SetCompLevelsA(300,2,16);
VirtualDub.video.SetCompLevelsB(300,2,16);
VirtualDub.video.SetCompLevelsC(300,2,16);
VirtualDub.video.SetCompLevelsD(300,2,16);
VirtualDub.video.SetCompLevelsE(300,2,16);
VirtualDub.video.SetCompLevelK(2,4);
VirtualDub.video.SetBitsReservoir(0,35,30,70,10,0);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(0);
VirtualDub.video.GenStats("",1);
VirtualDub.video.SetEncodingControl("C:\\Rips\\ANIMATRIX_3.ecf");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Rips\\ANIMATRIX_3.avi");
VirtualDub.Close();

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

02:02:57 AM: Started DivX3-Second Pass: C:\Rips\ANIMATRIX.avs
02:58:54 AM: Finished DivX3-Second Pass. Duration: 55 minutes, 57 seconds.
02:58:54 AM: Speed: 43.343 Frames per Second.

02:58:54 AM: Done.
02:58:54 AM: Movie = C:\Rips\ANIMATRIX_3.avi
Total Encoding Time: 1 hour, 57 minutes, 39 seconds.
20/06/2003 02:58:54 AM: Job "The Animatrix" finished.
_______________________________________________________________________________________________________________________


Thanks for any help you can give me.

EDIT: Also, can anyone tell me where to acquire the GK version that's compatable with the latest VDM for XviD? (2nd audio member error)

esby
20th June 2003, 23:47
mmm i don't know much about GK...

Could you post the size of first pass ( open stat file with a stat editor and look on it) (or its average drf, it s the same usage)

Post the ecf too, if you can.

From what i can tell nothing seems really wrong,
you are setting compression level from 2 to 16,
& kf compression level 2-4.
All i can say is that the compression level don't make your file oversized.

Whether your ecf what your ecf is containing,
VirtualDub.video.SetCrispness(100,0);
VirtualDub.video.SetCurveMcFactor(0);
may be wrong (in my opinion)
since i'll tends to use 35% for cripness
and 20-30% for curve factor...

Maybe your settings are forcing drf=2 in this case,
which would explain the excessive size.


esby

Turbonutter
21st June 2003, 00:20
Hi, thanks for your reply.

Unfortunately I nuked all the files related to that SBC rip an hour ago, however I am going to try one last thing after I've finished doing some VHQ testing (est. 12 hours if the rip is good), so I'll be back in about 14 hours hopefully with some more data. Goddamn XviD is slow! Thanks for your help!

Turbonutter
21st June 2003, 21:07
Hi

Well I'm still getting the same problems. My first pass was 1843mb according to StatsReader 2.0.

My ECF is 2mb and doesn't seem to contain much that can be the information you are looking for, do you want a different file?

Turbonutter
21st June 2003, 21:11
Note when I open ANIMATRIX_2_842_kbps.stats in GK it says the video size should be 612596 - which is what I want.

Argh!

esby
21st June 2003, 23:17
since i don't know what contains your ecf,
I can't say what it determines...
Eg: if it tells to use drf=2 for most of the frames
it's kinda normal you don't reach the wanted size...
(And a 2mb ecf is kinda huge, considering it s a text file...)

Anyway, i think this thread should be moved in the Gknot forum...
Maybe some Gknot users will be able to help you there.

esby