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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 17th January 2014, 18:06   #501  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
Quote:
Originally Posted by real.finder View Post
hi

I have two aWarpSharp in autoload folder, aWarpSharp and aWarpSharp2 by SEt

In normal avs if I use

Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\aWarpSharp.dll")
someSource("E:\New.mkv")
aWarpSharp
green border will appear which mean that old aWarpSharp is using

but in avs+ only aWarpSharp2 will be used

I use this method in other cases also
Are you using the latest release (r1576)? This is something that should have been fixed there.
__________________
AviSynth+
ultim is offline  
Old 17th January 2014, 18:19   #502  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by ultim View Post
Are you using the latest release (r1576)? This is something that should have been fixed there.
yes, and even r1595 the same thing
real.finder is offline  
Old 17th January 2014, 18:52   #503  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
Quote:
Originally Posted by real.finder View Post
yes, and even r1595 the same thing
the only difference between 1576 and 1595 is the cache, so if the former one didnt work, the latter one is no surprise.

anyway, thx for reporting, i'll investigate.
__________________
AviSynth+
ultim is offline  
Old 19th January 2014, 13:30   #504  |  Link
list
Registered User
 
list's Avatar
 
Join Date: Sep 2010
Location: Argentina
Posts: 24
In Avisynth 2.58, i used to make it portable, and just place avisynth.dll and devil.dll beside my mplayerc player and play any avs's, just needed to run this .reg with these values for "installing" on my system manually, without any installer.
The reg file contains these register key values:
Code:
REGEDIT4

[HKEY_CLASSES_ROOT\avifile\Extensions\AVS]
@="{E6D6B700-124D-11D4-86F3-DB80AFD98778}"

[HKEY_CLASSES_ROOT\Media Type\Extensions\.avs]
"Source Filter"="{D3588AB0-0781-11CE-B03A-0020AF0BA770}"

[HKEY_CLASSES_ROOT\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}]
@="Avisynth"

[HKEY_CLASSES_ROOT\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
@="avisynth.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Wow6432Node\Media Type\Extensions\.avs]
@=""
"Source Filter"="{D3588AB0-0781-11CE-B03A-0020AF0BA770}"

[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\WOW6432NODE\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\INPROCSERVER32]
@="AviSynth.dll"
"ThreadingModel"="Apartment"
But now, this dosn't work with avsPlus. So i needed to run the full install to make it work.
What would be the new .reg equivalent now to meke it portable if possible?
BTW the project looks promising
list is offline  
Old 21st January 2014, 17:08   #505  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
I'm guessing that due to the use of C++11 (the future header and whatnot), the MT additions will bump the compiler requirements up to VS 2012 or higher?
qyot27 is offline  
Old 21st January 2014, 17:10   #506  |  Link
innocenat
Registered User
 
innocenat's Avatar
 
Join Date: Dec 2011
Posts: 77
Quote:
Originally Posted by qyot27 View Post
I'm guessing that due to the use of C++11 (the future header and whatnot), the MT additions will bump the compiler requirements up to VS 2012 or higher?
Yes, the MT additions will bump the compiler requirement to VS2012. (It's actually already available in MT branch on GitHub)
innocenat is offline  
Old 21st January 2014, 17:16   #507  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by innocenat View Post
Yes, the MT additions will bump the compiler requirement to VS2012. (It's actually already available in MT branch on GitHub)
Okay. That's why I asked; it failed to build under 2010.
qyot27 is offline  
Old 21st January 2014, 21:21   #508  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
Will avs+ still working under Windows XP after MT...?
jpsdr is offline  
Old 21st January 2014, 21:22   #509  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
Quote:
Originally Posted by jpsdr View Post
Will avs+ still working under Windows XP after MT...?
Yes. Public builds have been compiled with VS2012 since the beginning I think.

But I'm afraid it won't work in wine anymore, at least my threaded plugins don't.
__________________
Me on GitHub | AviSynth+ - the (dead) future of AviSynth

Last edited by TurboPascal7; 21st January 2014 at 22:25.
TurboPascal7 is offline  
Old 21st January 2014, 21:51   #510  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
OK, seeing that words about the MT version is beginning to spread on the forums, I'd like to point out that it is very experimental and still has some problems. I am very gratefull if anybody wants to test and give feedback / problem reports, but if your motivation is not to test but to start using it earlier, don't. The quality is not there yet. I'll announce in this thread when it reaches a quality niveau worthy of public testing. That being said, you can find the experimental builds on http://goo.gl/e0VFYn . Just remember, don't use it until you're prepared that it will break.
__________________
AviSynth+

Last edited by ultim; 21st January 2014 at 22:10.
ultim is offline  
Old 21st January 2014, 22:11   #511  |  Link
easyfab
Registered User
 
Join Date: Jan 2002
Posts: 332
Do we need some setmtmode() or mt() or is it automaticaly multithreaded ?
easyfab is offline  
Old 21st January 2014, 22:28   #512  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
Quote:
Originally Posted by easyfab View Post
Do we need some setmtmode() or mt() or is it automaticaly multithreaded ?
You need to enable MT operation in the script. But let's just first test the single-threaded mode...
__________________
AviSynth+
ultim is offline  
Old 22nd January 2014, 16:55   #513  |  Link
naoan
Registered User
 
Join Date: Oct 2009
Posts: 151
Quote:
Originally Posted by ultim View Post
You need to enable MT operation in the script. But let's just first test the single-threaded mode...
Is SetFilterMTMode disabled on that build?
naoan is offline  
Old 22nd January 2014, 17:13   #514  |  Link
innocenat
Registered User
 
innocenat's Avatar
 
Join Date: Dec 2011
Posts: 77
Quote:
Originally Posted by naoan View Post
Is SetFilterMTMode disabled on that build?
There is no public MT build yet.
innocenat is offline  
Old 23rd January 2014, 09:37   #515  |  Link
naoan
Registered User
 
Join Date: Oct 2009
Posts: 151
Oh sorry, I thought it is with experimental.
naoan is offline  
Old 23rd January 2014, 09:39   #516  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
Okay, it appears I was right and new experimental threaded builds do not work in wine. If anyone figures how to run it - please feel free to post the instructions. Otherwise poor linux users won't be able to enjoy any newer build of avs+ until native support is implemented and plugins are ported or this gets fixed in wine.
__________________
Me on GitHub | AviSynth+ - the (dead) future of AviSynth

Last edited by TurboPascal7; 23rd January 2014 at 09:50.
TurboPascal7 is offline  
Old 23rd January 2014, 10:18   #517  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
Quote:
Originally Posted by TurboPascal7 View Post
Okay, it appears I was right and new experimental threaded builds do not work in wine. If anyone figures how to run it - please feel free to post the instructions. Otherwise poor linux users won't be able to enjoy any newer build of avs+ until native support is implemented and plugins are ported or this gets fixed in wine.
It is most probably because of the threading bits of the VC++2012 runtime.

Possible solutions:
- Get the VC++2012 runtime somehow correctly working on Wine.
- Submit bug report to Wine and have it fixed.
- Wait for native Linux support in avs+ so that Wine won't be needed.
__________________
AviSynth+

Last edited by ultim; 23rd January 2014 at 10:48.
ultim is offline  
Old 24th January 2014, 09:15   #518  |  Link
dvdan23
Registered User
 
dvdan23's Avatar
 
Join Date: Feb 2007
Posts: 4
The bug which prevents vc++2012 from installing under WINE was reported in 2009

http://bugs.winehq.org/show_bug.cgi?id=17273

Waiting for that to get fixed seems like a long shot, though it has been targeted for 1.8 for whatever that's worth.

As awesome as it sounds, waiting for "native Linux support" seems fraught with peril also, since many have attempted this in the past and not quite made it (Avisynth3, avxsynth, vapoursynth).

Ultim, have you taken some time to assess the downsides of limiting yourself to VC++2010 SP1? if you would consider it at least one linux user will rejoice.

http://appdb.winehq.org/objectManager.php?sClass=application&iId=5766
dvdan23 is offline  
Old 24th January 2014, 09:28   #519  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
Actually, getting native linux support on the core side is not hard. You can expect the core to work in its full power, unlike avxsynth that removed optimizations and some filters which didn't have C versions, avisynth 3 that didn't happen or vsynth, which is vsynth. You'll also get some essential plugins from avs+ modernization efforts thread and maybe some more. But of course it'll be quite a while before any serious scripts like qtgmc can run on linux. As usual - patches welcome.

To replace vs2012 features with vs2010, one will need to introduce some huge dependency like boost. This was discussed already and we decided that using C++11 is a better option. Also Myrsloik promised to kill me if we don't go C++11 and you don't want that, do you? >__>
__________________
Me on GitHub | AviSynth+ - the (dead) future of AviSynth
TurboPascal7 is offline  
Old 24th January 2014, 09:57   #520  |  Link
ultim
AVS+ Dev
 
ultim's Avatar
 
Join Date: Aug 2013
Posts: 359
It is pretty much as Turbo explained. I have originally implemented avs+MT with only boost, and thus I could compile the code with VC++2010. Because of the threading part I was relying on the non-header-only libraries of boost (but even with headers only, boost is a beast considering its size). So later the requirement was bumped to VC++2012 in order to remove the boost dependency, because C++11 implements everything I used from boost, but VC++2010 doesn't yet implement the necessary parts of the standard.

Anyway, I didn't foresee that it would break Wine-support, that hit me unexpected. IMHO we should try to put some pressure on the Wine folks, and depending on what their reaction is, we either win, or I can step back and pull in boost again. I'd rather not though unless it is really necessary, so let's try convincing the Wine folks first. It's on their to-do list anyway
__________________
AviSynth+
ultim is offline  
Closed Thread


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 23:33.


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