Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
8th October 2004, 05:03 | #1 | Link |
Senior Member
Join Date: Apr 2004
Posts: 1,054
|
Conditional Filter For Setting BlindPP's ipp Flag For Hybrid Clips
This script was inspired by this post.
http://forum.doom9.org/showthread.php?s=&threadid=81253 This script sets the ipp flag on a per frame basis. Sometimes you have a hybrid video that can't be properly IVTC and want to leave it hybrid. You want to use BlindPP, but can't set the ipp flag accurately because you have both progressive and interlace material. This script solves that problem. Add your own BlindPP parameters, but just don't change the ipp value. You might want to play with the IsCombed threshold to match your clip. Refer the Decomb readme for more info about the threshold. I have not tested the script on a wide range of sources, but it performed well on my test clips. Code:
source = AviSource("C:\video.avi") If_Interlaced = source.BlindPP(ipp=true) If_Progressive = source.BlindPP(ipp=false) test1 = ConditionalFilter(source, If_Interlaced, source, "IsCombed(source, threshold=20)", "=", "true", show=false) test2 = ConditionalFilter(test1, If_Progressive, test1, "IsCombed(source, threshold=20)", "=", "false", show=false) return test2 Last edited by Video Dude; 8th October 2004 at 05:09. |
8th October 2004, 05:32 | #2 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
coolness.
i'm always up for a script that can help on hybrids. right now i've just been leaving the PP settings at interlaced and applying them before IVTC, but that of course smears a bit of the chroma. there's always the chance of smarter IVTC filters though. Tdeint works as field-matcher now, which can be followed nicely by decimate or fdecimate. also there's an undocumented one called "bruteIVTC" by MarkFD that seems to be gaining popularity (it does a brute-force search for good fields). i'm sticking with Tdeint because it's got enough flexibility that i can simply IVTC to double-frame rate and choose where to go from there - with libavcodec (QuEnc, et al) becoming so advanced, it's possible for me to make my PAL SVCDs as field-blends without sacrificing much quality at all... after all, i make them to watch, not to rip
__________________
sucking the life out of your videos since 2004 |
8th October 2004, 15:41 | #3 | Link |
Registered User
Join Date: Jul 2002
Location: Canada
Posts: 196
|
@ Mug Funky: Is the script that Chainmax posted (spawn Xvid clip) in Another motion adaptive deinterlacer and smart bobber similar to how you would IVTC using TDeint and decimate on a hybrid source?
Last edited by Piper; 8th October 2004 at 16:54. |
Thread Tools | Search this Thread |
Display Modes | |
|
|