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 Search this Thread Display Modes
Old 12th October 2010, 20:59   #81  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Thanks! Nobody for the x64 build ..?
LaTo is offline   Reply With Quote
Old 16th October 2010, 03:19   #82  |  Link
Usedocne
lurkster
 
Join Date: Jul 2009
Location: D9|D10
Posts: 123
Quote:
Originally Posted by LaTo View Post
Thanks! Nobody for the x64 build ..?
Why not setup a VM to test your x64 build(s)?... Too much hassle?
Usedocne is offline   Reply With Quote
Old 17th October 2010, 16:52   #83  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
SmoothAdjust [v1.56 - Update 2010/10/16]

v1.56:
added SSSE3 code
changed CPU detection routine
LaTo is offline   Reply With Quote
Old 20th October 2010, 15:06   #84  |  Link
seojuhyun
Registered User
 
Join Date: Mar 2010
Posts: 9
use the avisource script was avsp down.. at 1.56 ver o.o

AVISource(bla) << Source Res 1280x720
.....
.....
Crop(bla)
Tweak(bla)
Smoothadjust(bla)
Resize(624,352)

and push F5, shutdown avsp.

so i'm try test

downgrade. 1.56 >> 1.44

and use the same script


AVISource(bla)
.....
.....
Crop(bla)
Tweak(bla)
Smoothadjust(bla)
Resize(624,352)

Do Not AVSP DOWN, plz re-checking dll
thank you LaTo

Last edited by seojuhyun; 20th October 2010 at 15:15.
seojuhyun is offline   Reply With Quote
Old 20th October 2010, 20:15   #85  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by seojuhyun View Post
use the avisource script was avsp down.. at 1.56 ver o.o

AVISource(bla) << Source Res 1280x720
.....
.....
Crop(bla)
Tweak(bla)
Smoothadjust(bla)
Resize(624,352)

and push F5, shutdown avsp.

so i'm try test

downgrade. 1.56 >> 1.44

and use the same script


AVISource(bla)
.....
.....
Crop(bla)
Tweak(bla)
Smoothadjust(bla)
Resize(624,352)

Do Not AVSP DOWN, plz re-checking dll
thank you LaTo
Try with useopt=false in SmoothAdjust, it works?
LaTo is offline   Reply With Quote
Old 21st October 2010, 02:04   #86  |  Link
seojuhyun
Registered User
 
Join Date: Mar 2010
Posts: 9
Quote:
Originally Posted by LaTo View Post
Try with useopt=false in SmoothAdjust, it works?
oh, good thx
seojuhyun is offline   Reply With Quote
Old 21st October 2010, 20:33   #87  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by seojuhyun View Post
oh, good thx
The problem is fixed?
LaTo is offline   Reply With Quote
Old 22nd October 2010, 15:20   #88  |  Link
seojuhyun
Registered User
 
Join Date: Mar 2010
Posts: 9
Quote:
Originally Posted by LaTo View Post
The problem is fixed?
yeh fixed, but it's uncomfortable

mpeg2source and avisource,directshowsource etc...

problem at all... so i hope the fix, for option
seojuhyun is offline   Reply With Quote
Old 23rd October 2010, 15:45   #89  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Maybe someone else can confirm this bug... No problem on my side :?
LaTo is offline   Reply With Quote
Old 24th October 2010, 08:58   #90  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
it's taking forever to open in ffdshow, I don't recall the older .avs version being this slow..I've tried to MT it on 4 threads both in auto and single thread mode.
leeperry is offline   Reply With Quote
Old 24th October 2010, 09:57   #91  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by leeperry View Post
it's taking forever to open in ffdshow, I don't recall the older .avs version being this slow..I've tried to MT it on 4 threads both in auto and single thread mode.
Yes, the plugin version is slower at startup but is much faster after (I will try to reduce the startup time with v1.58)

And, it's not necessary to use MT, it is already multithreaded (check "multithread" parameter and set it to max)

External MT use 4 instances of SmoothAdjust, it's why it's so slow when you open your script...

Last edited by LaTo; 24th October 2010 at 10:29.
LaTo is offline   Reply With Quote
Old 24th October 2010, 12:05   #92  |  Link
seojuhyun
Registered User
 
Join Date: Mar 2010
Posts: 9
hm... just ignore lol.. i'm use the 1.44, i can't use 1.56
seojuhyun is offline   Reply With Quote
Old 24th October 2010, 18:39   #93  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by LaTo View Post
I will try to reduce the startup time with v1.58
ok, cool! I've also tried SmoothLevels(preset="tv2pc",multithread=2,useopt=true), but it still takes quite a while to open and it's quite a CPU hog too(I run a 3.5Ghz Q9450)
Code:
SmoothLevels(preset="tv2pc",multithread=0,useopt=true)
=76fps
Code:
SmoothLevels(preset="tv2pc",multithread=1,useopt=true)
=93fps
Code:
SmoothLevels(preset="tv2pc",multithread=2,useopt=true)
=125fps
Code:
SmoothLevels(preset="tv2pc",multithread=3,useopt=true)
=119fps
Code:
colorYUV(levels="tv->pc")
=700fps

But considering that 1.58 might be faster to open, I'll try lower quality settings.

Last edited by leeperry; 31st October 2010 at 03:00.
leeperry is offline   Reply With Quote
Old 24th October 2010, 19:55   #94  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by leeperry View Post
ok, cool! I've also tried SmoothLevels(preset="tv2pc",multithread=2,useopt=true), but it still takes quite a while to open and it's quite a CPU hog too(I run a 3.5Ghz Q9450)
Code:
SmoothLevels(preset="tv2pc",multithread=0,useopt=true)
=76fps
Code:
SmoothLevels(preset="tv2pc",multithread=1,useopt=true)
=93fps
Code:
SmoothLevels(preset="tv2pc",multithread=2,useopt=true)
=125fps
Code:
SmoothLevels(preset="tv2pc",multithread=3,useopt=true)
=119fps
Code:
colorYUV(levels="tv->pc")
=700fps

But considering that 1.58 might be faster to open, I'll try lower quality settings...right now it adds more than one second of latency to the startup time.
If you need maximum speed to watch in realtime, simply use Smode=0. It should be enough...
LaTo is offline   Reply With Quote
Old 24th October 2010, 22:39   #95  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by LaTo View Post
If you need maximum speed to watch in realtime, simply use Smode=0.
ok, I get 200fps w/ SmoothLevels(preset="tv2pc",multithread=2,Smode=0,useopt=true) using Avisynth 2.57, and 275fps using Avisynth 2.6. BTW, I get more fps if I disable MT in your plugin and run it w/ together my other scripts all at once using MT""" <> """,4) or SetMTmode(2,4).

I guess CUDA acceleration wouldn't possible?

This would be really great if the initialization time could shortened, indeed! I need to run more comparisons but your plugin seems more enjoyable to look at than colorYUV(), more contrasty/3D and less "noisy"..perfect for post-processing

PS: It looks so good! a faster opening and no more MOD4 error messages would be beyond words if any possible.

Last edited by leeperry; 31st October 2010 at 02:59.
leeperry is offline   Reply With Quote
Old 31st October 2010, 05:56   #96  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
OK, so I've done a bit of comparisons between enabling dithering in SmoothLevels() or in mVR. I've used a noisy/bandy WMV SD video, and 2 of its corners to see how noise levels go IRL:

1)default dithering in SmoothLevels/no dithering in madVR
2)default dithering in SmoothLevels/dithering in madVR
3)no dithering in SmoothLevels/dithering in madVR





It's kinda late, I'll look at it again tomorrow but I believe that my Avisynth scripts do benefit from having some dithering done beforehand...it's not about suppressing banding, it's about trying to minimize it. SmoothLevels() uses dithering to smooth the TV>PC levels mapping, when madVR uses it to dither 16bit to 8? I might be wrong, though.

The picture seems clearer when I disable it in madVR and LSF seems cleaner looking when it's enabled in SmoothLevels() beforehand, as it's not trying to sharpen up big posterizing noise blocks anymore. But it's all very subjective, I'll do more comparisons(I should state that I'm colorblind)...it might very well be that both dithering passes actually compliment each other

Last edited by leeperry; 31st October 2010 at 20:32.
leeperry is offline   Reply With Quote
Old 1st November 2010, 20:38   #97  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Update 2010.11.01

v1.60:
improved startup time
fixed MOD4 error message
tweaked various things
added ICC11 build


LaTo is offline   Reply With Quote
Old 1st November 2010, 20:46   #98  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
awesomeness,

do you mean ICL11? I will try to run some VDUB benchmarks and report back

did you compare O2/O3 etc etc?
leeperry is offline   Reply With Quote
Old 1st November 2010, 20:48   #99  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Yes, ICC / ICL it is the same... On my computer, ICC is 10% faster.
LaTo is offline   Reply With Quote
Old 1st November 2010, 20:57   #100  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
oh OK, always only heard ICL

did you compare all the different options in ICL? Apparently there's a dozen way to compile stuff in ICL11 and some are faster than others depending on what code it's been optimized for.

when feeding 1272*686, I get:

if I use mmod(4,4), then it's padded to 1272*688 and it works fine. Maybe you could add an option to do the same internally? It'd be convenient for realtime use.

indeed, it seems a lot less laggy when seeking using SetMTMode(2,4)
leeperry is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.