VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hello, I'm trying to encode a interlaced NTSC TV Series to XviD. Even at a bitrate of 1200 for video it still seems pixlated. I've seen clips on line of encodes at 800 bitrate that look two times better than mine, even when I use denoisers. What am I doing wrong? I figured I should ask the experts to maybe shared their secret recipes. Any help would be appreciated. Here is one of the scripts if that helps. Thanks in advance

    # Created with Gordian Knot
    #
    # http://gknot.doom9.org

    # PLUGINS
    LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
    LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\decomb.dll")
    #LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\KernelDeInt.dll" )
    #LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\dgbob.dll")
    #LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\TomsMoComp.dll")
    #LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\VSFilter.dll")
    #LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\SimpleResize.dll ")
    LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Convolution3d.dl l")
    LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\FluxSmooth.dll")
    LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Undot.dll")

    # SOURCE
    mpeg2source("F:\THE_OC_D6\123.d2v", idct=0)

    # TRIM
    trim(0,62191)

    # IVTC
    #Telecide(order=1,guide=1).Decimate()
    # or use
    #IVTC(44,11,95)
    #GreedyHMA(1,0,4,0,0,0,0,0)

    # DEINTERLACING (1)
    FieldDeinterlace()
    #FieldDeinterlace(blend=false)
    #TomsMoComp(1,5,1)

    # DEINTERLACING (2)
    #KernelDeInt(order=1,sharp=true)
    # or maybe
    #DGBob(order=1,mode=1)

    # DEINTERLACING (3) - special requests
    #GreedyHMA(1,0,0,0,0,0,0,0)
    #Telecide()
    #SeparateFields()

    # CROPPING
    crop(0,0,720,480)

    # DENOISING: choose one combination (or none)
    # 2) medium noise

    # RESIZING
    LanczosResize(576,416)

    # DENOISING: choose one combination (or none)
    # 2) medium noise
    Temporalsoften(3,5,5,mode=2,scenechange=10)
    Convolution3d("moviehq")
    FluxSmoothST(7,7)
    Undot()
    Undot()

    # 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)
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Dgdecode has a macroblock deblock feature that works well. Add this line to your script:

    Deblock()

    You also have too many "denoisers" loaded. If it is a DVD source, just use Undot, maybe twice.

    Undot()
    Undot()

    Change "LanczosResize(576,416)" to

    Lanczos4Resize(576,416)



    it is a sharper resize function.

    Load your .AVS file in VirtualDub and check it out if it loads.

    OR, just use AutoGK.
    Quote Quote  
  3. thanks for the reply, where can i find the DeBlock plugin?
    Quote Quote  
  4. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")


    That automatically loads it, even though it is called DgDecode.dll


    You still need to add that line:

    Deblock()


    to the AVS script in order to invoke it.
    Quote Quote  
  5. thanks again, at what bitrate would you suggest using denoisers? If I encode at 900-1000 and above would this script give me good results?
    Quote Quote  
  6. Hi-

    How do you know it's interlaced, and can't be IVTC'd? Do you know how to tell the difference? If you tell us the name of the TV series DVDs, maybe someone that has had experience with them can help out.

    And as stated above, you have way too many denoisers. TemporalSoften at those medium settings all by itself can create a kind of "flickering" or "pixelation". Also, FluxSmooth at default settings smooths too much, in my opinion.
    Quote Quote  
  7. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    #################BEGIN#################

    LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
    LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Undot.dll")

    mpeg2source("F:\THE_OC_D6\123.d2v", idct=0, cpu=4, iPP=true, moderate_v=20)

    #The above line is correct to deblock your Mpeg2 source
    #Only Use Deblock() if the source is AVI

    trim(7400,9600) #Use this small range for testing, then use the line below
    #When you are ready to encode the whole thing
    #trim(0,62191)

    Lanczos4Resize(576,416)

    undot()
    undot()

    ###############END###################


    You should have pretty good looking xvid video at 1100-1200 with the above. I'd discourage you from deinterlacing - I doubt you'll need it on a dvd source.
    Quote Quote  
  8. Originally Posted by manono
    Hi-

    How do you know it's interlaced, and can't be IVTC'd? Do you know how to tell the difference? If you tell us the name of the TV series DVDs, maybe someone that has had experience with them can help out.

    And as stated above, you have way too many denoisers. TemporalSoften at those medium settings all by itself can create a kind of "flickering" or "pixelation". Also, FluxSmooth at default settings smooths too much, in my opinion.
    I ran a vob through BitrateView and it said interlaced, then ran it through v-dub to look for lines (a method I got from someone's guide on how to tell weither the source is interlaced or not). And no I don't know the difference between interlaced and IVTC'd. The series is the OC. And Soopafresh thanks for the script, I'll give it a try and post my results. Thanks everyone for the time and effort with my problem, forgive my ignorance
    Quote Quote  
  9. Hi-

    I ran a vob through BitrateView and it said interlaced,

    Means nothing. That just tells you how it was encoded, and not whether it's really interlaced. Opening it in VDubMod can help. Advance frame-by-frame in a place where there's movement and look for 3 clean frames and 2 interlaced frames in a cycle of 5 frames. If you see that, it's been telecined and can (and should) be IVTC'd. If all the frames are interlaced, then it truly is interlaced. If you do decide to IVTC, don't use any deblocking or any other smoothing/denoising filter before the IVTC.

    Back to your very first post:

    I've seen clips on line of encodes at 800 bitrate that look two times better than mine, even when I use denoisers.

    I bet those were 23.976fps, and not your 29.97fps with FieldDeinterlace and all those other filters you were planning on using. IVTC will bring it back to the original 23.976fps.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!