View Full Version : Using Smart Deinterlacer in VirtualDub and via Avisynth gives different results?
soujir0u
1st October 2002, 01:55
Hi, I used the Virtualdub filters import AVS script to load Smart Deinterlacer with Avisynth using the following parameters:
VD_SmartDeinterlace("both","all",false,true,true,true,10,100)
What I want is frame and field differencing, compare color channels instead of luma, don't show motion areas, blend, use cubic, motion map denoising, motion threshold 10, scene change threshold 100. Is my line above correct?
I opened 2 Virtualdub windows, the first one using the Avisynth script. The second one loading the AVS without the SmartDeinterlace line but using the Filter in Vdub directly with the settings I wanted. When I compared the output in both windows, they were different! The 2nd one was able to deinterlace some frames fully, whereas the first one had some combed frames left (I compared them frame by frame)!
Am I doing something wrong?
Guest
1st October 2002, 03:30
Did you use the latest imports file from my web site?
Did you convert to RGB since all VirtualDub filters require it?
If yes to both, post your exact script.
soujir0u
1st October 2002, 05:46
Yup, I downloaded the avs import file from your website.
Here's my AVS script:
First one:
--Start AVS--
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
import("vdub_filters.avs")
mpeg2source("E:\Extras 2\1.d2v")
Telecide(guide=1,post=false)
Decimate(cycle=5)
ConvertToRGB()
VD_SmartDeinterlace("both","all",false,true,true,true,10,100)
ConvertBackToYUY2()
--End AVS--
Second one:
--Start AVS--
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
import("vdub_filters.avs")
mpeg2source("E:\Extras 2\1.d2v")
Telecide(guide=1,post=false)
Decimate(cycle=5)
--End AVS--
For the second one, I use the Smart Deinterlacer filter within Vdub with the settings I posted in my first post.
Actually, I use Smart Deinterlacer instead of Telecide's Postprocessing (I used Telecide(guide=1) at first) because:
1. Telecide's postprocessing misses some combed frames
2. Telecide with postprocessing on makes the text in some scenes shimmer excessively
Guest
1st October 2002, 21:39
I see only small differences that I attribute to the color space conversions. If you are seeing major differences, please make a test clip available.
soujir0u
2nd October 2002, 01:43
Just to make sure it wasn't due to the color convertions, I changed the scripts:
First one:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
import("vdub_filters.avs")
mpeg2source("E:\Extras 2\1.d2v")
ConvertToRGB()
VD_SmartDeinterlace("both","all",false,true,true,true,10,100)
Second one:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
import("vdub_filters.avs")
mpeg2source("E:\Extras 2\1.d2v")
converttorgb()
Again, I used the Vdub Smart Deinterlacer filter directly with the second script. I uploaded the screenshots here:
http://otakusanc.homestead.com/files/Screens.zip
I also noticed that this happens with other clips too... Thanks for your time. :)
Btw, I just used Telecide with a lower dthreshold and the results seem reasonably well (still with slight combing, but it gets washed away when I encode with XviD anyway), and the shimmering text effect was gone with chroma=true, so it doesn't really matter anymore. :p
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.