VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Code:
    Mpeg2Source("I:\VIDEO_TS.d2v", CPU2="ooooxx")
    va = fa()
    vb = fb()
    vk = fk()
    ReplaceFramesSimple(va, vb, mappings="[33951 34081][34501 34783][35214 35349][35956 36318][39113 39152][40699 40771]")
    
    ReplaceFramesSimple(va, vk, mappings="[43678 46224]")
    
    return(last)
    
    
    function fa(clip C)
    {
    C
    TFM()
    ColorMatrix(mode="rec.601->rec.709")
    ColorYUV(cont_y=15, cont_u=80, cont_v=35,gamma_y=-35)
    McTemporalDenoise(settings="Medium")
    McTemporalDenoise(settings="High")
    Hysteria(strength=1.0, maxchg=30,lowthresh=4)
    nnedi3_rpow2(2, cshift="spline36resize", fwidth=1280, fheight=720)
    Sharpen(0.7)
    Hysteria(strength=1.0, maxchg=35,lowthresh=2)
    Dehalo_alpha(rx=3, ry=3, darkstr=0.4, brightstr=0.4)
    Blur(0.6)
    aWarpSharp(depth=6)
    return Last
    }
    
    function fb(clip C)
    {
    C
    QTGMC(FPSDivisor=2)
    ColorMatrix(mode="rec.601->rec.709")
    ColorYUV(cont_y=15, cont_u=80, cont_v=35,gamma_y=-35)
    McTemporalDenoise(settings="Medium")
    McTemporalDenoise(settings="High")
    Hysteria(strength=1.0, maxchg=30,lowthresh=4)
    nnedi3_rpow2(2, cshift="spline36resize", fwidth=1280, fheight=720)
    Sharpen(0.7)
    Hysteria(strength=1.0, maxchg=35,lowthresh=2)
    Dehalo_alpha(rx=3, ry=3, darkstr=0.4, brightstr=0.4)
    Blur(0.6)
    aWarpSharp(depth=6)
    return Last
    }
    
    function fb(clip C)
    {
    C
    QTGMC(FPSDivisor=2)
    ColorMatrix(mode="rec.601->rec.709")
    ColorYUV(cont_y=15, cont_u=80, cont_v=35,gamma_y=-35)
    McTemporalDenoise(settings="Medium")
    McTemporalDenoise(settings="High")
    Hysteria(strength=1.0, maxchg=30,lowthresh=4)
    nnedi3_rpow2(2, cshift="spline36resize", fwidth=1280, fheight=720)
    Sharpen(0.7)
    Hysteria(strength=1.0, maxchg=35,lowthresh=2)
    Dehalo_alpha(rx=3, ry=3, darkstr=0.4, brightstr=0.4)
    Blur(0.6)
    aWarpSharp(depth=6)
    return Last
    }
    
    function fk(clip C)
    {
    C
    QTGMC(FPSDivisor=2)
    ColorMatrix(mode="rec.601->rec.709")
    ColorYUV(cont_y=15, cont_u=80, cont_v=35,gamma_y=-35)
    nnedi3_rpow2(2, cshift="spline36resize", fwidth=1280, fheight=720)
    return Last
    }
    it doesnt apply the QTGMC at the targeted sections ... it just uses the first script (i use it it to fix interlacing)
    Quote Quote  
  2. ReplaceFramesSimple() doesn't modify the baseclip, it returns a clip. You need to do:
    va=ReplaceFramesSimple(va, vb, ....)
    Quote Quote  



Similar Threads

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