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 Development

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 23rd September 2015, 13:44   #1261  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by Groucho2004 View Post
What happens if you comment out the Prefetch() statement?
This night I'll try. It was already in my mind, such as use an older build.
__________________
@turment on Telegram
tormento is offline  
Old 23rd September 2015, 14:48   #1262  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,192
@tormento

Just out curiosity do you have the MT modes script loaded? Also I see that you're using SMDegrain with prefilter=4, I beleive that uses KNLMeans which the author said it's not MT friendly. Try adding SetFilterMTMode("KNLMeans", 3).
Reel.Deel is offline  
Old 24th September 2015, 01:25   #1263  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
@Groucho2004 @Reel.Deel

Even without MT or with SetFilterMTMode("KNLMeansCL", 3), the corruption is still there.
__________________
@turment on Telegram
tormento is offline  
Old 24th September 2015, 01:29   #1264  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,192
Quote:
Originally Posted by tormento View Post
@Groucho2004 @Reel.Deel

Even without MT or with SetFilterMTMode("KNLMeansCL", 3), the corruption is still there.
Is the video corrupted before SMDegrain?
Reel.Deel is offline  
Old 24th September 2015, 01:46   #1265  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,190
Quote:
Originally Posted by Reel.Deel View Post
@tormento

Just out curiosity do you have the MT modes script loaded? Also I see that you're using SMDegrain with prefilter=4, I beleive that uses KNLMeans which the author said it's not MT friendly. Try adding SetFilterMTMode("KNLMeans", 3).
I was told that KNLMeans requires mode 5 or 6. 6 was considerably slower, 5 is working well for me.
MysteryX is offline  
Old 24th September 2015, 02:17   #1266  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,192
Quote:
Originally Posted by MysteryX View Post
I was told that KNLMeans requires mode 5 or 6. 6 was considerably slower, 5 is working well for me.
AviSynth+ MT only has modes 1-3.
Reel.Deel is offline  
Old 24th September 2015, 03:39   #1267  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,234
Quote:
Originally Posted by ryrynz View Post
I really wish development of this would start up again soon.. getting this is a fully workable state to finally replace AvisynthMT would be great.
+1

People with programming skills are more than welcome to assist... I guess lol.
burfadel is offline  
Old 24th September 2015, 04:58   #1268  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,190
Smooth Video Project is greatly moving forward and is also waiting for a functional version of AviSynth+; as AviSynth is what makes SVP unstable and causes it to crash all the time.

I guess everybody wants it and nobody wants to touch the code lol
MysteryX is offline  
Old 24th September 2015, 06:25   #1269  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,417
Quote:
Originally Posted by MysteryX View Post
I guess everybody wants it and nobody wants to touch the code lol
That was part of the reason why Avisynth+ was made, code maintainability.
ryrynz is offline  
Old 24th September 2015, 19:53   #1270  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by Reel.Deel View Post
Is the video corrupted before SMDegrain?
The raw video or the result from AviSynth without filters?
__________________
@turment on Telegram
tormento is offline  
Old 24th September 2015, 19:54   #1271  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by MysteryX View Post
I was told that KNLMeans requires mode 5 or 6. 6 was considerably slower, 5 is working well for me.
KNLMeansCL works perfectly with mode 3. See AviSynth comparison.
__________________
@turment on Telegram
tormento is offline  
Old 24th September 2015, 22:33   #1272  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by Reel.Deel View Post
Is the video corrupted before SMDegrain?
Ok, it seems to be SMDegrain, both with prefilter=2 and with prefilter=4. No problems with standard AviSynth.
__________________
@turment on Telegram
tormento is offline  
Old 24th September 2015, 22:51   #1273  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
I am trying to use 64bit part of AviSynth+.

I am getting some strange errors and I can't understand why. I put KNLMeansCL in the plugins64 or plugins64+ and it gives me two different error.

Script:
PHP Code:
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
DGSource("E:\in\2_01 favoloso mondo di Amelie, Il\amelie.dgi")
KNLMeansCL(D=1A=1h=7.0,device_type="GPU"
Error:
Code:
[E:\in\2_01 favoloso mondo di Amelie, Il]d:avs4x264mod-x64.exe -o amelie_64.mkv amelie_64.avs
avs [error]: Script error: There is no function named 'KNLMeansCL'.
(amelie_64.avs, line 4)
Script:
PHP Code:
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
LoadPlugin("D:\programmi\media\AviSynth+\plugins64+\KNLMeansCL-0.6.11.dll")
DGSource("E:\in\2_01 favoloso mondo di Amelie, Il\amelie.dgi")
KNLMeansCL(D=1A=1h=7.0,device_type="GPU"
Error:
Code:
[E:\in\2_01 favoloso mondo di Amelie, Il]d:avs4x264mod-x64.exe -o amelie_64.mkv amelie_64.avs
avs [error]: Cannot load file 'D:/programmi/media/AviSynth+/plugins64+/KNLMeansCL-0.6.11.dll'. Platform returned code 126:
Impossibile trovare il modulo specificato.

(amelie_64.avs, line 2)
I am sure it is a very stupid thing but can't go thru.
__________________
@turment on Telegram
tormento is offline  
Old 24th September 2015, 23:09   #1274  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,399
Are you sure you put the 64 bit version of KNLMeansCL{-0.6.11}.dll into the plugins64 directory? A 64 bit AviSynth won't load a 32-bit plugin from there. I would possibly avoid the plugins64+ directory for generally AviSynth compatible plugins (not very specific to AviSynth+) unless I am certain what the difference is.

Does the same work when you use 32-bit AviSynth in a 32-bit application?
_

Not sure if and how that will work, just an idea: Can DependencyWalker Win64 confirm that it can use a 64-bit OpenCL driver? LoadLibrary error 126 seems to be related to unavailable dependencies sometimes.

Ah, another idea: I believe to remember that some plugins already use API version 6 while AviSynth+ may still use API version 5, might be a reason why it can't load plugins with a higher API version?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 24th September 2015, 23:30   #1275  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,054
Quote:
Originally Posted by tormento View Post
I am sure it is a very stupid thing but can't go thru.
What error does AVSMeter64 return?
Groucho2004 is offline  
Old 25th September 2015, 00:39   #1276  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 9,137
Quote:
Originally Posted by ryrynz View Post
I really wish development of this would start up again soon.. getting this is a fully workable state to finally replace AvisynthMT would be great.
If you did something, and other people followed your lead, then your wish could come well come true. (EDIT: So we are all waiting for YOU !)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is online now  
Old 25th September 2015, 00:59   #1277  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,566
Quote:
Originally Posted by ryrynz View Post
That was part of the reason why Avisynth+ was made, code maintainability.
It's a wonderful codebase, I almost cried for joy the first time I dove in to debug something. Unfortunately, now all the easy stuff and most of the hard stuff is done, and what remains is one of the hardest problems in all of computer science: Performant but correct synchronization of bits of code that were never meant to be threaded (plugins, especially old ones). Since failures are unreproduceable by nature, it's a real head-desk problem.

Fixing it completely might require a threading expert who has tools like VTune, though even small improvements would be welcome!
foxyshadis is offline  
Old 25th September 2015, 08:43   #1278  |  Link
RazorBurn
Registered User
 
Join Date: Aug 2014
Posts: 14
Error:
Code:
[E:\in\2_01 favoloso mondo di Amelie, Il]d:avs4x264mod-x64.exe -o amelie_64.mkv amelie_64.avs
avs [error]: Cannot load file 'D:/programmi/media/AviSynth+/plugins64+/KNLMeansCL-0.6.11.dll'. Platform returned code 126:
Impossibile trovare il modulo specificato.

(amelie_64.avs, line 2)
Quote:
I am sure it is a very stupid thing but can't go thru.
I have the same exact error on KNLMeansCL or any plugin that use VC redist 2013..

The problem relies on the bug in upgrading your Build in Windows 10..

My Solution was Install clean state windows 10 build 240.. And Dont upgrade to new Win10 Builds..
RazorBurn is offline  
Old 25th September 2015, 11:10   #1279  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by Groucho2004 View Post
What error does AVSMeter64 return?
AVS script:

PHP Code:
LoadPlugin("D:\eseguibili\media\DGDecNV\x64\DGDecodeNV.dll")
DGSource("E:\in\2_01 favoloso mondo di Amelie, Il\amelie.dgi")
KNLMeansCL(D=1A=1h=7.0,device_type="GPU")
CompTest(1
Code:
AVSMeter 2.1.2 (x64)
AviSynth+ 0.1 (r1825, MT, x86_64) (0.1.0.0)

Number of frames:                 1764
Length (hh:mm:ss.ms):     00:01:13.500
Frame width:                      1920
Frame height:                      816
Framerate:                      24.000 (24/1)
Colorspace:                       YV12

Frames processed:               1764 (0 - 1763)
FPS (min | max | average):      2.087 | 41.93 | 22.76
Memory usage (phys | virt):     101 | 389 MB
Thread count:                   23
CPU usage (average):            10%

Time (elapsed):                 00:01:17.497
OMG.

I means two things:
  1. DGDecNV and KNLMeansCL works in 64 bit and not in 32 bit
  2. there must be something I forget when using avs4x26x

Is possible to use x264 directly with avs or can you tell me how to pass it thru without avs4x26x?
__________________
@turment on Telegram
tormento is offline  
Old 25th September 2015, 11:11   #1280  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,705
Quote:
Originally Posted by LigH View Post
Are you sure you put the 64 bit version of KNLMeansCL{-0.6.11}.dll into the plugins64 directory? A 64 bit AviSynth won't load a 32-bit plugin from there. I would possibly avoid the plugins64+ directory for generally AviSynth compatible plugins (not very specific to AviSynth+) unless I am certain what the difference is.
Read my previous reply.
__________________
@turment on Telegram
tormento is offline  
Closed Thread

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 18:08.


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