VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Jan 2017
    Location
    Italia
    Search Comp PM
    Originally Posted by ciccioschumacher View Post
    I'm trying some filtering with vapoursynth, I'll get back to you if I achieve something
    Quote Quote  
  2. Thank you very much!
    Quote Quote  
  3. Member
    Join Date
    Jan 2017
    Location
    Italia
    Search Comp PM
    Originally Posted by ThePi7on View Post
    Originally Posted by ciccioschumacher View Post
    I'm trying some filtering with vapoursynth, I'll get back to you if I achieve something
    Ok so, I tried using Oyster but the result wasn't great because the source seems to be interlaced.
    So I also tried QTGMC , but the source is too blurry, and too compressed to obtain any type of improvement.
    So I couldn't do much.

    I'm still a beginner in this field tho, so I'll live my script here in case it can be useful.
    Code:
    import vapoursynth as vs
    import Oyster as oy
    import havsfunc as haf
    core = vs.get_core()
    
    video=core.ffms2.Source(r"C:\Users\Marco\Desktop\jason\Jenson.mkv")
    
    #deinterlace
    #video=haf.QTGMC(video, Preset='Medium', TFF=True)
    
    ##convert Y to 32bit
    video=core.fmtc.bitdepth(clip=video, bits=32, fulls=False, fulld=True)
    src=video
    
    ##conversion to use oyster, pass Y as a gray clip and merge the result with UV from the source clip, low-res chroma will jeopardize the correctness of weight calculation
    video_Y=core.std.ShufflePlanes(video, planes=0, colorfamily=vs.GRAY) #plane 0/1/2 == Y/U/V
    
    
    ##filter with oyster##################################################
    
    
    #####deblock
    #sup = oy.Super(video_Y)
    #ref_f = oy.Basic(video_Y, sup, short_time=False)
    #ref_s = oy.Basic(video_Y, sup, short_time=True)
    
    #video_Y=oy.Deblocking(video_Y, ref_f, block_step=2)
    
    
    ###no deblock
    video_Y=oy.Basic(video_Y, short_time=True)
    
    ##merge yuv channels back
    video=core.std.ShufflePlanes(clips=[video_Y, video], planes=[0, 1, 2], colorfamily=vs.YUV)
    
    
    
    #########################################################
    
    #video.set_output()
    
    out=core.std.StackHorizontal([video, src])
    out.set_output()
    Quote Quote  
  4. Thanks so much! Since I've never used VapourSynth, could you please attach the file to me?
    Quote Quote  
  5. Contact Ayrton01CZ and ask him send you the video before youtube destroyed it. Even better, ask for his source videos.
    Quote Quote  
  6. Unfortunately, the latest video is of 2 years ago as a result of the FOM copyright law!
    Quote Quote  
  7. Sorry, but it's not that I do not want to use the script, I installed Python and VapourSynth, not understanding anything I came across in the software and at the end the system has restarted abnormally twice with the classic blue screen. If you would kindly send me the file, even if it is not the best improvement, I would be grateful!
    Quote Quote  



Similar Threads

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