VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member Deter's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Search Comp PM
    Hi,

    Just wondering if u can fix up or improve the quality of flv files downloaded from the internet. Found some really cool and rare videos however the picture quality is very blocky. The sound is also not the best.

    These are rare videos that u really can't get or find anywhere.
    Quote Quote  
  2. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    There was some script i used(1-2 years ago) for improving low quality flv files, but ill have to find it (not in mine PC right now).
    I used it for some blocky videos with fast moving objects.. i houp ill find the script for you.
    Quote Quote  
  3. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    Hi again, i have found the script, its from december 2008, so... i guess i have good memory
    Its for interlaced flv video converted to avi(using virtualdub).. so if you have progresive one you should change some setings.

    Code:
    loadplugin("c:\x\dgdecode.dll")
    loadplugin("c:\x\mvtools.dll")
    loadplugin("c:\x\ttempsmooth.dll")
    loadplugin("c:\x\nnedi.dll")
    
    #load A&V
    v=avisource("get_video.avi")
    a=wavsource("get video.wav")
    audiodub(v,a)
    
    #correct video to true fps
    assumefps(30,true)
    resampleaudio(48000).getchannel(1,1)
    
    #deblock/dering
    s=DeBlock(quant=35).Blindpp(cpu2="ooooxx")
    
    # very strong temporal denoising (stabilisation)
    bv2 = s.MVAnalyse(isb = true, truemotion=true, delta = 2, idx = 10, blksize=16)
    bv1 = s.MVAnalyse(isb = true, truemotion=true, delta = 1, idx = 10, blksize=16)
    fv1 = s.MVAnalyse(isb = false, truemotion=true, delta = 1, idx = 10, blksize=16)
    fv2 = s.MVAnalyse(isb = false, truemotion=true, delta = 2, idx = 10, blksize=16)
    fc2 = s.MVFlow(fv2, idx=10, thSCD1=500)
    fc1 = s.MVFlow(fv1, idx=10, thSCD1=500)
    bc1 = s.MVFlow(bv1, idx=10, thSCD1=500)
    bc2 = s.MVFlow(bv2, idx=10, thSCD1=500)
    interleave(fc2, fc1, s, bc1, bc2) 
    ttempsmooth(maxr=2, lthresh=40, cthresh=50)
    selectevery(5,2)
    
    #decimate out duped frames
    selectevery(6,1,2,3,4,5)
    
    #upscale to double size 
    source=nnedi(dh=true,field=0).turnleft().nnedi(dh=true,field=0).turnright().sharpen(0.5)
    
    #interpolate to 50fps for fluent motion
    backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1,blksize=8)
    forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1,blksize=8)
    cropped = source.crop(4,4,-4,-4) # by half of block size 8
    backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2,blksize=8)
    forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2,blksize=8)
    source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=50,idx=1,idx2=2) 
    bicubicresize(720,576) #resize to PAL
    converttoyuy2()
    assumebff() #for PAL-DV
    separatefields().selectevery(4,0,3).weave() #reinterlace
    I hope it will do what you want.
    Quote Quote  
  4. Member Deter's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Search Comp PM
    How do you use this data? What will it do?

    Since I started this post, came up with this crazy theory.....It has kind of worked....It is 2 crazy to write
    Last edited by Deter; 9th Jul 2010 at 20:51.
    Quote Quote  
  5. Member pirej's Avatar
    Join Date
    Mar 2008
    Location
    Macedonia
    Search Comp PM
    Originally Posted by Deter View Post
    How do you use this data? What will it do?

    Since I started this post, came up with this crazy theory.....It has kind of worked....It is 2 crazy to write
    It will make youre low quality FLV in to high quality HD blu-ray.

    I'm joking ok?
    So, you open this script vith Avsp, put the correct path to youre plugins, video and sound.. do little tweaking/changing to the script according to youre video source, and encode it.
    This is an old script, so maybe some changes are needed for the updated plugins.
    I'm going to sleep now, i cant explain or help you more right now.
    By.
    Quote Quote  



Similar Threads

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