Quantcast KVCD: How do I Increase the Sharpness? - digitalFAQ.com Forums [Archives]
  #1  
08-02-2003, 05:08 PM
incognito incognito is offline
Free Member
 
Join Date: Jul 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
My KVCDs look a little foggy or hazy. Is there a way to increase the sharpness or make the picture look more crisp? Heres my avs:
Code:
## DLL Section ## 
# 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\MPEG2Dec3.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\GripFit_YV12.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\STMedianFilter.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\asharp.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\unfilter.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\undot.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\Sampler-2.5.dll")
# 
#### 

## Defined Variables and Constants ## 
# 
MaxTreshold = 1.50 
nf =  0 # Current frame. 
# 
#### 

## Main section and static filters ### 
# 
AviSource("G:\Ripps\Current\CD1.avi", False) 
# 
undot() 
Limiter() 
asharp(1, 4) 
GripCrop(352, 240, source_anamorphic=false)
GripSize(resizer="BicubicResize") 
STMedianFilter(8, 32, 0, 0 ) 
MergeChroma(blur(MaxTreshold)) 
MergeLuma(blur(0.1))
# 
# 

## Linear Motion Adaptive Filtering ## 
# 
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to 
# very static scenes, and apply variable blur on moving scenes. 
# We also assign a variable - and this is why a line break is inserted: 

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 
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) , 1, 1) ") 

# 
# 
# 

GripBorders() 
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker! 
Limiter() 

# 
# 
## Functions ### 

function fmin( int f1, int f2) { 
  return ( f1<f2 ) ? f1 : f2 
} 

# 
####
I also was trying another avs:
Code:
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\MPEG2Dec3.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\STMedianFilter.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\GripFit_YV12.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\loadpluginex2.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\DustV5.dll") 
LoadPlugin("C:\Program Files\MovieStacker\Filters\25\UnFilter.dll") 


AviSource("G:\Ripps\Current\CD1.avi", False) 

Limiter() 
UnFilter(50, 50) 
GripCrop(352, 240, source_anamorphic=false) 
GripSize(resizer="BicubicResize") 
STMedianFilter(8, 32, 0, 0) 
ConverttoYUY2() 
SpaceDust() 
#TemporalSoften(1, 2) 
MergeChroma(blur(1.5)) 
MergeLuma(blur(0.2)) 
GripBorders() 
#LetterBox(16, 16, 16, 16) 
Limiter()
__________________
I own a Philips DVD 701. NTSC.
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  
08-02-2003, 05:48 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Change this line:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2

To:

SwitchThreshold = (Width<=352) ? 8 : (Width<=480) ? 3 : 2

That will decrease the blurring only on 352x resolutions.

-kwag
Reply With Quote
  #3  
08-02-2003, 05:57 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Can't you use bigger resolution ? Like 352*480 or even 480*480 ?
The more it is, the sharper is the image.
Reply With Quote
  #4  
08-03-2003, 03:08 AM
incognito incognito is offline
Free Member
 
Join Date: Jul 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Can't you use bigger resolution ? Like 352*480 or even 480*480 ?
The more it is, the sharper is the image.
I believe that my player will play 352x480 and 480x480 but when I encode at that resolution I end up with "coneheads". I can't figure out why the picture is stretched.

@kwag Thanks.
__________________
I own a Philips DVD 701. NTSC.
Reply With Quote
  #5  
08-03-2003, 07:54 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For the streching phenomena, sometimes the setting has to be done manually on the TV set. Mine, for instance, detect automatically the aspect ratio for a DVD but always switch on 16:9 position for VCD, even if this one is 4:3.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
CQ vs bitrate - does that increase the compression? ak47 Video Encoding and Conversion 13 03-21-2003 09:24 AM
KVCD: Good Idea to increase compression? Gaudi Video Encoding and Conversion 12 02-04-2003 11:17 AM
KVCD: Sharpness of video? Paul0889 Video Encoding and Conversion 1 11-17-2002 02:27 PM
kvcd: do these templates really increase the quality of your movie ?? dbryant Video Encoding and Conversion 1 11-17-2002 02:24 PM
KVCD: Bitrate Increase? Indy Video Encoding and Conversion 1 10-27-2002 02:41 PM

Thread Tools



 
All times are GMT -5. The time now is 08:29 AM  —  vBulletin © Jelsoft Enterprises Ltd