Quantcast Avisynth: Death of Stmedianfilter - digitalFAQ.com Forums [Archives]
  #1  
05-16-2003, 06:22 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
ok, now it´s over , i erased this one from my computer

why?

i made a comparison

sorce: 99min PAL movie ; target: 1 cd , 352x576

1st script:

Code:
#=====================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta) =- #
#=====================================================#

LoadPlugin("E:\Appz\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\Sampler.dll")

Mpeg2Source("E:\RIP\Snatch.d2v")
LegalClip()
GripCrop(352, 576)
GripSize(resizer="BicubicResize")
STMedianFilter(10, 30, 0, 0, 10, 30)
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.3))
GripBorders()
LegalClip()
predicted cq: 79,81


2nd script

Code:
#=====================================================#
# -= AviSynth script by MovieStacker v2.0.0 (beta) =- #
#=====================================================#

LoadPlugin("E:\Appz\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("E:\Appz\MovieStacker\Filters\Sampler.dll")

Mpeg2Source("E:\RIP\Snatch.d2v")
LegalClip()
GripCrop(352, 576)
GripSize(resizer="BicubicResize")
#STMedianFilter(10, 30, 0, 0, 10, 30)
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.3))
GripBorders()
LegalClip()
predicted cq: 71,8


although there script WITH STM has a cq value, that is 8 higher, the image was messed up. the whole picture is unsharp, in some parts the background just becomes a grey, blurry wall

my conclusion:

REST IN PEACE STMedianFilter
__________________
greetz Kane
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  
05-16-2003, 07:36 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 Kane
REST IN PEACE STMedianFilter


Hey Kane, could you post a couple of screenshots, with and without STMedian

-kwag
Reply With Quote
  #3  
05-16-2003, 07:37 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
i will try, i already deleted the samples with STM, but i´ll make some new
__________________
greetz Kane
Reply With Quote
  #4  
05-16-2003, 07:40 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
you can see the difference if you look at your movie fullscreen with WinDVD, i´ll try to make some shots

btw: where does WinDVD save the still image captures?
__________________
greetz Kane
Reply With Quote
  #5  
05-16-2003, 08:39 AM
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
boys,
i'm testing a new and surprising scripts...
faster,clean and with small size!

wait for me please, ending the tests from 2 days long.


Reply With Quote
  #6  
05-16-2003, 08:54 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
It might be simpler to encode a small clip, one with STM and another without, and then open each .m1v in Vdub and do a "copy source frame to clipboard".
The open that with Windows paint and save it as .PNG.
Then you can post the same frame of each

-kwag
Reply With Quote
  #7  
05-16-2003, 09:02 AM
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
It might be simpler to encode a small clip, one with STM and another without, and then open each .m1v in Vdub and do a "copy source frame to clipboard".
The open that with Windows paint and save it as .PNG.
Then you can post the same frame of each

-kwag
great idea Kwag!

i post it later!
Reply With Quote
  #8  
05-16-2003, 10:26 AM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag..where do you find the "copy source frame to clipboard" seems like a handy function. i'm running Vdub 1.5.1.

Ozjeff99
Reply With Quote
  #9  
05-16-2003, 10:37 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 ozjeff99
Kwag..where do you find the "copy source frame to clipboard"
On the "Video" tab

-kwag
Reply With Quote
  #10  
05-16-2003, 11:57 AM
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
i said the same thing somewhere in that thread a loooong time ago http://www.kvcd.net/forum/viewtopic....=asc&start=255 "filters like STM do give compression but at the expense of detail" so i just use FluxSmooth and keep SansGrip's happy
Reply With Quote
  #11  
05-16-2003, 01:26 PM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kane
my conclusion:

REST IN PEACE STMedianFilter
Nice emoticon Kane!

Just wondering, did you view the 2 samples (with and without STM) on your TV as well, or only via your monitor? Because maybe the lack of details caused by STM wouldn't be quite as noticeable on your TV as it is on your monitor (depending on your TV's size and the distance you regularly sit away from it while viewing as compared to the distance from your chair to your monitor). Just a thought. Of course, if you usually watch your kvcd's on your monitor, then it looks like poor STM isn't going to get a "stay-of-execution" from you.

Regards,
-d&c
Reply With Quote
  #12  
05-16-2003, 07:36 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
you're right d&c!

on tv you can't see any difference.

please,try this "strange" but fast and clear script.
first test with STF filter,
then remove STF , use Mergeluma/chroma
and do another sample.
use the same CQ and see the differences.
the image quality only change just a little bit!....(monitor 17 Lg)

Legalclip()
FieldDeinterlace()
sharpen(0.7)
BicubicResize(448,448,0,0.6,0,0,720,480)
STMedianFilter(10,30,0,0,10,30)
mergechroma(blur(1.5)
mergeluma(blur(0.2))
BlockBuster(method="noise",detail_min=3,detail_max =10,variance=1.0,seed=0)
AddBorders(16,16,16,16)
Legalclip()

samples:

with STF - without Mergeluma/chroma
Total Frames: 1501
Total Time : 00:00:50
Encoding... CQ : 60,000
Final Encoded Size: 8.014.986
Total Time (all operations): 00:03:46

without STF - with Mergeluma/chroma
Total Frames: 1501
Total Time : 00:00:50
Encoding... CQ : 60,000
Final Encoded Size: 7.942.155
Total Time (all operations): 00:04:23


i test this script with more than 30 samples
using dif chapters for 2 days.

with STF you got time
with Mergeluma/chroma you got size


then i'm encoding a complete movie in ToK with
and without the STF filter to see the differents final sizes.
the prediction will do a perfect job for me.

the image quality is the same in the samples.
in tv is imperceptible,i can' t see what is with or without STF filter.
the time needed to encode change, of course.
with only STF is really faster.


for me is fantastic.
please,test a sample.

ps:
blockbuster do a great job here.


edited;
i forgot to put the samples with time and sizes
Reply With Quote
  #13  
05-16-2003, 10:28 PM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
ozjeff99 wrote:
Kwag..where do you find the "copy source frame to clipboard"


On the "Video" tab

-kwag
Silly me it was greyed out but not after advancing clip . I learn something every day on this forum. Thanks
Ozjeff
Reply With Quote
  #14  
05-17-2003, 12:57 AM
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 ozjeff99
Quote:
ozjeff99 wrote:
Kwag..where do you find the "copy source frame to clipboard"


On the "Video" tab

-kwag
Silly me it was greyed out but not after advancing clip . I learn something every day on this forum. Thanks
Ozjeff
not only you friend ozjeff99,
i learn tons everyday!

no reason for "oops"
feel proud of this place and people!


ps:

kane kill STF filter!
Reply With Quote
  #15  
05-17-2003, 06:07 AM
ozjeff99 ozjeff99 is offline
Free Member
 
Join Date: May 2002
Location: Sydney, Australia
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks friend Jorel. We can always count on you for an uplift.
Cheers ozjeff99
Reply With Quote
  #16  
05-17-2003, 07:03 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
@ d&c

yes, i did.
on my tv it´s the same difference, picture is unsharp
__________________
greetz Kane
Reply With Quote
  #17  
05-17-2003, 07:54 AM
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
kane and all,

i see the samples in 5 differents tvs
and in a philips 29 just like you post,
i see little differences,the picture is unsharp

then i do the extreme...

Legalclip()
FieldDeinterlace()
sharpen(0.6)
BicubicResize(448,448,0,0.6,0,0,720,480)
BlockBuster(method="noise",detail_min=3,detail_max =10,variance=1.0,seed=0)
AddBorders(16,16,16,16)
Legalclip()

yes,without STF and Mergeluma/chroma.
see...
sharpen before resize turn the size small and faster!
this was idea from bman or boulder or rhino....
don't remember now....one of our "brain" friends!

with this script doing skvcd mpeg1
the image is too clear and i'm doing my final encode
the ToK prediction give me Final CQ: 56,213 !
believe me, is a big clean and really faster.


oh no kane,
you kill STF and i Mergeluma/chroma
Reply With Quote
  #18  
05-18-2003, 01:20 PM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
sounds crazy jorel, but i will try this

btw: what´s the next filter, we should kill?
__________________
greetz Kane
Reply With Quote
  #19  
05-18-2003, 01:54 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 Kane
sounds crazy jorel, but i will try this

btw: what´s the next filter, we should kill?
How about MPEG2DEC.dll ?
__________________
j3llyG0053
Reply With Quote
  #20  
05-18-2003, 03:12 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
MPEG2DEC.dll is there friend Jellygoose.
i don't post the addresses of the filters,only the filters
but still there....and in the first line!
LoadPlugin("C:\Filters\MPEG2DEC\MPEG2DEC.DLL")



Kane, please,try this script and post your opinion

...what´s the next filter, we should kill?
your choice my friend, give the direction and i "bang"!

Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: STMedianFilter slowdown? scrappy Avisynth Scripting 9 01-31-2006 01:41 PM
An Irish death glänzend Off-topic Lounge 0 09-04-2004 05:37 AM
Avisynth: STMedianFilter in the Latest Scripts For VHS and captures? dongxu Avisynth Scripting 3 02-26-2004 09:51 AM
Avisynth: STMedianFilter v 0.1.1 (YV12 bug fix) jorel Avisynth Scripting 0 06-22-2003 07:00 AM
Avisynth: StMedianFilter + TemporalSoften Dialhot Avisynth Scripting 2 06-19-2003 09:38 AM

Thread Tools



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