Quantcast DVD2SVCD: Script for Interlaced Sources - digitalFAQ.com Forums [Archives]
  #1  
11-01-2003, 03:12 PM
azel azel is offline
Free Member
 
Join Date: Jul 2003
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
Here is a script for Interlaced sources:

Code:
[AVISYNTH_MA Interlaced]
0=nf=0
1=SeparateFields()
2=UnDot()
3=BicubicResize(^TargetWidth-(^Edge*2),^TargetHeight/2,0,0.6)
4=MergeChroma(Blur(1.5))
5=MergeLuma(Blur(0.1)) # use only if the video won't get too blurry!
6=STMedianFilter(4,32,0,0)
7=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
8=even=SelectEven().ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=SwitchThreshold?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(fmin(round(2/nf),6),round(1/nf),round(3/nf),0,2)")
9=odd=SelectOdd().ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>=SwitchThreshold?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(fmin(round(2/nf),6),round(1/nf),round(3/nf),0,2)")
10=Interleave(even,odd)
11=Weave()
12=AddBorders(^Edge,^BorderTop,^Edge,^BorderBottom)
13=Limiter()
14=function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }
^Edge=16
Remember to place decomb.dll in avisnth's plugin directory!
More Info
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-01-2003, 06:39 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
What is this strange 10-pixel width edge you add ?
A border must be mod16 to be block aligned. Else your CQ suffer a lot from the misalignment.
Reply With Quote
  #3  
11-02-2003, 11:05 AM
azel azel is offline
Free Member
 
Join Date: Jul 2003
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
OK, so if I change it to 16, it will be OK???
Reply With Quote
  #4  
11-02-2003, 11:29 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For instance, yes. You can also use parameters like I do in the optimal scripts. This way things wan be changed following the needs.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Guide to dealing with interlaced sources Boulder Avisynth Scripting 121 04-07-2008 09:36 AM
KVCD: Interlaced/29.970 sources? gretagun Video Encoding and Conversion 13 01-08-2005 02:29 PM
Avisynth: Interlaced sources guide? [See pg2] J-Wo Avisynth Scripting 50 04-20-2004 07:41 AM
Avisynth: MA script for interlaced sources? Boulder Avisynth Scripting 52 04-03-2004 02:47 PM
VirtualDub: Correcting Field Order and Swapping in interlaced sources ozjeff99 Video Encoding and Conversion 9 05-16-2003 02:21 AM

Thread Tools



 
All times are GMT -5. The time now is 04:07 AM  —  vBulletin Jelsoft Enterprises Ltd