digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Motion adaptive filtering now possible? (http://www.digitalfaq.com/archives/avisynth/3594-avisynth-motion-adaptive.html)

kwag 06-04-2003 05:55 PM

I'm currently trying out the asharp's adaptive sharpening. If it works as advertized ( 8) ), then I'll turn it on. From the readme file of asharp, here's what it does:

- 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


So this combination, together with the adaptive filtering (bluring) on action and scene changes, should be a killer :D

-kwag

kwag 06-04-2003 06:31 PM

Note: The first line of "asharp" in the script should read: asharp(2,0) and not asharp(1,0).


I fixed that. :imstupid:

jorel 06-04-2003 07:17 PM

@Kwag
you wrote:
"@all,
Thanks for your patience"

are you kidding?
we all are thankfull for your great work. :D
without your friendship and developing,
this forum couldn't never be so great.
thanks for the script update too.
:wink:

@audioslave
i ever use bicubic precise in all my tests and in the last encodes.
:)

@all
great work!
i'm thankfull :D
the Kwag team is the best.
:!:

Racer99 06-04-2003 07:27 PM

MY Test
 
I just did a couple of tests using asharp.

Test Basics: (Current Script)

kvcdX3 - MPEG1 CQ=80 Sample Length=1656 Frames (69 seconds)
MinBitrate=300, Max Bitrate=2500, VBV=40, GOP 1-5823-2-1-24

Filesize with asharp(2,0) = 8,653,029
Filesize with asharp(2,2) = 7,236,833 (16.37% smaller)

kvcdX3 - MPEG2 CQ=80 Sample Length=1656 Frames (69 seconds)
MinBitrate=600, Max Bitrate=6000, VBV=224, GOP 1-5823-2-1-18

Filesize with asharp(2,0) = 19,076,155
Filesize with asharp(2,2) = 15,308,597 (19.75% smaller)

I don't see much difference in quality (but I don't have the best eyes. :) )
I think that adaptive shapening is the way to go with asharp.

Racer99

kwag 06-04-2003 07:28 PM

Here's a small ( ~1MB ) sample with the new script :D
www.kvcd.net/red-planet-short-asharp-704x480.mpg

-kwag

kwag 06-04-2003 07:31 PM

Re: MY Test
 
Quote:

Originally Posted by Racer99
I don't see much difference in quality (but I don't have the best eyes. :) )
I think that adaptive shapening is the way to go with asharp.

Racer99

I did turn on adaptive shapening as asharp(2,4). The script was just updated with that. Also the small sample I just posted, was done that way :)

-kwag

kwag 06-04-2003 08:11 PM

:imstupid: :imstupid::imstupid::imstupid:


Latest correction: I was passing bluring variables as INT instead of FLOAT :imstupid:
The scaling on blurring was incorrect, as it was in harder steps ( -1, -2, -3, etc. ).
Fixed. It's now floating point values ( -1.12, -2.142, etc. )


-kwag

jorel 06-04-2003 10:23 PM

hey Kwag,

i don't test the "very new" yet, i see it only now.
the last script before your corrections
give some staircases like in lanczos, did you see some like this?
i see it in detail in 352x240.
with more "resize" this thin lines with staircases are hard to see.

can i encode a movie using 720x480 in one cdr80 or
cdr90 with audio in 160k and got good result :?:
i'm asking cos never did with more than 480x480.
i did only samples in pc and the results are incredibles.
i never see this resolution in the tv.

ps:
i got a new player phillips and he play all kvcds. 8)
i did a big search to find what was the best.
2 weeks testing with tons of kvcds in the shops, 8O
i post it in the portuguese forum.
the important now isn't the dvd player.
the best is the kvcd player :!:
:wink:

@racer,
i'm with you!
asharp(2,2) ... (2,4) give more sharp and less size!
i think that (2,2) is a "gently" sharpness.
:wink:

kwag 06-04-2003 10:45 PM

Quote:

Originally Posted by jorel

can i encode a movie using 720x480 in one cdr80 or
cdr90 with audio in 160k and got good result :?:

Try it :)
The "Red Planet" samples I posted were all 704x480 with a CQ for one 80 minute CD :!:
Audio at 112Kbps.

-kwag

jorel 06-04-2003 11:08 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by jorel

can i encode a movie using 720x480 in one cdr80 or
cdr90 with audio in 160k and got good result :?:

Try it :)
The "Red Planet" samples I posted were all 704x480 with a CQ for one 80 minute CD :!:
Audio at 112Kbps.

-kwag

sample very clear Kwag.

what CQ did you find in the sample :?:

kwag 06-04-2003 11:15 PM

Quote:

Originally Posted by jorel
sample very clear Kwag.

what CQ did you find in the sample :?:

All were around CQ ~62 to ~63. I think I posted the CQ besides some of the samples

-kwag

Jellygoose 06-05-2003 01:52 AM

God I was testing the whole night, and now everything has changed again... :cry: 8)
well as for noise reduction and sharpness, I found that this line would best replace Unfilter(50,50) :

Code:

Unfilter(10,10)
asharp(1.25,4,1,hqbf=true)

you might still wanna test it...

kwag 06-05-2003 02:05 AM

Quote:

Originally Posted by Jellygoose
God I was testing the whole night, and now everything has changed again... :cry: 8)
well as for noise reduction and sharpness, I found that this line would best replace Unfilter(50,50) :

Code:

Unfilter(10,10)
asharp(1.25,4,1,hqbf=true)

you might still wanna test it...

Hi Jellygoose,

Did you see the latest one: asharp(2, 4, 0.25, hqbf=true)
Have you tested that one :?:
It seems that asharp is way faster than unfilter :!:

-kwag

Jellygoose 06-05-2003 02:12 AM

currently testing... :wink:

kwag 06-05-2003 02:16 AM

Quote:

Originally Posted by Jellygoose
currently testing... :wink:

I just did a new clip of "Red Planet" with the new script, and it looks :jawdrop: :D

-kwag

audioslave 06-05-2003 02:26 AM

@kwag
So what are you waiting for?! Show us a clip, man! :D

EDIT: Would be nice with info on CQ etc.

kwag 06-05-2003 02:28 AM

Quote:

Originally Posted by audioslave
@kwag
So what are you waiting for?! Show us a clip, man! :D

EDIT: Would be nice with info on CQ etc.

Will do :!: Give me about 15 minutes... :D

-kwag

audioslave 06-05-2003 02:29 AM

:lol: :lol: :lol:

kwag 06-05-2003 02:46 AM

Ok, this one should top just about every other sample ever made at KVCD.Net :mrgreen:
www.kvcd.net/red-planet-extreme-704x480.mpg
Specs:
31 second sample, 3,838KB. Res. 704x480, CQ=63.42, MIN bitrate 300Kbps, MAX bitrate 2,500Kbps
KVCD "Notch" Q. Matrix. GOP 1-12-2-1-24, Current script as posted Ver. June 5, 2003 @05:45GMT :mrgreen:

-kwag

audioslave 06-05-2003 02:48 AM

@kwag
I didn't have any luck with squeezing "A Knight's Tale" onto one CDR :cry: . When I made the prediction I got a CQ value 25-30(!) for one CDR, and I guess that won't be very exciting to look at... If a movie contains a lot of fast action scenes will it be easier to fit on a single disc?


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.