VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Hello!
    I need help to remove artifacts from video like in a picture:
    Image
    [Attachment 52881 - Click to enlarge]


    As I understand that is telecine-artifact.
    I tried HandBrake with several option: detelecine and/or deinterlace but received very bad results some like this:
    Image
    [Attachment 52882 - Click to enlarge]

    or this:
    Image
    [Attachment 52883 - Click to enlarge]


    I attached small piece of video.
    Maybe I should use some other software?
    Can anybody helps with HandBrake settings or other software to eliminate these artefacts?
    Image Attached Files
    Quote Quote  
  2. at first look:
    Code:
    # Imports
    import os
    import sys
    import vapoursynth as vs
    core = vs.get_core()
    # Import scripts folder
    scriptPath = 'I:/Hybrid/64bit/vsscripts'
    sys.path.append(os.path.abspath(scriptPath))
    # Loading Plugins
    core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
    core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
    # Import scripts
    import havsfunc
    import mvsfunc
    # Loading C:\Users\Selur\Desktop\1ACV01 «Space Pilot 3000» [NTSC]_edit.mkv using LWLibavSource
    clip = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/1ACV01~1.MKV", format="YUV420P8", cache=0, prefer_hw=0)
    # making sure input color matrix is set as 470bg
    clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
    # making sure frame rate is set to 29.97
    clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001)
    # Setting color range to TV (limited) range.
    clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
    clip = core.vivtc.VFM(clip=clip, order=0, mode=4)
    clip = core.vivtc.VDecimate(clip=clip)
    clip = core.vivtc.VFM(clip=clip, order=0, blockx=16, blocky=16)
    # Anti Aliasing using DAA
    clip = havsfunc.daa(c=clip, nns=1, qual=2)
    # Output
    clip.set_output()
    some normal IVTC and some anti-aliasing doesn't look that bad in regards of the lines, but there is still the chroma ghosting,...
    (btw. there should be quite a few (old) threads about Futurama and Simpsons filtering with Avisynth&Co here and over at doom9s)
    Last edited by Selur; 26th Apr 2020 at 06:21.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  3. Unfortunately, the chroma in the sample is already messed up. The following AviSynth script was able to work around it, at least for this short clip:

    Code:
    Mpeg2Source("1ACV01.d2v", CPU2="ooooxx", Info=3) 
    Crop(8,0,-8,-0)
    Interleave(TFM(field=0, pp=0), TFM(field=1, pp=0)) # smart bob
    vinverse() # blur remaining comb artifacts
    SRestore(omode=4) # replace blended frames with clear frame
    TDecimate(Cycle=10, CycleR=6) # reduce frame rate fro 59.94 to 23.976
    But cartoons like that are "shot" on film and edited as video. They end up as a mix of hard and soft telecine, with a mix of frame rates. For example, the titles in that sample are overlaid as 30i. So you can't have both smooth titles (fade in/out) and smooth character animation.

    In short, the video is completely messed up and will be very hard to impossible to convert perfectly.
    Image Attached Files
    Quote Quote  
  4. That means I need good source to convert? e.g. I have to find original DVD-images and make DVD-rip with constant frame rate?

    "So you can't have both smooth titles and smooth character animation " - I need video without artifact, let it be without "smooth". Is it possible just to delete broken frames and replace them by copy of previous (or next) frame?
    Quote Quote  
  5. Member
    Join Date
    Aug 2017
    Location
    United States
    Search PM
    Another Futurama / Family Guy thread. These DVD's are a notch above garbage level. You'll never get acceptable results using Handbrake as it just isn't capable of fixing the problems inherent in the discs. That's why every recommendation so far has been using Vapoursynth and AVISynth. Change your fundamental approach or give up.
    Quote Quote  
  6. Originally Posted by Fess View Post
    That means I need good source to convert? e.g. I have to find original DVD-images and make DVD-rip with constant frame rate?
    No, the original DVDs are messed up.

    Originally Posted by Fess View Post
    "So you can't have both smooth titles and smooth character animation " - I need video without artifact, let it be without "smooth". Is it possible just to delete broken frames and replace them by copy of previous (or next) frame?
    That's what my AviSynth script did. But the titles don't fade in smoothly. Of course, that's not a huge problem. But there may be other parts of the video where it is much more visible. For example, if there are any titles that scroll or pan across the frame. Their motion will be not be smooth at 24p.
    Quote Quote  
  7. jagabo
    You wrote "That's what my AviSynth script did.", but your script made a very big corruption of frame:

    Your frame:
    Click image for larger version

Name:	You Frame.JPG
Views:	225
Size:	48.9 KB
ID:	52899

    Good frame (should be the same after script):
    Click image for larger version

Name:	GoodFrame.JPG
Views:	272
Size:	61.3 KB
ID:	52900
    Quote Quote  
  8. Oops, I uploaded the wrong video. Here's the right one.
    Image Attached Files
    Quote Quote  
  9. Yes, it's much better) But it still has a problem:
    Click image for larger version

Name:	Problem.JPG
Views:	282
Size:	40.2 KB
ID:	52907
    Instead of this should be this frame:
    Click image for larger version

Name:	ProblemSolve.JPG
Views:	218
Size:	49.4 KB
ID:	52908
    Quote Quote  
  10. Yes, I know frames like that get messed up. You can fix most of that by turning TFM's post processor back on and adjusting the cthres value but then it may deinterlace the shots where the titles fade in/out. So then you have to treat different parts of the video differently. That's the problem with all those Cartoon Network shows -- fixing them is a huge hassle. I was just showing you an example of how you can remove the chroma blending artifacts referenced in your first post. And it may not work with all of the them.
    Last edited by jagabo; 26th Apr 2020 at 10:47.
    Quote Quote  
  11. Yup, Simpsons, Futurama, TNG and Babyon 5 are some of the most nerve wracking content out there that isn't garbage, but a real hassle to deal with properly.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  



Similar Threads

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