krieger2005
12th March 2004, 12:21
Hi,
i assume you know The VirtualDub-Filter SpotRemover: here (http://konstant.freeshell.org/)
I tried now to add this filter to a script. The Filter Produce at the start a green screen (initialisation). I wanted to trim this green init-screen (about 5 frames) away but the only thing is, that i trimmed a part of a Movie away. The gree Screen is still there... Whats wrong?
Here is the Script:
global VDub = "D:\VDubMod\plugins"
LoadVirtualdubPlugin(VDub+"\SpotRemover.vdf", "_spotremove")
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
T1=mpeg2source("D:\FILM\film.d2v", cpu=2, iPP=true, moderate_h=35, moderate_v=35)
T2=T1.SeparateFields()
odd=T2.SelectOdd()
odd=odd.crop(16,4,-16,-4, align=true)
odd=odd.ConvertToRGB32()
odd=odd._spotRemove("SSI:9 SSC:0 SKW:11 SLI:2 SLC:2 SLD:0
\ DLS:16 DLC:12 DPC:16 DSF:0 DSD:0 MTX:12
\ MTY:9 MTL:30 MDX:8 MDY:8 MIH:0 CBR:0 CCO:0
\ CSA:0 CBA:0 CSR:0 CSB:0 FCI:0 FCD:0 ","")
return odd.trim(10,0)
i assume you know The VirtualDub-Filter SpotRemover: here (http://konstant.freeshell.org/)
I tried now to add this filter to a script. The Filter Produce at the start a green screen (initialisation). I wanted to trim this green init-screen (about 5 frames) away but the only thing is, that i trimmed a part of a Movie away. The gree Screen is still there... Whats wrong?
Here is the Script:
global VDub = "D:\VDubMod\plugins"
LoadVirtualdubPlugin(VDub+"\SpotRemover.vdf", "_spotremove")
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
T1=mpeg2source("D:\FILM\film.d2v", cpu=2, iPP=true, moderate_h=35, moderate_v=35)
T2=T1.SeparateFields()
odd=T2.SelectOdd()
odd=odd.crop(16,4,-16,-4, align=true)
odd=odd.ConvertToRGB32()
odd=odd._spotRemove("SSI:9 SSC:0 SKW:11 SLI:2 SLC:2 SLD:0
\ DLS:16 DLC:12 DPC:16 DSF:0 DSD:0 MTX:12
\ MTY:9 MTL:30 MDX:8 MDY:8 MIH:0 CBR:0 CCO:0
\ CSA:0 CBA:0 CSR:0 CSB:0 FCI:0 FCD:0 ","")
return odd.trim(10,0)