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 13th May 2020, 14:11   #81  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
There was already C++AMP. I used that a few years ago but it's still not popular till today.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 13th May 2020, 15:00   #82  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by kedautinh12 View Post
I find out a fork from maki's MPEG2DecPlus 0.1.1 on github, is it added v8 interface or not??
https://github.com/299792458m/DGIndex_mod
Note that v8 update will only be necessary if plugin is using the non-finalized IScriptEnvironment2 Avisynth+ interface calls.

Plugins which were not relying on IScriptEnvironment2 will be working fine.
pinterf is offline   Reply With Quote
Old 13th May 2020, 16:46   #83  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
Quote:
Originally Posted by FranceBB View Post
And... sure, you could have just been sitting on the couch watching TV all day like many people are doing during this pandemic...
Yes i did... A lot of animes, some old 80's SF/Heroic Fantasy cheaped movies, and also reading manga and comics...
__________________
My github.
jpsdr is offline   Reply With Quote
Old 13th May 2020, 17:23   #84  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
My today's recommendation: The Plague by Albert Camus. I've read it in last November, pandemic started in December.
pinterf is offline   Reply With Quote
Old 13th May 2020, 18:48   #85  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Dont blame your self P, you can in no way be held responsible for this bloody lockdown, coincidence only, really.

EDIT: to below.
David Attenborough, yep, on much safer ground there
__________________
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 ???

Last edited by StainlessS; 13th May 2020 at 19:46.
StainlessS is offline   Reply With Quote
Old 13th May 2020, 19:44   #86  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by StainlessS View Post
Dont blame your self P, you can in no way be held responsible for this bloody lockdown, coincidence only, really.
Yep, though my currently finished book is neutral, I hope (Zoo Quest by David Attenborough)
pinterf is offline   Reply With Quote
Old 14th May 2020, 02:54   #87  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by pinterf View Post
I wonder if they are simply recompiled or adaptively using the frame-property preserving NewVideoFrameP as well. So are they are good only for the new v8 or can work with any former avs versions?

Yes, git is a must have. On one hand now we have to download them and make manual source-code comparison to see what has been changed.

When they are getting new features (such as 10+ bits) in the future the sources have to be put back to git. And because of the credits and source history they have to be forked from the original repository and the new developer must either forget or reinvent these "offline" changes.

I'd encourage everyone to use github in order not to break development history.

Fork, modify, commit, document, release.
Ask, and you shall receive: https://github.com/Asd-g?tab=repositories

asd created a GitHub account, the modified plugins from chickuzen are there. by looking at the commits I don't think they are just recompiled, then again I am no programmer .


******
asd: if you are reading this, I just want to say thank you for all of the plugins you've uploaded on the wiki. Please check the wiki talk page in the coming days, I have a question for you. Thanks again
Reel.Deel is offline   Reply With Quote
Old 14th May 2020, 07:14   #88  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Reel.Deel View Post
Ask, and you shall receive: https://github.com/Asd-g?tab=repositories

asd created a GitHub account, the modified plugins from chickuzen are there. by looking at the commits I don't think they are just recompiled, then again I am no programmer .
Great, thank you, Asd-g, you spent quite a few hours with the updates.
pinterf is offline   Reply With Quote
Old 14th May 2020, 07:20   #89  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Asd-g, if you are reading this post, can port back there plugins from vapoursynth
https://forum.doom9.org/showpost.php...&postcount=841
kedautinh12 is offline   Reply With Quote
Old 14th May 2020, 09:44   #90  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by kedautinh12 View Post
I find out a fork from maki's MPEG2DecPlus 0.1.1 on github, is it added v8 interface or not??
https://github.com/299792458m/DGIndex_mod
This for sure is, looking at sources.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 14th May 2020, 10:18   #91  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
What is this "v8 interface" you are talking about?
videoh is offline   Reply With Quote
Old 14th May 2020, 10:37   #92  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by videoh View Post
What is this "v8 interface" you are talking about?
It's still in a development branch called neo.

IScriptEnvironment has been extended with some new functions which broke those plugins which were using avs+ specific IScriptEnvironment2. So such plugins have to be rebuilt with adaptively using new IScriptEnvironment functions.

The biggest change is the frame property support.
Just like in VS.
It is only the framework. Interface support and fp passing throughout all internal Avisynth+ plugins.

Ideally every filter in the filter chain has to able to pass frame properties on. Such plugins should use a V8 interface NewVideoFrameP instead of NewVideoFrame. But only if V8 host is detected.

Like this:

Technique is very simple.

Read about the changes:
https://github.com/AviSynth/AviSynth...me_history.txt

Grab new Avisynth headers (at the moment from here):
https://github.com/AviSynth/AviSynthPlus/tree/neo

Check V8 availability on create:
https://github.com/pinterf/TIVTC/blo...rlace.cpp#L261

Use the new feature adaptively
https://github.com/pinterf/TIVTC/blo...lanar.cpp#L169

Or when you have a source filter you can add frame properties just like in VapourSynth.

Obviously it is just a framework it will require many more steps later to use this feature properly and along with specific convertions and rules.

Last edited by pinterf; 14th May 2020 at 11:20. Reason: typos
pinterf is offline   Reply With Quote
Old 14th May 2020, 10:43   #93  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Interesting and familiar looking stuff. What happens with plugins that don't pass along properties? They all just disappear or you use some simple rule to try to pass them along anyway?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 14th May 2020, 10:44   #94  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Quote:
Originally Posted by tormento View Post
This for sure is, looking at sources.
I already seen it, thanks
kedautinh12 is offline   Reply With Quote
Old 14th May 2020, 11:15   #95  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Quote:
Originally Posted by pinterf View Post
It's still in a development branch called neo.
...
Obviously it is just a framework it will require many more steps later to use this feature properly and along with specific convertions and rules.
Thank you for the explanation. I suppose then it's not something to worry about quite yet as a filter author.

Last edited by videoh; 14th May 2020 at 11:19.
videoh is offline   Reply With Quote
Old 14th May 2020, 11:18   #96  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Myrsloik View Post
Interesting and familiar looking stuff. What happens with plugins that don't pass along properties? They all just disappear or you use some simple rule to try to pass them along anyway?
Familiar, yes. Thank you in advance, I've never thought that the concept would work in any Avisynth without breaking everything.

Plugins which do not pass properties will unfortunately break the chain.
pinterf is offline   Reply With Quote
Old 14th May 2020, 11:53   #97  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Is there any documentation of the properties and how to use them? Couldn't make much sense out of it from looking at avisynth.h. Thank you.
videoh is offline   Reply With Quote
Old 14th May 2020, 13:44   #98  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by Reel.Deel View Post
asd created a GitHub account, the modified plugins from chickuzen are there. by looking at the commits I don't think they are just recompiled, then again I am no programmer .
How I wish everybody put dll version too in the compiled build.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 14th May 2020, 13:55   #99  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by pinterf View Post
Familiar, yes. Thank you in advance, I've never thought that the concept would work in any Avisynth without breaking everything.

Plugins which do not pass properties will unfortunately break the chain.
You can't do something like my avisynth compatibility layer? Copy the properties from the input frame in secret?

(of course this in some cases need plugin parameter parsing and a deep knowledge of framerate modifications for plugins that do such things)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 14th May 2020, 14:18   #100  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Myrsloik View Post
You can't do something like my avisynth compatibility layer? Copy the properties from the input frame in secret?

(of course this in some cases need plugin parameter parsing and a deep knowledge of framerate modifications for plugins that do such things)
At the moment I cannot imagine how could I do that in a consistent way with parameter parsing.

Anyway when things are settling down I'd like to reproduce an issue with VapourSynth with which I had troubles and had to fix.

But probably you can answer it right now.

I added property "X" to a frame.
Then later (in another "ScriptClip") I added property "X" index #1 (2nd array element).

This array addition was not thread safe, second addition appeared multiple times in propShow when used in an MT environment. So the container was not detached in this case.

The fix was in this commit
https://github.com/AviSynth/AviSynth...48e05c60117290

Probably this one has no proper use case but I encountered the issue during my mt stress tests.
pinterf 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 12:39.


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