Quantcast KVCDs are Really Blurry? - digitalFAQ.com Forums [Archives]
  #1  
06-03-2003, 10:12 AM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Kwag I have been trying out your new script (i am a newbie but it seems pretty straight foward ) i am using moviestacker to make them and tok or acp also.At the moment i am trying to make a lbr kvcd 1246-300 , 128 audio so it will play on a real basic dvd player. My problem is when i make these mpeg 1 kvcd's they are really blury (the mpeg 2 high bit rate ones are fine) What changes can i make to make them look better?
Unfortunately my souce is an avi , but it is quite good Quality.I am using spacedust ,should i use convolution 3d or will it make things worse?
I am not expecting miracles cause the source is an avi after all ,but my standard vcd's used to look alot less blury , although in every other way a lot worse .
Please excuse me if i have done things completely wrong, as i said i am new to this.
hope to here from you soon . CHEERS.
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  
06-03-2003, 04:05 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Hi ftin, post your script so that way somebody can give you a hand.
Reply With Quote
  #3  
06-03-2003, 07:20 PM
ftin ftin is offline
Free Member
 
Join Date: May 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Ok here you go:

LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\MPEG2Dec.dll ")
LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\STMedianFilt er.dll")
LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\GripFit_prev iew.dll")
LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\DustV5.dll")
LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\UnFilter.dll ")
LoadPlugin("C:\Program Files\A_ENCODING\MovieStacker\Filters\LegalClip.dl l")

AviSource("C:\Documents and Settings\sam\Desktop\Movie.avi")
LegalClip()
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
SpaceDust()
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.5))
MergeLuma(blur(0.2))
GripBorders()
AssumeFPS(25.000, true)
LegalClip()
Reply With Quote
  #4  
06-03-2003, 09:22 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,,im not going to even pretend i know what i'm doing but try removing the STMedianFilter(8, 32, 0, 0, 8, 32) and encode a small sample and see how it looks.I do a lot of avi's and use the same script without the STMedianFilter and spacedust and am very happy with the results(looks way better the using standard templates).

I'm sure someone with a lot more knowledge will lend a hand but just try it and see
Reply With Quote
  #5  
06-04-2003, 06:19 AM
telemike telemike is offline
Free Member
 
Join Date: Jan 2003
Location: Greensboro, NC
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to telemike
Code:
MergeChroma(blur(1.5)) 
MergeLuma(blur(0.2))
Try removing these. They BLUR the image.........
Reply With Quote
  #6  
06-04-2003, 06:36 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
@ftin:

I mostly encode from AVI sources, here are examples of the scripts I use.

AVISynth 2.0x:
Code:
LegalClip()

AddBorders(8,8,8,8) 
Blockbuster(method="dither",detail_min=1,detail_max=10,variance=0.3,seed=5832) 
MSoften(3,3,4,3,pre=1,post=1,speed=4,showmask=false) 
Crop(8,8,Width()-16,Height()-16) 
Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.5,seed=5823,cache=4096) 
FluxSmooth() 
Sharpen(0.3)
BicubicResize(432,432)

LegalClip()
AVISynth 2.5x:
Code:
Limiter()

Blockbuster(method="noise",detail_min=1,detail_max=8,variance=0.3,seed=5823) 
ATC(3,6,7,0.5,false)
BlindPP(cpu=2)
ScriptClip(  "ydp = YDifferenceFromPrevious()" + chr(13)
			\ + "ydn = YDifferenceToNext()" + chr(13)
			\ + "yb  = ydp / 14.55" + chr(13)
			\ + "ydp - ydn < 16 && yb > 0.2 ? MergeLuma(Blur(yb < 1.58 ? yb : 1.58)) : last")

BicubicResize(432,432)

Limiter()
The 2.0x script probably won't be updated any more as I've upgraded to AVISynth 2.5x. The 2.5x script is still under development, it still blurs the image a little too much for my tastes but try it yourself.
Reply With Quote
  #7  
06-04-2003, 10:46 AM
boeddha boeddha is offline
Free Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
@ Girv

Thanks for the 2.52 script for divx. I like the quality and it has more compression than the optimal script. If you keep tweaking your script for divx can you keep us updated from time to time

Thanks Boeddha
Reply With Quote
  #8  
06-04-2003, 11:01 AM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
@boeddha: try removing the BlindPP filter, see what you think of the difference.
Reply With Quote
  #9  
06-04-2003, 11:10 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I wouldn't recommend removing the MergeChroma(blur(1.5)) line...
It really helps a lot with compression, and the picture quality does not get blurred at all... it's barely visible to the eye...
__________________
j3llyG0053
Reply With Quote
  #10  
06-04-2003, 02:23 PM
boeddha boeddha is offline
Free Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Girv

I tried your script with and without blindpp. To be honest I can't see much difference (but my eyes are very tired now). I even think with looks a bit better. There is almost no speed difference (2 sec on a 2min sample) and with gives 200kb more compression. Wath do you think?
Reply With Quote
  #11  
06-04-2003, 03:20 PM
girv girv is offline
Free Member
 
Join Date: Sep 2002
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to girv
@boeddha: yeah thats what I figured To my eyes it makes the picture a little more soft, but I think thats down to the cleaning up and smoothing it does so on balance its a Good Thing. I just wondered if you would like / dislike / not notice the extra softening. Thanks for testing and answering my question

You can see effects like this better with AVI sources if you use a contrast enhancing filter. I usually just add one in VDub when I'm experimenting - +175% contrast and +5% brightness seems to work well. Try it with a "raw" AVI (no filters) to see the sort of noise I'm trying to remove.

Next experiment is with MarcFD's asharp. Look's interesting
Reply With Quote
  #12  
06-04-2003, 03:30 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by girv
Next experiment is with MarcFD's asharp. Look's interesting
that's the filter I'm experimenting right now too!
__________________
j3llyG0053
Reply With Quote
  #13  
06-04-2003, 03:46 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ girv and Jellygoose


just like i tell my friends,
using asharp without STM i got more quality and less size...faster

Reply With Quote
  #14  
06-04-2003, 03:53 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Quote:
Originally Posted by Jellygoose
Quote:
Originally Posted by girv
Next experiment is with MarcFD's asharp. Look's interesting
that's the filter I'm experimenting right now too!
Hi Jellygoose you may want to use a sharp with a low setting cause this filter is intensebly Sharp Ex:
asharp(2,1) = Unfiter(50 50) in file size
so a setting like asharp(2,0) will add file size to your encode.
although im still not sure whats the best setting for this one.
Reply With Quote
  #15  
06-04-2003, 04:09 PM
Bchteam Bchteam is offline
Free Member
 
Join Date: Jan 2003
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Ovg64

Jorel said, that for Asharp he`s using the Value (2,3) for very gently Sharpness and (2,4) for even more Sharpness
Reply With Quote
  #16  
06-04-2003, 04:21 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Thanx Bchteam, I said before that i dont know what are the best setting cause the filter does a bit more that sharpning.

asharp : adaptive sharpenning filter for Avisynth 2.5
(v0.95)


What it does:
basically, this filter is a very common unsharp mask, simply because unsharp
mask is the most pleasant sharpenning technique for my eyes ^^
but i've added 3 simple ideas i had about sharpening :
- adaptive thresholding to avoid noise enhancement
- block adaptive sharpenning to avoid DCT block edges enhancement
- block based adaptive thresholding to avoid DCT block edges enhancement
Reply With Quote
  #17  
06-04-2003, 04:29 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
ovg64

see from read-me:
What it does:
basically, this filter is a very common unsharp mask, simply because unsharp
mask is the most pleasant sharpenning technique for my eyes ^^
but i've added 3 simple ideas i had about sharpening :
- adaptive thresholding to avoid noise enhancement
- block adaptive sharpenning to avoid DCT block edges enhancement
- block based adaptive thresholding to avoid DCT block edges enhancement

it's optimised for quality, not speed. but... i love speed ^^
so i've added very optimised MMX/ISSE code.

it's working in YV12 colorspace, and on luma only
(chroma sharpenning seems to only introduce artifacts)

Usage of asharp :
First, add the following line in your .avs script :

LoadPlugin("asharp.dll") # because Avisynth 2.5 doesn't support Autoloading yet

To do simple unsharp masking with a strength of 2x :

asharp(2,0)

To try some adaptive sharpenning :

asharp(2,4)

Suggestion for divx anime decoding :

asharp(2.5,4.5,0.25,hqbf=true)

Reply With Quote
  #18  
06-04-2003, 04:37 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I'm currently testing this:

Code:
Unfilter(10,10)
asharp(1.25,4,1,hqbf=true)
instead of

Code:
Unfilter(50,50)
and the result is a lot less blurry... give it a try!
__________________
j3llyG0053
Reply With Quote
  #19  
06-04-2003, 04:45 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
I've been wondering why Unfilter (50,50) is put in there in the first place. If it's to sharpen the image then why not just use Lanczos resizer?
Reply With Quote
  #20  
06-04-2003, 04:50 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
Quote:
Originally Posted by Jellygoose
I'm currently testing this:

Code:
Unfilter(10,10)
asharp(1.25,4,1,hqbf=true)
instead of

Code:
Unfilter(50,50)
and the result is a lot less blurry... give it a try!
Very nice Jellygoose i like that setting by it self asharp(1.25,4,1,hqbf=true) it gives same file size that unfilter50 n it apears more sharper.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
A flashing scene with rough/blurry edge? WOWIEGURL Video Encoding and Conversion 3 05-21-2004 08:47 PM
KDVD: Blurry picture M2V? itsjapie Video Encoding and Conversion 11 12-30-2003 07:12 PM
Output file too blurry? Wolfi Video Encoding and Conversion 16 10-07-2003 12:03 PM
KVCD: Ahh! Blurry KVCDs! EvilFactor Video Encoding and Conversion 9 07-25-2003 04:25 PM
KVCD: too blurry or too much noise? Bombero0437 Video Encoding and Conversion 21 02-02-2003 05:54 PM

Thread Tools



 
All times are GMT -5. The time now is 04:09 PM  —  vBulletin © Jelsoft Enterprises Ltd