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. |
28th June 2014, 20:57 | #761 | Link |
Anime addict
Join Date: Feb 2009
Location: Spain
Posts: 673
|
Hey, I am installing avs+ with installer and all fine. I want use multithread but function SetThreads() is not detected. How can I get this?? Thanks
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite |
28th June 2014, 23:34 | #763 | Link | |
Anime addict
Join Date: Feb 2009
Location: Spain
Posts: 673
|
Quote:
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite |
|
14th July 2014, 11:13 | #764 | Link |
Registered User
Join Date: Jul 2013
Posts: 60
|
Hi there guys! I've seen that on page 27 of this thread the users dvdan23 and TurboPascal7 where discussing the compatibility of Avisynth+ with Wine under linux half a year ago. I wanted to ask if anybody knows anything about the current status of this. I've just tried to install AviSynthPlus-r1576.exe under a fresh wine context and it does not seem to work out of the box at least.
Running a version "script" gives this error and no picture: Code:
$ WINEDEBUG="-all" wine avs2yuv "version.avs" - | mplayer -cache 2048 -noidx - MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team Playing -. Reading from stdin... Cache size set to 2048 KiB Cache fill: 0.00% (0 bytes) wine: Call from 0x7b83aace to unimplemented function msvcr110.dll._libm_sse2_sqrt_precise, aborting Avisynth error: Evaluate: Unhandled C++ exception! (version.avs, line 1) Cache fill: 0.00% (0 bytes) Failed to recognize file format. Exiting... (End of file) |
14th July 2014, 11:46 | #765 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
http://forum.doom9.org/showthread.ph...58#post1684658
And the reason is that the official builds of AviSynth+ are built with VS2012, and the 2012 runtime doesn't work under Wine. It's Wine's issue, which is up to them to resolve (they do try to implement this stuff on their own anyway to avoid requiring the Microsoft-provided runtimes; it's just a waiting game). Further, revisions of AviSynth+ after r1576 (not sure where the actual cut-off was, maybe in the 1630s?) can only be compiled by VS2012 or higher due to the use of C++11. As far as r1576 is concerned, it has no such absolute restriction and can be built with VS2010. Said build would work under Wine. For those that need to do so, here is one such build: http://www.mediafire.com/download/tt...nth+_r1576.zip Also, for the love of all that's right in this world, switch to mpv (PPA linked for feature completeness). Last edited by qyot27; 14th July 2014 at 11:48. |
19th July 2014, 18:36 | #768 | Link |
Registered User
Join Date: Jul 2013
Posts: 60
|
Another question, is there maybe a 64bit build of Avisynth+ that has been built with VS2010 to work with wine?
I need 64bit to workaround this issue: http://forum.doom9.org/showthread.php?p=1687306 update: it doesn't need to be MT, but I need 64bit to workaround the only 28 source-files per script issue. (see link above) Last edited by kaefert; 21st July 2014 at 15:08. |
23rd July 2014, 13:25 | #769 | Link |
Registered User
Join Date: Sep 2011
Posts: 241
|
Can someone please tell me how to get MT working with Avisynth+. I'm using DGDecodeNV to index my video. I'm using the Avisynth+ version of AvsPmod. Here's my script:
Code:
SetFilterMTMode("", 2) SetFilterMTMode("DGSource", 3) DGSource("E:\1 = Working Videos\WWE 2014\Raw from July\Raw Mar 24 2014.dgi") AssumeTFF() DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) Yadif(mode=1, order=1) Vinverse() Lanczos4Resize(1280,720) Prefetch(4) In normal Avisynth MT I just did this: Code:
setmtmode(5,9) DGSource("E:\1 = Working Videos\WWE 2014\Raw April - Dec\Raw Mar 24 2014.dgi") setmtmode(2) Last edited by VideoFanatic; 23rd July 2014 at 13:59. |
23rd July 2014, 14:35 | #772 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
|
|
23rd July 2014, 15:18 | #773 | Link |
Registered User
Join Date: Sep 2011
Posts: 241
|
OK I downloaded the MT version from that link and copied the dlls into the SysWow64 folder. When I start AvsPmod it says [Error126] The specified module could not be found. Loading avisynth.dll failed! Make sure that AviSynth is installed. Alternatively, specify now it's directory.
|
23rd July 2014, 15:26 | #774 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
|
|
23rd July 2014, 18:09 | #777 | Link |
Registered User
Join Date: Sep 2011
Posts: 241
|
It seems to be working now. I forgot to restart my PC after installing Avisynth+ and copying the DLLs.
This was my non+ Avisynth MT script: Code:
setmtmode(5,9) DGSource("E:\Video.dgi") setmtmode(2) AssumeTFF() DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) Yadif(mode=1, order=1) Vinverse() Lanczos4Resize(1280,720) Code:
SetFilterMTMode("", 2) SetFilterMTMode("DGSource", 3) DGSource("E:\1 = Working Videos\WWE 2014\Raw from July\Raw Mar 24 2014.dgi") AssumeTFF() DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) Yadif(mode=1, order=1) Vinverse() Lanczos4Resize(1280,720) Prefetch(9) |
23rd July 2014, 18:18 | #778 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
There is also a search function on this forum. One could for example search for the term "prefetch" in this thread. It's not that difficult. |
|
23rd July 2014, 19:36 | #779 | Link |
Registered User
Join Date: Sep 2011
Posts: 241
|
I read them before I posted and I couldn't find anything via search. It doesn't explain what the "" part does. I'd like to know what the equivalent of the following is in Avisynth+:
Code:
setmtmode(5,9) DGSource("E:\Video.dgi") setmtmode(2) You should use mode 2 unless mode 3 is required for the plugin to work? I want 9 threads so I entered Prefetch(9) at the end. Code:
SetFilterMTMode("", 2) SetFilterMTMode("DGSource", 2) DGSource("E:\Video.dgi") AssumeTFF() DeGrainMedian(limitY=2, limitUV=3, mode=1, interlaced=true) Yadif(mode=1, order=1) Vinverse() Lanczos4Resize(1280,720) Prefetch(9) |
23rd July 2014, 20:07 | #780 | Link |
Registered User
Join Date: Mar 2011
Posts: 216
|
I'd suggest you read(again?) the comments from the example Ultim posted in the post below the one Groucho2004 linked, all you're asking is very well explained.
The SetFilterMTMode("", 2) line is to set the default MT mode to 2 so the "" means any filter. There's no point in setting DGSource to 2 if you already set every filters that aren't explicitely specified to 2. But you should use 3 if you want the equivalent of 5 from avisynth and that is what Ultim suggested for most source filters. As for the prefetch call, ultim very clearly says before the example "You enable MT by placing a single call to Prefetch(X) at the *end* of your script, where X is the number of threads to use." so yes, Prefetch(9) will give you 9 threads in MT mode(there was some things that weren't clear at one time on wether it used 9 threads for encoding or one was reserved for something else, but I don't remember exactly and I might be wrong. Either way, just try it and you'll see if it works fine).
__________________
AMD Ryzen 9 5950X and EVGA RTX 3080 with G.skill 64Gb 3600 (2 16x2 kit) on Asrock X570 Taichi with Samsung 980 Pro 500Gb NVMe SSD running Win10 x64 on LG 34GN850-B 34.0" 3440 x 1440 160 Hz |
|
|