[nandub] filesize out of control :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spstrikwerda
    Junior Member
    Junior Member
    • Jul 2002
    • 5

    [nandub] filesize out of control :(

    i'm trying to encode Phantom Menace to DivX with Nandub, but the filesize is too big!!!
    i only have this problem when encoding the movie to 2 cd's (2x700=1400mb), i already made an 1-cd rip that ended up almost perfect (702mb).

    but now the 2-cd rip... no matter what settings i try (lowering gauge, DRF's, lowering bitrate etc), the movie each time ends up in 1450 - 1600 mb instead of 1400

    i noticed that when i apply a "little noise" filter in AviSynth, that the deviation is becoming much less (+3mb), but it is growing as the encoding advances.

    i'll post my settings here so you can help me better:


    VirtualDub.audio.SetSource("D:\\vobs\\starwars\\st arwars r3mix.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();
    VirtualDub.audio2.SetSource(1);
    VirtualDub.audio2.SetMode(0);
    VirtualDub.audio2.SetInterleave(1,500,1,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(3);
    VirtualDub.video.SetFrameRate(0,1);
    VirtualDub.video.SetIVTC(0,0,-1,0);
    VirtualDub.video.SetRange(0,0);
    VirtualDub.video.SetDivX(1300,10);
    VirtualDub.video.SetQualityControl(1,0,0,0);
    VirtualDub.video.SetMotionDetection(8,10,300,300);
    VirtualDub.video.SetCrispness(30,0);
    VirtualDub.video.SpaceKF(24);
    VirtualDub.video.InternalSCD(100);
    VirtualDub.video.SetMinKBPS(400);
    VirtualDub.video.SetCurveFile("D:\\vobs\\starwars\ \starwars 2cd.stats");
    VirtualDub.video.SetCurveMcFactor(25);
    VirtualDub.video.SetCurveCompression(15,3);
    VirtualDub.video.SetCurveFilter(270,3000);
    VirtualDub.video.SetCurveCredits(186840,150);
    VirtualDub.video.SetLumaCorrectionAmp(1,10,30);
    VirtualDub.video.SetCurveRedist(1);
    // VirtualDub.video.CalcCurveCompression();
    VirtualDub.video.SetCompLevelsMain(2,6);
    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(2,6);
    VirtualDub.video.SetBitsReservoir(5,45,40,100,45,0 );
    VirtualDub.video.SetLowBrCorrection(1,1);
    VirtualDub.video.NoAVIOutput(0);
    VirtualDub.video.GenStats("",0);
    VirtualDub.video.SetEncodingControl("");
    VirtualDub.video.filters.Clear();
    VirtualDub.subset.Delete();
    VirtualDub.brc.Set( 0, 699 );
    VirtualDub.brc.Set( 1, 2 );
    VirtualDub.brc.Set( 2, 147 );
    VirtualDub.brc.Set( 3, 149 );
    VirtualDub.brc.Set( 4, 1 );


    i hope you have some tips that can lead to me getting the perfect filesize (~1400mb)

    tnx in advance !!!!!
  • spstrikwerda
    Junior Member
    Junior Member
    • Jul 2002
    • 5

    #2
    nobody ???

    Comment

    • alc101ma
      Junior Member
      Junior Member
      • Jul 2002
      • 19

      #3
      try this...

      Manually input a file size less than 1400MB... say, around 1250MB. So with this restriction set below 1400MB, you give it some room to "grow" and still fit on 2 700MB cds. I don't know why your file size is off so much, but I hope this helps.
      Last edited by alc101ma; 10 Jul 2002, 07:53 AM.

      Comment

      • UncasMS
        Super Moderator
        • Nov 2001
        • 9047

        #4
        i had no problems with e1 using these settings:

        [ignore BITRATE of course - the screenshots are part of my nandub guide]







        COMPRESSION LEVEL:
        keyframe quality: min 2 - max 4

        Comment

        • spstrikwerda
          Junior Member
          Junior Member
          • Jul 2002
          • 5

          #5
          tnx guys i'll reencode with your advice.

          i'll post the results here.

          Comment

          • spstrikwerda
            Junior Member
            Junior Member
            • Jul 2002
            • 5

            #6
            tnx UncasMS !!!! looks like it's gonna work

            i had to lower gauge to 30 - 35 - 70 to get right filesize though..... does this any VISUAL impact on the encode ???

            Comment

            • UncasMS
              Super Moderator
              • Nov 2001
              • 9047

              #7
              i have always kept the default settings for motion, gauge and ecf and they worked fine for me.


              are you dealing with pal or ntsc, btw?
              in case it is PAL, take a look at my divx5 guide:


              i have used nandub for a long time, but the latest divx 5.02 pro is better imho!

              Comment

              • spstrikwerda
                Junior Member
                Junior Member
                • Jul 2002
                • 5

                #8
                it's the PAL version... 100% legal too, because i own it

                as soon as i up the max gauge to 80%, the file gets way too big, no matter what i set bitrate or DRF to.
                at default (max 70) it hits the filesize exactly.

                isn't there a tool to calculate the ideal gauge settings for a particular movie ???

                Comment

                • techno
                  Digital Video Master
                  Digital Video Master
                  • Nov 2001
                  • 1309

                  #9
                  yet again UnCasMS saves the day, he is the greatest of them all! No really, he is...yes REALLY! next one to object gets a kick up the ..... lol

                  seriously, any advice uncasms gives will not be obtained anywhere else, he is a true legend

                  Techno

                  Comment

                  Working...