View Full Version : Trying To Deinterlace Hybrid Source With Doom9's Guide
cockpit
15th July 2006, 21:04
I'm trying to follow this guide: http://www.doom9.org/decomb.htm
it says:
3) a hybrid source (that is a source containing both progressive and interlaced parts)
LoadPlugin("C:\PROGRA~1\GORDIA~1\dgmpgdec.dll")
LoadPlugin("d:\decomb.dll")
mpeg2source("D:\lain.d2v")
Telecide()
Decimate(order=0,mode=1,threshold=50)
BicubicResize(512,384,0,0.5)
In this case Telecide will only be used to determine what to do with frames that would normally be dropped, and the output will still be 29.97fps.
but when I open the script it says that decimate does not have a named argument "order"
what is the correct procedure?
foxyshadis
15th July 2006, 22:54
It's a typo, the order argument belongs in Telecide.
Check http://www.avisynth.org/mediawiki/wiki/VFR for more up-to-date ways of handling hybrid material.
cockpit
16th July 2006, 02:47
looking back at the source it seems the whole thing is interlaced. or at least following that 3p-2i frame pattern wich I assume is called 3:2 pulldown. so it seems this is the best method for me:
Telecide(order=0,post=false,guide=1)
Decimate(cycle=5)
but now I get the same error for telecide. no named argument "order"
this is my full script:
Import("C:\Program Files\AviSynth 2.5\plugins\Hybridfupp.avsi")
Import("C:\Program Files\AviSynth 2.5\plugins\Ylevels.avsi")
LoadPlugin("D:\progs\dgindex\dgdecode.dll")
LoadPlugin("D:\progs\decomb\Decomb.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Deen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\UnFilter.dll")
mpeg2source("D:\deadwood\making\making.d2v")
Telecide(order=0,post=0,guide=1)
Decimate(cycle=5)
Crop(8,0,-8,0)
YlevelsS(0,1.2,255,0,255)
Tweak(sat=1.2)
HybridFuPP(624,352)
any help is appreciated...
edit:
is AssumeTFF() what I should use instead of order?
edit2:
ok, I think I got it now. looks pretty good in the preview window
Guest
16th July 2006, 02:50
If you have Decomb 5.2.2, there no longer is an order parameter. It now takes the field order from Avisynth. Try this:
AssumeBFF() # same as order=0
Telecide(guide=1)
Decimate(cycle=5)
Make sure you get the field order correct (use the procedure described in the Decomb tutorial); use AssumeTFF() for TFF, and AssumeBFF() for BFF.
chipzoller
16th July 2006, 04:31
If you have a hybrid source (and I must bow to the knowledge of neuron2 and Tom Barry) and wish to keep the frame rate but simply deinterlace and not decimate any frames, why not use tomsmocomp plugin? I recently encoded several documentary films that had both pure interlaced and pulled down material and used this plugin, which worked extremely well.
EDIT: I realize after reading again you found your source to be 3:2 pulldown material, but my initial suggestion still stands in the case you had hybrid material. For the pulleddown material, another alternative is TFM() and Tdecimate() (both part of the TIVTC plugin package).
Also, did you realize the LoadPlugin command is only necessary if your plugins don't reside in the /plugins directory? All plugins in that dir. are automatically parsed and loaded by default.
And I'm pretty sure it's not necessary to use the Import command on a script named .avsi as those should automatically load by default , too (if the script were a .avs then it would be necessary to use the Import command).
cockpit
18th July 2006, 22:59
thanks guys, it came out practically perfect.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.