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

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd December 2017, 23:44   #3781  |  Link
jinkazuya
Registered User
 
Join Date: Jul 2010
Posts: 89
Quote:
Originally Posted by LigH View Post
This may be impossible in all the cases where the original authors did not provide sources of their plugins, or did not document their algorithms detailed enough to reprogram them. But where it is possible, a lot of efforts were already invested to implement them. The AviSynth Wiki lists many successful attempts. If you know some missing ones, always provide links to their original location, optimally with sources. A few special plugins may even be easily resembled using very generic tools like convolution or LUT functions.

Specifically regarding "RedAverage", Average is reported to do the same, just faster.
I know, but I would like to use the detailsharpen function. Unfortunately that function requires the RedAverage plugin.
jinkazuya is offline   Reply With Quote
Old 3rd December 2017, 23:52   #3782  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,955
You mean this script function? I bet this could be rewritten to use more portable/compatible kernel or plugin functions.
__________________

German doom9 / Gleitz board
MediaFire shares: x265 | VPx | AOM

Rémoulade is spoiled
LigH is offline   Reply With Quote
Old 4th December 2017, 01:50   #3783  |  Link
jinkazuya
Registered User
 
Join Date: Jul 2010
Posts: 89
Quote:
Originally Posted by LigH View Post
You mean this script function? I bet this could be rewritten to use more portable/compatible kernel or plugin functions.
Yes...This is the one I am talking about. I am a noob when it comes to scripting. But it seems nowadays less people are creating new scripts or plugins for video encodes. There used to be a lot more.
jinkazuya is offline   Reply With Quote
Old 5th December 2017, 21:41   #3784  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,628
I just tried to compile avisynth.h with /permissive- in Visual Studio 15.5. It fails. When are you going to change it to be valid C++ code?

Fun fact: this is now the default setting for new projects
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 6th December 2017, 07:33   #3785  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 782
I have read about it but not yet tried.
pinterf is offline   Reply With Quote
Old 6th December 2017, 16:57   #3786  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 782
Quote:
Originally Posted by Myrsloik View Post
I just tried to compile avisynth.h with /permissive- in Visual Studio 15.5. It fails. When are you going to change it to be valid C++ code?

Fun fact: this is now the default setting for new projects
I have tried. So what's your problem?
pinterf is offline   Reply With Quote
Old 6th December 2017, 18:23   #3787  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,628
Quote:
Originally Posted by pinterf View Post
I have tried. So what's your problem?
Code:
4>C:\VapourSynth\AviSynthPlus\avs_core\include\avisynth.h(670): error C3447: third operand to the conditional operator ?: is of type 'void', but the second operand is neither a throw-expression nor of type 'void'
Basically a wall of this whenever you compile a plugin, compiling the core will obviously work since then the proper functions are provided. I even checked out the latest version from your MT branch to test it.

AVFS (and probably any plugin/api user) shows this problem.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 6th December 2017, 18:27   #3788  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 782
Ah. Then will try with a plugin. I only had syntax error in a win 7.1 sdk header which i commented out (because the 141xp toolset uses this sdk).
pinterf is offline   Reply With Quote
Old 8th December 2017, 17:07   #3789  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 782
Quote:
Originally Posted by Myrsloik View Post
Code:
4>C:\VapourSynth\AviSynthPlus\avs_core\include\avisynth.h(670): error C3447: third operand to the conditional operator ?: is of type 'void', but the second operand is neither a throw-expression nor of type 'void'
Basically a wall of this whenever you compile a plugin, compiling the core will obviously work since then the proper functions are provided. I even checked out the latest version from your MT branch to test it.

AVFS (and probably any plugin/api user) shows this problem.
Thanks, now it should be OK. There were other surprises as well.
pinterf is offline   Reply With Quote
Old 8th December 2017, 20:19   #3790  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,628
Quote:
Originally Posted by pinterf View Post
Thanks, now it should be OK. There were other surprises as well.
Works. As a bonus you can now easily use clang-cl to compile plugins too.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 10th December 2017, 00:32   #3791  |  Link
lordsmurf
Registered User
 
lordsmurf's Avatar
 
Join Date: Jan 2003
Posts: 120
I had to reinstall 2.6, and use SEt's MT dll.
I could never get the 32-bit + MT to work, and then tmedian2 was not available. That was a deal breaker.

The + x64 worked perfectly.
__________________
Back in town.
If you want my advice, then find me at the DigitalFAQ forum. Glad to assist.
lordsmurf is offline   Reply With Quote
Old 10th December 2017, 10:20   #3792  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 782
Quote:
Originally Posted by lordsmurf View Post
I had to reinstall 2.6, and use SEt's MT dll.
I could never get the 32-bit + MT to work, and then tmedian2 was not available. That was a deal breaker.

The + x64 worked perfectly.
What was the problem? Memory issues at large thread count?
pinterf is offline   Reply With Quote
Old 11th December 2017, 21:39   #3793  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 2,550
Anyone compiled a new build?
ryrynz 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 02:13.


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