digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Optimal script now fully adaptive (http://www.digitalfaq.com/archives/avisynth/4230-avisynth-optimal-script.html)

jorel 07-03-2003 09:38 AM

Quote:

Originally Posted by jorel
8O

please,someone answer me:

did you see the image(colors) "breathing" in each second
after the changes to "adaptive in the TemporalSmoother filter" :?:

the colors seems that encrease and decrease each second...
like beating!
:?

hey,me again.

i see the same but less "breathing" in each second!
just a "little few" beating changing every second!
little blocky areas too like andybno1 posted.

only i see it?
nobody see?
:?:

Dialhot 07-03-2003 09:45 AM

Quote:

Originally Posted by jorel
only i see it?
nobody see?
:?:

Sorry, I use temporalcleaner now :-)

But yo can try round(2/nf) insteed of round(3/nf) in the third parameter of temporalsoften.

jorel 07-03-2003 09:55 AM

sorry?
why?

post how you use temporalcleaner,
i want to test it too!
:wink:

ovg64 07-03-2003 10:04 AM

I think this is what Dialhot uses Jorel. :idea:

Quote:

ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "nf >= 2 ? \
unfilter( -(fmin(nf*2, 100)), -(fmin(nf*2, 100)) ) : \
temporalcleaner(fmin(3+nf,7),fmin(8+nf,15)) ")


jorel 07-03-2003 10:11 AM

thank you Osvaldo!
:wink:

what's your results testing with temporalcleaner?

jorel 07-03-2003 10:59 AM

Phil and Osvaldo:

with temporalcleaner the colors are draw...seems better,
the size with my sample encrease a little but
straight "breathing" yet...like pulsing,beating :!:

:(

ovg64 07-03-2003 12:34 PM

hi Jo, i haven't really try TemporalCleaner in the MAS yet, but that pulsing that you are talking about sounds maybe like your memory defrager setting is too high, just a guess dude. :wink:

jorel 07-03-2003 12:53 PM

yes,Osvaldo..maybe this is the problem of "beating".

send me recomendations...what i do?
:?

ovg64 07-03-2003 12:59 PM

Quote:

Originally Posted by jorel
yes,Osvaldo..maybe this is the problem of "beating".

send me recomendations...what i do?
:?

I would put a very low (2-3mb) optimise at a low auto defrag level (40-50mb) thats what i do.

jorel 07-03-2003 01:18 PM

8O

i don't know how to do it.
please Osvaldo pm to me,
i am "off topic".
:)

Jellygoose 07-03-2003 02:35 PM

You can PM that to me too, I think it's maybe off-topic, but still informative. 8)

ovg64 07-03-2003 02:45 PM

:idea: Maybe you Guys should just disable the software n encode a clip to
make sure thats your problem before you go crazy guessing, just left
click exit on the icon.

ozjeff99 07-03-2003 07:17 PM

Kwag

Thought you might be interested in the way that the KVCD method has stopped someone in their tracks 8O Check this 8)

http://forum.doom9.org/showthread.ph...0&pagenumber=2

ozjeff99

FredThompson 07-04-2003 01:12 AM

He already knows, I've started hanging out here.

Right now I'm trying to figure out what noise filtering I do pre-KVCD and how that might mess things up. I doubt SpotRemover as a way to fill dropouts and scratches would interfere. Things like DarkSmoother need to be tested.

I'm working on field-oriented filtering right now and have run into a couple of problems with the optimal script. AviSynth doesn't have a chr function so there's got to be more script.

kwag 07-04-2003 01:20 AM

Quote:

Originally Posted by FredThompson

Right now I'm trying to figure out what noise filtering I do pre-KVCD and how that might mess things up. I doubt SpotRemover as a way to fill dropouts and scratches would interfere.

How about a heavy spatial filter :idea:
Spatial filters work on a frame by frame basis, not on adjacent frames like temporal filters. So maybe a mix of spatial filters will do the job :idea:

-kwag

FredThompson 07-04-2003 01:30 AM

It's not as simple as that with old film or any analog tape. Look at the image at the bottom of this page: http://www.geocities.com/fredthompson6

This shows a number of things including:

1) scratch/dropout restoration must be done on a per-field basis.
2) spatial filtering must be done on a per-field basis
3) scratch/dropout filtering must be done before decombing
(believe me, it's a LOT harder otherwise)
4) chroma filtering needs to be done first

In this case, greyscale() or tweak() works for chroma but only because this is a B&W film captured from VHS tape.

I'm also looking at near-black swim on camcorder and satellite source. That's where DarkSmoother comes in.

Am also wondering how to get rid of the swimming near the edges of satellite MPEG and at the beginning of a scene change. Some of that source is pre-compressed so very good but hte streamed stuff is noisy as all getout.

Tried encapsulating the optimal script but AviSynth is choking on it.

The idea is to have global variable at the top of the script so Joe Sixpack can easily configure it. These are followed by media-specific cleaning then the field split like so:

GetParity() ? nop() : ReverseFieldDominance()
even=SelectEven(SeparateFields()).KVCD_Filter()
odd=SelectOdd(SeparateFields()).KVCD_Filter()
Interleave(even,odd).Weave()

(That first line is to ensure order because DV is reversed.)

Problem is, AviSynth doesn't like the encapsulation. I'm PMing you the script right now.

kwag 07-04-2003 02:39 AM

Script just updated.
Now TemporalSoften "radius" paramer is also adaptive ;)
Artifacts (Gibbs) are now buried deeper :)

-kwag

jorel 07-04-2003 06:10 AM

hey,
8O
few "seconds" out and tons news and tons posts to read!
:wink:


All times are GMT -5. The time now is 02:16 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.