VideoHelp Forum




+ Reply to Thread
Results 1 to 23 of 23
  1. Hi guys,
    hope this is the right section to post.
    I have an Avi file 29.970fps, if I load it into VirtualDub and check it frame by frame I see 3 "sharp" frames followed by 2 "blurred" frames.
    I believe this is what is called 3:2 pulldown.
    My goal is to get rid of it.
    It seems it can be done via Avisynth or via VirtualDub but I don't know how exactly.
    Can anyone help?
    Thanks.
    Quote Quote  
  2. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    You have to use inverse telecine, AKA "pull-up".
    Quote Quote  
  3. Originally Posted by Instant Martian View Post
    Hi guys,
    hope this is the right section to post.
    I have an Avi file 29.970fps, if I load it into VirtualDub and check it frame by frame I see 3 "sharp" frames followed by 2 "blurred" frames.
    I believe this is what is called 3:2 pulldown.
    My goal is to get rid of it.
    It seems it can be done via Avisynth or via VirtualDub but I don't know how exactly.
    Can anyone help?
    Post a sample, 10 seconds or so showing steady motion. Since it's an AVI, all kinds of things could already have been done to it to prevent a simple IVTC from fixing it. It could have been resized stupidly or deinterlaced. There's no point in giving advice unless we know what we're dealing with.
    Quote Quote  
  4. It was 3:2 pulldown. But it has been blend deinterlaced. Normal inverse telecine techniques won't work. But there is a filter for removing this type of blend deinterlacing;

    http://avisynth.org/mediawiki/FixBlendIVTC

    It works pretty well. FixBlendICTC().TDecimate():
    Image Attached Files
    Last edited by jagabo; 20th Jun 2012 at 09:06.
    Quote Quote  
  5. Thank you, if I can figure how to write the script I will give it a try.
    Since framerate is now 23.976 I think the audio has to be modified.
    I know BeSweet can do it, is it a good choice?
    Quote Quote  
  6. Audio doesn't need to be modified (it's the same duration because you have 4/5 the frames and 4/5 the framerate)
    Quote Quote  
  7. The audio does not have to be modified. Two blended frames have been converted to one non-blended frame. Every group of five frames has become a group of four. 29.97 frames at 29.97 fps has the same running time as 23.976 frames at 23.976 fps. Play your original sample and my sample side by side. You'll see they have the same running time.
    Quote Quote  
  8. You are right.
    Well, less work to be done!
    Now I have to understand how to set up the script.
    Quote Quote  
  9. I do something wrong.
    I wrote two scripts:
    FixBlendIVTC
    LoadPlugin("C:\...\Average.dll")
    LoadPlugin("C:\...\mt_masktools-25.dll")
    LoadPlugin("C:\...\RemoveGrainSSE2.dll")
    LoadPlugin("C:\...\Decomb.dll")
    AVISource("D:\filename.avi")
    AVIScript
    Import("FixBlendIVTC.avs")
    Telecide()
    Decimate()
    I end up with a 23.976fps avi but still there are "bad" frames.
    A little help?
    Quote Quote  
  10. see jagabo's post (but there was a typo in "ICTC")

    Code:
    AVISource()
    FixBlendIVTC()
    TDecimate()
    Quote Quote  
  11. And you don't use Telecide at all, only FixBlendIVTC() and Decimate() (or TDecimate).
    Quote Quote  
  12. Your script should look like:

    LoadPlugin("C:\...\Average.dll")
    LoadPlugin("C:\...\mt_masktools-25.dll")
    LoadPlugin("C:\...\RemoveGrainSSE2.dll")
    LoadPlugin("C:\...\Decomb.dll")
    Import("C:\...\FixBlendIVTC.avs")

    AVISource("D:\filename.avi")
    FixBlendIVTC()
    Decimate()
    Quote Quote  
  13. Ok, but what's inside FixBlendIVTC.avs?
    Quote Quote  
  14. Originally Posted by Instant Martian View Post
    Ok, but what's inside FixBlendIVTC.avs?

    Download it from the link (the top right hand corner)
    http://avisynth.org/mediawiki/FixBlendIVTC
    Quote Quote  
  15. I had already tried that but doesn't work, hence my question.
    When I try to open the aviscript VirtualDub gives me an error
    Avisynth open failure:
    Import: couldn't open "C:\...\FixBlendIVTC.avs
    (D:\...\aviscript.avs, line 5)
    Quote Quote  
  16. are you sure the directory path is correct?

    ie. you didn't actually use "..." , you used the actual directory path

    post your full script script
    Quote Quote  
  17. Yes, AviSynth is telling you it can't find the file or it can't open it for some reason.
    Quote Quote  
  18. No, I didn't use ... but there was an error indeed.
    Now it seems to work.
    Last thing to understand is how to re-encode the avi losing as little quality as possible.
    Quote Quote  
  19. Is the sample you uploaded representative of the actual source? Or did you just quickly re-encode it to make a small file for upload? If your source is Xvid, be sure to turn on Xvid's deblocking and deringing filters.
    Quote Quote  
  20. The sample is a small portion of the actual avi (Xvid).
    I just tried to re-encode the file (before seeing the last post) but the estimated time was about 5 hours!
    As for those filters, if they are in Video -> Compression -> Xvid MPEG-4 Codec -> Configure -> Other Options -> Decoder Tab, Postprocessing section, only Deblocking Y, Deblocking UV and Film Effect are selectable.
    Deringing Y and Deringing UV are disabled.
    Quote Quote  
  21. I made a test on a small portion of the file and it looks pretty good.
    I'll work on it as soon as the summer ends, now it's too hot and I don't want to stress my pc with a 5 hours encoding.
    Thanks to all who helped.
    Quote Quote  



Similar Threads

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