Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 22nd February 2005, 17:42   #181  |  Link
Valky
Registered User
 
Valky's Avatar
 
Join Date: Feb 2002
Location: Finland
Posts: 275
Well, I still got error on line 206, 'couldn't find function awarpsharp' and I am using exactly the same version of warpsharp that Didee suggested and I am loading my plugins manually? Using latest masktools.


edit: I got this finally work, when I found awardsharp.dll file and loaded it in script. I just didn't saw it anywhere on those example scripts and I thought it was part of that warpsharp-plugin.

Last edited by Valky; 22nd February 2005 at 19:52.
Valky is offline   Reply With Quote
Old 24th February 2005, 16:43   #182  |  Link
Gn0m0rz
Registered User
 
Join Date: Feb 2005
Posts: 2
Lo @ all, please to meet you.
I´m from Spain and is my first post in this forum.
Sorry for my poor english, i will try to write the best that i know.
With this function of Avisynth (IIP), the image is very imppresive but i have a problem. I use this in realtime over FFdshow but my fps are very low (14 FPS)
I have read all pages of this post and i haven´t found solution for this problem.
Do u use this filter in realtime ?, would be possible?.
This is my image without and with IIP.





The results are incredible but i can´t see a film with this lag.
I post u my config HTPC and the code IIP, can u say me if all is correct? :

---------------------------------

Shuttle XPC SB81P - PciE
Intel P4 550 3.4GHz @ 3,95 Ghz
Corsair XMS Pro 1GB DDR PC-3200 / 2-2-2-5
Raid 0 - Seagate 3160827AS - 320 Gb SATA
Pioneer DVDRW A05
HIS X850XT PE - Dual DVI VIVO - 256MB PCIe

---------------------------------

Import("D:\Programas\Imagen\AviSynth 2.5\plugins\IIP.avs")

LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\UnDot.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\MaskTools.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\warpsharp.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\aWarpSharp.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\LoadPluginEx.dll")
LoadPlugin("D:\Programas\Imagen\AviSynth 2.5\plugins\DustV5.dll")


iip( dest_x= 1024, dest_y= 576,
\ ss1_x = 1.414, ss1_y = 1.414,
\ duststr = 0, dustweight = 0, antiflicker1= true, antiflicker2= true,
\ detailcontr1=127, detailcontr2 = 255, contr_radius = 3, PixSharp=0.25,
\ ss2_x = 3.5, ss2_y = 3.5,
\ Xstren = 255, Xlimit = 255,
\ subpelstren= 1.0, flatweight = 64,
\ protect_floor= 4, protect_bias = 16,
\ dering = -60, dering_weight= 1.0, dering_floor = 16, dering_bias=8,
\ detail_floor= 1, EQ = 2,
\ warp_Y = false, warp_UV = false,
\ debug= "showall | compareH/V | protect | dering",
\ cropx=32, cropy=16
\ )

---------------------------------

Waiting for reply. Thanks :P
Regards.
-QuinT-

Last edited by Gn0m0rz; 24th February 2005 at 16:46.
Gn0m0rz is offline   Reply With Quote
Old 24th February 2005, 17:12   #183  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,618
No, no way. Sorry.

iiP was never meant for realtime usage, but only for pre-processing before encoding. And in that case, time doesn't matter (basically).

But then - are you really getting 14fps with above posted script? (I'm deeply impressed!). If so, ~perhaps~ you can reach realtime by additionally setting "Xstren=0" and "Xlimit=0".
Also, using positive values for "dering", instead of negative values, runs a little faster.
Finally you could use "EQ=1" instead of "2" - that's faster too, *but* then there is much more danger of getting oversharpening on edges. If so, reduce some sharpening values.

With above suggestions, perhaps you're able to reach realtime indeed. However: any speed gain only comes from deactivating more and more features, what will of course worsen the output more and more.

It's a little like using a bulldozer to drive to the baker and buy a bread. One *can* do that, but for sure that is not "intended usage"
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 24th February 2005, 17:30   #184  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,776
Quote:
Originally posted by Gn0m0rz

With this function of Avisynth (IIP), the image is very imppresive but i have a problem. I use this in realtime over FFdshow but my fps are very low (14 FPS)
ROFLMAO !!!

Sorry, I know thats ya first post here, but...

Some ppl would "kill" to run such a function @ 14 fps !!!


Bye
__________________

For my stuff: My crappy Website (back online) - or - #Videots-United



Last edited by Soulhunter; 24th February 2005 at 22:30.
Soulhunter is offline   Reply With Quote
Old 24th February 2005, 22:17   #185  |  Link
Taurus
Registered User
 
Taurus's Avatar
 
Join Date: Mar 2002
Location: Krautland
Posts: 450
I'm getting 2 fps
Taurus is offline   Reply With Quote
Old 24th February 2005, 23:37   #186  |  Link
patxitron
Registered User
 
patxitron's Avatar
 
Join Date: Jul 2003
Location: Vitoria (Spain)
Posts: 44
I don't tested this script yet, but it seems to me that you can use it to encode a 720p upsized xvid version of your dvd and burn it as a HDTV movie.

Using it this way, does not matter if it is realtime or not, and you can use a less powerfull (and more quiet) HTPC to play the movie.

Best regards
patxitron is offline   Reply With Quote
Old 25th February 2005, 00:08   #187  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
everytime i try to install the filters for iip im getting a "couldnt open c:\program files\avisynth\plugins\avsfilter.vdf.avs" error

someone please help. I have a nasty source that really needs iip

once i get this error, it occurs on every avs script, even test ones. I imagine its from autoloading plugins
jptheripper is offline   Reply With Quote
Old 25th February 2005, 00:15   #188  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
okay fixed that by moving all teh filters into a seperate folder.. now it laods all the way thru the load mpegsource command and when i test with windows media player the window just goes away.

im on a p3 1ghz with 1.5gb ram
i have tried memory max at 64-128-256
jptheripper is offline   Reply With Quote
Old 25th February 2005, 00:53   #189  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
Baffled. now i get an evaluatin error:
"Evaluate: Unrecognized exception!
iip.avs line 122
text.avs line 28 #end of script below

SetMemoryMax(128)

Import("C:\Program Files\AviSynth 2.5\plugins\new\IIP.avs")

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\new\MaskTools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\new\WarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\new\LoadPluginEx.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\new\dustv5.dll")


mpeg2source("H:\temp\new.d2v")

iip( dest_x= 720, dest_y= 480,
\ ss1_x = 1, ss1_y = 1,
\ duststr = 0, dustweight = 0, antiflicker1= true, antiflicker2= true,
\ detailcontr1=127, detailcontr2 = 255, contr_radius = 3, PixSharp=0.25,
\ ss2_x = 3.5, ss2_y = 3.5,
\ Xstren = 255, Xlimit = 255,
\ subpelstren= 1.0, flatweight = 64,
\ protect_floor= 4, protect_bias = 16,
\ dering = -60, dering_weight= 1.0, dering_floor = 16, dering_bias=8,
\ detail_floor= 1, EQ = 2,
\ warp_Y = false, warp_UV = false,
\ debug= "showall | compareH/V | protect | dering",
\ cropx=32, cropy=16
\ )
jptheripper is offline   Reply With Quote
Old 25th February 2005, 06:27   #190  |  Link
DarkNite
Almost Silent Member
 
DarkNite's Avatar
 
Join Date: Jun 2002
Location: Purgatory
Posts: 266
Please forgive me, but I'm still drooling over that 14 fps. I think I just found a reason to upgrade again.

P.S. - I'd also like to take this oppurtunity to thank Didée again for the excellent script that has helped greatly on a few sources.
__________________
Rethinking the "Why?" chromosome.
DarkNite is offline   Reply With Quote
Old 25th February 2005, 09:48   #191  |  Link
Gn0m0rz
Registered User
 
Join Date: Feb 2005
Posts: 2
Quote:
"couldnt open c:\program files\avisynth\plugins\avsfilter.vdf.avs"
Delete the file with this name avsfilter.xxx
Gn0m0rz is offline   Reply With Quote
Old 25th February 2005, 19:44   #192  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
it actually worked once i moved the plugins to a sperate folder , it think there was an autoloading issue

now i have to figure out why it simply crashes.

Is there other tools to preview avs's ?
jptheripper is offline   Reply With Quote
Old 25th February 2005, 19:59   #193  |  Link
dvwannab
Registered User
 
Join Date: Feb 2002
Posts: 71
hope this works

@ jptheripper,

see Didee response to my problems below (located on page 9)

Quote:
Originally posted by Didée
Firstly, to be safe, move the line that loads "LoadPluginEx". Different versions of it have different behaviour, and I can never remember which-work-how ... :
Code:
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgdecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\plugins\LoadPluginEx.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\undot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\plugins\MaskTools-v1.5.5.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\plugins\warpsharp.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\plugins\LoadPluginEx.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\plugins\dustV5.dll")
Then it could be that you're using a "wrong" version of WarpSharp. There are different versions out there, all are doing warpsharping ... but only one does also UnsharpMasking.

The "right" one is exactly this one.

Also, these two DLLs must be present in your Windows/system32 folder, it won't work without them:

- msvcr71.dll
- msvcp71.dll

And: In case your setup is configured so that plugins get auto-loaded from the GKnot folder, then move all plugins that are used by iiP to a different directory, and load them manualy from there.
WarpSharp and PixieDust definetly *cannot* be autoloaded. Not fully sure about LoadPluginEx and MaskTools, but they could make problems, too.
Plugin autoloading seems a nice feature, but is often causing nothing but problems, problems, problems ...
I always load ALL plugins manually. I never used any autoloading at all (except for DSsource in recent versions). And I never had any of those problems. (Except for C-Plugins, sometimes ... but that's another story )

***

And my left eyebrow raises like the one of Mr. Spock, when I see that LS2() line at the very end :| You don't need that as an iiP post-processor, really not. You should *configure* iiP instead

Suggestions:

- Raise detailcontr1 & 2 to 127 & 255.
- Lower protect_bias to 12 or 8.
- Raise dering_bias to 16, 20 or 24.

Or: don't use iiP at all, but only that LS2-thingie with strrrrrong settings. I'm *not* responsible for that one, despite the function's name.
dvwannab is offline   Reply With Quote
Old 26th February 2005, 00:34   #194  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
mine keeps crashing on the line

soft=dusted.bicubicresize(xx_small,yy_small,.2,.4).bicubicresize(xx_ss1,yy_ss1,1.0,.0)


getting the evaluate! unrecognizedd exception error

this is my iip script

iip( dest_x= 720, dest_y= 480,
\ ss1_x = 1, ss1_y = 1,
\ duststr = 0, dustweight = 0, antiflicker1= true, antiflicker2= true,
\ detailcontr1=127, detailcontr2 = 255, contr_radius = 3, PixSharp=0.25,
\ ss2_x = 3.5, ss2_y = 3.5,
\ Xstren = 255, Xlimit = 255,
\ subpelstren= 1.0, flatweight = 64,
\ protect_floor= 4, protect_bias = 16,
\ dering = -60, dering_weight= 1.0, dering_floor = 16, dering_bias=8,
\ detail_floor= 1, EQ = 2,
\ warp_Y = false, warp_UV = false,
\ cropx=32, cropy=16
\ )

can someone tell me what the nulls are for each so i can turn them all off and then turn on 1 by 1 so ican isolate the issue?
jptheripper is offline   Reply With Quote
Old 27th February 2005, 12:27   #195  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,618
Hmh, it should work. Try to put decimal numbers for ss1_x|y, instead of integer. If that doesn't help, search the block where xx_small & y_small are calculated (rather at the beginning of the script, after the big default(...) block) and exchange it with this:
Code:
xx_small = int(ox/(abs(dering)/80.0+1.0)/16.0+.5)*16 + 32
yy_small = int(oy/(abs(dering)/80.0+1.0)/16.0+.5)*16 + 16
There was an error in this two lines, reagarding the (dreadful) float//integer handling.

Will be corrected in the next version, which I'm currently at. Expect more Speed
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 1st March 2005, 02:36   #196  |  Link
jptheripper
Registered User
 
Join Date: Aug 2003
Posts: 913
hmm, those were already there.

trying again
jptheripper is offline   Reply With Quote
Old 1st March 2005, 09:04   #197  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,618
Yes those lines were already there. But read closely: there's a tiny change that was made.

BTW, if it still fails: what version of avisynth are you using? There's a buch of builds out there that are in use, all of them with their own small bugs ...
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 2nd March 2005, 03:13   #198  |  Link
DeepDVD
DVD Destroyer
 
Join Date: Dec 2003
Location: Land of the burning embacies
Posts: 68
As everybody can recognize all inventions, projects or at least new functions in the "Usage Forum" are stucking. Everytime I visit it I seek important news and improvements. The last few months there was (except BlindDehalo) no big hit in here .

Dideé, any progress?

BTW did you know nik Sharpener use sort of techniques like LS and iiP making Photoshop things more sharpen? I recognized it by testing a picture of yoda which was posted before. The LimitedSharpen/iiP sharpening is indeed almost or exactly the same as in nik Sharpener.

Examples: http://download.nikmultimedia.com/do...SampleBook.pdf

Last edited by DeepDVD; 2nd March 2005 at 03:30.
DeepDVD is offline   Reply With Quote
Old 2nd March 2005, 09:20   #199  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 3,618
I wouldn't say there are no inventions. Just for example, scharfis_brain's efforts in better handling of interlaced video, and especially the motion compensated framerate conversion is a great thing.
But if you need more inventions, of course you are warmly invited to make some!

Regarding iiP, there is no new functionality to expect. However I'm currently looking into optionally offering slightly simplified routines for denoising, deringing and fine-sharpening. The whole thing will still be slow, but compared to the last version a speedup in the range of 50% ~ 75% seems feasable.

And in case I get good grip of the remaining problems in LS-EX, then you can expect another one of those threads with a *big* initial post

About that nik PS thingy - well, I was always wondering for what too simple stuff (partially at least) one can make money, if only the name of Adobe or Photoshop is involved. Look e.g. at that "graduated fog" filter. What a genious idea, cough.

Looking at it from such an angle, I could be a rich man as well. Pity that I'm not.
__________________
We´re at the beginning of the end of mankind´s childhood
Didée is offline   Reply With Quote
Old 3rd March 2005, 04:44   #200  |  Link
DarkNite
Almost Silent Member
 
DarkNite's Avatar
 
Join Date: Jun 2002
Location: Purgatory
Posts: 266
How "simplified" are we talking here? Well, if we're talking about 50-75%, options are always good.

What routines would you say are eating the most cycles as the script stands now? I can garner a rather decent boost by changing the denoiser I use, but only in the range of 15-20%.

I guess I'm just curious as to where exactly the other 30-55% is coming from, and how it will effect the overall output.
__________________
Rethinking the "Why?" chromosome.
DarkNite is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:03.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.