Dual-Pass in VirtualDub?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HDRed
    Member
    Member
    • Dec 2002
    • 52

    Dual-Pass in VirtualDub?

    Is it possible to do dual-pass encoding in VirtualDub without using a GUI like GordianKnot?

    How?
  • gs0666
    Digital Video Technician
    Digital Video Technician
    • Nov 2001
    • 462

    #2
    Yes...but you will have to set up the encoder.Say for instance you are going to use Xvid, I suggest you read some articles at www.doom9.org/xvid.htm

    Use GKnot to create the AVISynth Script (.avs)

    Comment

    • khp
      The Other
      • Nov 2001
      • 2161

      #3
      Yes ofcourse.

      Load the avs file (or whatever source you are using) into virtualdub, set video compression to divx5 2-pass first pass. Save and encode.
      Wait until it's done, and repeat the same procedure, but select 2-pass second pass in the divx5 configuration.


      You can also use virtualdubs batch job processing, to do this, just check 'add to job list and defer processing' in the 'save avi' menu. And select File->'Job control' when you have configured both passes.
      Donate your idle CPU time for something usefull.
      http://folding.stanford.edu/

      Comment

      • HDRed
        Member
        Member
        • Dec 2002
        • 52

        #4
        Ok, sounds easy enough - thanks!

        I'm still working the kinks out of this frameserving stuff.

        I still haven't been able to get the output quality of flask 0.78.39 from virtualdub (sharper, but some artifacting in the latter).

        Flask is just so smooth and clean...oh well, Rome wasn't conquered in a day.

        Comment

        • Enchanter
          Old member
          • Feb 2002
          • 5417

          #5
          I'm still working the kinks out of this frameserving stuff.
          Has your AVS file loaded successfully in Virtual/nandub?

          Comment

          • HDRed
            Member
            Member
            • Dec 2002
            • 52

            #6
            Originally posted by Enchanter
            Has your AVS file loaded successfully in Virtual/nandub?
            Yes! (Why do people call it Virtual/nandub when they're two different programs? I never understood that...)

            Anyway, it loads into VirtualDub just fine. I'm running a first pass now with an estimated total time of 6 hours and a few minutes - I think that convolution3D is adding all those hours like you said.

            It's cool writing scripts - really kinda fun. I just write the script out and I can preview it in WMP8 before i load it into VirtualDub just to see how it looks.

            This is my script file that I'm using:
            #
            # Created with Gordian Knot
            #
            # http://thewef.nav.to
            #
            # PLUGINS
            # get them from http://users.win.be/dividee
            LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
            LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
            LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.d ll")
            LoadPlugin("C:\Rip Tools\Avisynth Plugins\Convolution3D.dll")
            LoadPlugin("C:\Rip Tools\Avisynth Plugins\MSharpen.dll")
            LoadPlugin("C:\Rip Tools\Avisynth Plugins\lanczos3.dll")
            #
            # SOURCE
            mpeg2source("C:\Files\DVD Rips\Stir_Of_Echoes\VIDEO_TS\d2a\SOE_D2A.d2v")
            #
            # TRIM
            #trim(startframe,endframe)
            #
            # IVTC
            Telecide()
            Decimate(cycle=5)
            # or use
            #InverseTelecine(40,10,15)
            #GreedyHMA(1,0,4,0,0,0,0,0)
            #
            # DEINTERLACING (1)
            #FieldDeinterlace()
            #
            # CROPPING
            crop(0,4,718,470)
            Convolution3D (0, 3, 4, 3, 4, 2.8, 0)
            #
            # DEINTERLACING (2)
            #VerticalReduceBy2
            # or maybe
            #GreedyHMA(1,0,0,0,0,0,0,0)
            #
            #
            # SUBTITLES
            #VobSub("FileName")
            #
            # RESIZING
            LanczosResize(592,320,0,0.75)
            #
            # DENOISING: choose one combination (or none)
            # 1) little noise (fast)
            #TemporalSmoother(2,1)
            #
            # 2) medium noise (slow)
            #SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
            #TemporalSmoother(2)
            #
            # 3) heavy noise (very slow, you have been warned)
            #SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
            #TemporalSmoother(3)
            #SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
            #
            # BORDERS
            #AddBorders(left,top,right,bottom)
            #
            # COMPRESSIBILITY CHECK
            # !!!!Snip Size now has to be 14 for use in GKnot!
            #SelectRangeEvery(280,14)
            #
            # FOOL CCEnc
            #ResampleAudio(44100)

            I'm using the VirtualDub filter "MSharpen 1.0" also, with sharpen set to 50 instead of the default 100 value but everything else at default.

            Quick question - do I set the output to 16, 24, or 32bit? Will this affect filesize/quality much?

            Comment

            • Enchanter
              Old member
              • Feb 2002
              • 5417

              #7
              Quick question - do I set the output to 16, 24, or 32bit? Will this affect filesize/quality much?
              I believe this only applies to the preview window. it's not going to have any effect on the output quality.

              Now that you have discovered how fun it is to write scripts and how you can simply load them up into the encoder and set & go about the encoding right away, what do you think of DVD-2-DivX encoding now?

              Comment

              • HDRed
                Member
                Member
                • Dec 2002
                • 52

                #8
                Originally posted by Enchanter
                I believe this only applies to the preview window. it's not going to have any effect on the output quality.

                Now that you have discovered how fun it is to write scripts and how you can simply load them up into the encoder and set & go about the encoding right away, what do you think of DVD-2-DivX encoding now?
                Well it's alot of fun, but it was still lots of fun even with Flask (which I haven't totally abandoned just yet).

                There's just so much information to absorb, it'll take me awhile to understand everything.

                Comment

                Working...