digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Unnatural Looking Surfaces? (http://www.digitalfaq.com/archives/avisynth/8866-avisynth-unnatural-surfaces.html)

audioslave 04-08-2004 06:59 AM

@Dialhot
Do you use only Deen() or do you change any parameters?
(I'm talking about Deen 1.0 beta 1...)

Dialhot 04-09-2004 01:58 PM

Only Deen.
I just did "fast test campaign" and didn't want to bother with all possibilites allowed by parameters. So I used the defaults.

audioslave 04-09-2004 05:20 PM

@Dialhot
Yep, works for me. The default settings sure look good without any tweaks :wink: .

kwag 04-09-2004 05:34 PM

Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

And if it's a VHS capture, or something other than a DVD, then:

Code:

Deen()

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")

That's good enough for me :)

Only on very noisy analog satellite captures, I add: STMedianFilter(3, 3, 1, 1 ) to the beginning of the script.

-kwag

jorel 04-09-2004 06:55 PM

Quote:

Originally Posted by kwag
Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

-kwag

no resizes...only the dvd source :?:

kwag 04-09-2004 07:15 PM

Quote:

Originally Posted by jorel

no resizes...only the dvd source :?:

No No :!: :lol:
Of course the resize and addborders, etc. are still in there :!:

-kwag

jorel 04-09-2004 07:50 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by jorel

no resizes...only the dvd source :?:

No No :!: :lol:
Of course the resize and addborders, etc. are still in there :!:

-kwag

cool!
then i will do double test:
the new CQMatic 1.3 and that script with resize!
8)

i have only one problem....
only 443Mb free in 140GB ! (60Gb + 80Gb)
i need to finish some jobs and tests first.

rds_correia 04-10-2004 07:29 AM

:rotf:

jorel 04-10-2004 07:44 AM

Quote:

Originally Posted by rds_correia
:rotf:

correia.....what ?
:screwy:

incredible 04-10-2004 08:33 AM

Jorel, thats a nice avatar!

rds_correia 04-10-2004 08:58 AM

Quote:

Originally Posted by jorel
i have only one problem....
only 443Mb free in 140GB ! (60Gb + 80Gb)

I was killing myself of laughing because I still remember when I had a diskless PC (only one 360Kb Floppy) and when I got my 1st external harddrive for a Schneider Euro-PC with 10Mb.
Man that was quite some space for storing :)
And here we are nowadays complaining about lack of space on 140Gb disks :D
That's hilarious isn't it :?:
Hmm, coming to think of it maybe for you it's not, right :wink:
I'm running with 40Gb+20Gb and I'm fine for now but if I install Mandrake on this baby I'll have to live with roughly 12Gb of empty space.
Then maybe I won't be so hilarious, will I?
Cheers

rds_correia 04-10-2004 08:59 AM

Oh! I almost forgot.
That's quite a nice avatar Jorel :)
Cheers

jorel 04-10-2004 09:21 AM

Quote:

Originally Posted by incredible
Jorel, thats a nice avatar!

ink and correia, thanks :wink:

it's not an avatar, it's our salvation!
:lol:

yes correia,
in 1996 i had one ibm aptiva using win95, 8 MbRam,
100Mhz(not pentium,i forgot what is)
with hd 820Mb and was a big size, 80% space free.
now with 140GB in pc and another 40Gb for backup(external hd)
i need to trash some tests to got "just a little" space....~5Gb (just a little?!?! )
:compress:

:lol:

muaddib 04-12-2004 01:58 AM

I remember when I got my 486 with 120MB HD!!!!
I thought... WOW!! I'LL NEVER FILL UP SOM MUCH SPACE!!! :mrgreen:

muaddib 04-12-2004 02:07 AM

Quote:

Originally Posted by kwag
Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

You don't use a threshold any more? :roll:

kwag 04-12-2004 02:21 AM

Quote:

Originally Posted by muaddib
Quote:

Originally Posted by kwag
Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

You don't use a threshold any more? :roll:

Nope. It's now fully dynamic ;)

-kwag

jorel 04-12-2004 05:21 AM

for me only works using ;

Mpeg2Source("D:\source\d2a.D2V",cpu=4)

BicubicResize(xxx,xxx,...) # overscan 1

ScriptClip("nf=YDifferenceToNext()"+chr(13)+"unfil ter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))).TemporalSoften(fmin(round (2/nf),6),round(1/nf),round(3/nf),1,1)")
AddBorders(x,x,...) # overscan 1

function fmin(int f1,int f2){return(f1<f2)?f1:f2}
# without "function" don't work

something wrong ?

kwag 04-12-2004 10:20 AM

As a minimal MA script, it would be used like this:

Code:

LoadPlugin("C:\filters25\mpeg2dec3.dll")

Mpeg2Source("movie.d2v")

BicubicResize(704, 264, 0, 0.6, 2, 61, 716, 358) # Movie dependant values

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")

AddBorders(0, 104, 0, 112) # Movie dependant values
LetterBox(16, 16, 16, 16) # Movie dependant values


function fmin( int f1, int f2)
{
        return ( f1<f2 ) ? f1 : f2
}

-kwag

J-Wo 06-08-2004 12:30 AM

[quote="kwag"]Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

Wow interesting! I didn't do an actual encode test yet but just by going thru frames in virtualdub, comparing this MA script to your other one in the sticky, I can see a huge difference in details gained.

I do have one problem with your MA script, and it's something I noticed before stumbling upon this post. It seems that this ScriptClip line has problems with black and white text fading in during an opening credit sequence. The exact movie I'm encoding is Kill Bill, Vol 1. The beginning credits for this film feature a black background with white text slowly fading in, then fading out. The problem is that with this MA line, text will fade in for about 3 frames, then disappear, and fade in again. If I remove the MA line the text fades in as normal. It's a very strange phenomenon and one I haven't seen before! Any clues what's causing it?

I've been having the same problems with unnatural surfaces using your old MA script for quite some time now, so this thread is of extreme interest to me! I'm going to try out Phil's "new deen" script and give it a try.

kwag 06-08-2004 12:44 AM

[quote="J-Wo"]
Quote:

Originally Posted by kwag
Most of the movies I've done lately, I only use:

Code:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
That's it :!:

No, that's not it :lol:
I haven't used AviSynth now for over 2 months, and I have no plans to go back :cool:
I'm completely into mencoder right now, doing symetrical encode tests on Windows and on FreeBSD.
If AviSynth existed for other platforms, then I would definitely use it. But the way I see things, Mencoder has most of the basic necessary filters, and they work on every supported platform. For me, that's a clear advantage.
Catch up to some of the Mencoder threads ;)

-kwag


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