Quantcast Avisynth: Motion Adaptive Filtering Now Possible? - Page 18 - digitalFAQ.com Forums [Archives]
  #341  
06-04-2003, 05:55 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
I'm currently trying out the asharp's adaptive sharpening. If it works as advertized ( ), 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

-kwag
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
  #342  
06-04-2003, 06:31 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
Note: The first line of "asharp" in the script should read: asharp(2,0) and not asharp(1,0).


I fixed that.
Reply With Quote
  #343  
06-04-2003, 07:17 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
@Kwag
you wrote:
"@all,
Thanks for your patience"

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


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


@all
great work!
i'm thankfull
the Kwag team is the best.
Reply With Quote
  #344  
06-04-2003, 07:27 PM
Racer99 Racer99 is offline
Free Member
 
Join Date: Sep 2002
Location: Massachusetts
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #345  
06-04-2003, 07:28 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
Here's a small ( ~1MB ) sample with the new script
www.kvcd.net/red-planet-short-asharp-704x480.mpg

-kwag
Reply With Quote
  #346  
06-04-2003, 07:31 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
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
Reply With Quote
  #347  
06-04-2003, 08:11 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



Latest correction: I was passing bluring variables as INT instead of FLOAT
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
Reply With Quote
  #348  
06-04-2003, 10:23 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
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.
i did a big search to find what was the best.
2 weeks testing with tons of kvcds in the shops,
i post it in the portuguese forum.
the important now isn't the dvd player.
the best is the kvcd player


@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.
Reply With Quote
  #349  
06-04-2003, 10:45 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
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
Reply With Quote
  #350  
06-04-2003, 11:08 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
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
Reply With Quote
  #351  
06-04-2003, 11:15 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
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
Reply With Quote
  #352  
06-05-2003, 01:52 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
God I was testing the whole night, and now everything has changed again...
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...
__________________
j3llyG0053
Reply With Quote
  #353  
06-05-2003, 02:05 AM
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
Quote:
Originally Posted by Jellygoose
God I was testing the whole night, and now everything has changed again...
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
Reply With Quote
  #354  
06-05-2003, 02:12 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
currently testing...
__________________
j3llyG0053
Reply With Quote
  #355  
06-05-2003, 02:16 AM
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
Quote:
Originally Posted by Jellygoose
currently testing...
I just did a new clip of "Red Planet" with the new script, and it looks

-kwag
Reply With Quote
  #356  
06-05-2003, 02:26 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag
So what are you waiting for?! Show us a clip, man!

EDIT: Would be nice with info on CQ etc.
Reply With Quote
  #357  
06-05-2003, 02:28 AM
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
Quote:
Originally Posted by audioslave
@kwag
So what are you waiting for?! Show us a clip, man!

EDIT: Would be nice with info on CQ etc.
Will do Give me about 15 minutes...

-kwag
Reply With Quote
  #358  
06-05-2003, 02:29 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Reply With Quote
  #359  
06-05-2003, 02:46 AM
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
Ok, this one should top just about every other sample ever made at KVCD.Net
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

-kwag
Reply With Quote
  #360  
06-05-2003, 02:48 AM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag
I didn't have any luck with squeezing "A Knight's Tale" onto one CDR . 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?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Dynamic Linear Adaptive Filtering and Scene Change Detection supermule Avisynth Scripting 3 09-15-2006 01:45 AM
Avisynth: Message from linear motion adaptive filtering? holgerschlegel Avisynth Scripting 7 08-27-2003 04:08 AM
Avisynth: Help with Linear Motion Adaptive Filtering pitoman Avisynth Scripting 2 08-05-2003 12:51 PM
Avisynth: Motion adaptive filtering good enough? bicho_visacoso Avisynth Scripting 6 06-15-2003 06:30 AM
Avisynth: AVS 2.5x Script, Motion Adaptive Filtering problems? Bchteam Avisynth Scripting 15 05-31-2003 12:38 PM

Thread Tools



 
All times are GMT -5. The time now is 05:36 PM  —  vBulletin Jelsoft Enterprises Ltd