digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Death of STMedianFilter (http://www.digitalfaq.com/archives/avisynth/3633-avisynth-death-stmedianfilter.html)

Kane 05-16-2003 06:22 AM

Death of STMedianFilter
 
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 http://www.digitalfaq.com/archives/error.gif

kwag 05-16-2003 07:36 AM

Re: Death of STMedianFilter
 
Quote:

Originally Posted by Kane

:mrgreen:

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

-kwag

Kane 05-16-2003 07:37 AM

i will try, i already deleted the samples with STM, but iīll make some new

Kane 05-16-2003 07:40 AM

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? :cry:

jorel 05-16-2003 08:39 AM

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.

:!:
:)

kwag 05-16-2003 08:54 AM

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

jorel 05-16-2003 09:02 AM

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!
:!:

ozjeff99 05-16-2003 10:26 AM

Kwag..where do you find the "copy source frame to clipboard" seems like a handy function. i'm running Vdub 1.5.1.

Ozjeff99

kwag 05-16-2003 10:37 AM

Quote:

Originally Posted by ozjeff99
Kwag..where do you find the "copy source frame to clipboard"

On the "Video" tab :)

-kwag

ovg64 05-16-2003 11:57 AM

:lol: 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" :roll: so i just use FluxSmooth and keep SansGrip's happy :wink:

dazedconfused 05-16-2003 01:26 PM

Re: Death of STMedianFilter
 
Quote:

Originally Posted by Kane
my conclusion:

REST IN PEACE STMedianFilter http://www.digitalfaq.com/archives/error.gif

:lol: 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. :lol:

Regards,
-d&c

jorel 05-16-2003 07:36 PM

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.58))
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 8O
using dif chapters for 2 days.

with STF you got time :!:
with Mergeluma/chroma you got size :!:
8O

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.
8)

for me is fantastic. :wink:
please,test a sample.

ps:
blockbuster do a great job here.
:wink:

edited;
i forgot to put the samples with time and sizes
:!:

ozjeff99 05-16-2003 10:28 PM

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 :oops: . I learn something every day on this forum. Thanks
Ozjeff

jorel 05-17-2003 12:57 AM

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 :oops: . 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!
:wink:

ps:
8O
kane kill STF filter!
:lol:

ozjeff99 05-17-2003 06:07 AM

Thanks friend Jorel. We can always count on you for an uplift.
Cheers ozjeff99

Kane 05-17-2003 07:03 AM

@ d&c

yes, i did.
on my tv itīs the same difference, picture is unsharp

jorel 05-17-2003 07:54 AM

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. 8O
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.

8O
oh no kane,
you kill STF and i Mergeluma/chroma :!:
:lol:

Kane 05-18-2003 01:20 PM

sounds crazy jorel, but i will try this

btw: whatīs the next filter, we should kill? :lol: :wink:

Jellygoose 05-18-2003 01:54 PM

Quote:

Originally Posted by Kane
sounds crazy jorel, but i will try this

btw: whatīs the next filter, we should kill? :lol: :wink:

How about MPEG2DEC.dll ? 8)

jorel 05-18-2003 03:12 PM

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") :!:

:wink:

Kane, please,try this script and post your opinion :D

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

:lol:


All times are GMT -5. The time now is 09:26 AM  —  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.