Nandub; filesize out of control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ham
    Member
    Member
    • Jan 2002
    • 66

    Nandub; filesize out of control

    I have one mpeg file which won't compress using nandub. I've lowered max gauge all the way down to 40 and didn't help much. On the other hand, I have a second mpeg that compresses TOO MUCH, even setting max gauge to 100 didn't help.

    Alot of this don't make much sense to me (the two mpegs are not that much different). The settings should be fine (drf is 2-8) because I re-encoded alot of divx movies successfully with it, but mpeg formats are giving me unpredictable filesizes.

    What are my options before I resort to lowering/increasing the bitrate to get it to the correct filesize for the two respective movies?

    VirtualDub.audio.SetSource("C:\\SAVE\\blah.mp3");
    VirtualDub.audio.SetMode(0);
    VirtualDub.audio.SetInterleave(1,500,1,0,0);
    VirtualDub.audio.SetClipMode(1,1);
    VirtualDub.audio.SetConversion(0,0,0,0,0);
    VirtualDub.audio.SetVolume();
    VirtualDub.audio.SetCompression(85,48000,2,0,16000 ,1,12,"AQACAAAAgAEBAHEF");
    VirtualDub.audio2.SetSource(0);
    VirtualDub.video.SetDepth(24,24);
    VirtualDub.video.SetMode(3);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetDivX(1098,10);
    VirtualDub.video.SetQualityControl(0,0,0,0);
    VirtualDub.video.SetMotionDetection(8,10,300,300);
    VirtualDub.video.SetCrispness(30,1);
    VirtualDub.video.SpaceKF(24);
    VirtualDub.video.InternalSCD(100);
    VirtualDub.video.SetMinKBPS(320);
    VirtualDub.video.SetCurveFile("C:\\SAVE\\Exhibitionists.stats");
    VirtualDub.video.SetCurveMcFactor(0);
    VirtualDub.video.SetCurveCompression(25,3);
    VirtualDub.video.SetCurveFilter(270,2500);
    VirtualDub.video.SetCurveCredits(0,300);
    VirtualDub.video.SetLumaCorrectionAmp(1,10,30);
    VirtualDub.video.SetCurveRedist(1);
    // VirtualDub.video.CalcCurveCompression();
    VirtualDub.video.SetCompLevelsMain(2,8);
    VirtualDub.video.SetCompLevelsA(300,3,16);
    VirtualDub.video.SetCompLevelsB(300,4,16);
    VirtualDub.video.SetCompLevelsC(300,5,16);
    VirtualDub.video.SetCompLevelsD(300,6,16);
    VirtualDub.video.SetCompLevelsE(300,7,16);
    VirtualDub.video.SetCompLevelK(4,31);
    VirtualDub.video.SetBitsReservoir(0,35,30,100,45,0 );
    VirtualDub.video.SetLowBrCorrection(0,0);
    VirtualDub.video.NoAVIOutput(0);
    VirtualDub.video.GenStats("",0);
    VirtualDub.video.SetEncodingControl("");
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.brc.Set( 0, 700 );
    VirtualDub.brc.Set( 1, 1 );
    VirtualDub.brc.Set( 2, 142 );
    VirtualDub.brc.Set( 3, 84 );
    VirtualDub.brc.Set( 4, 0 );
Working...