Neat Video community Forum Index
www.neatvideo.com
Neat Video community
support - help - questions and answers - sharing experience and opinions - feedback - suggestions - backup contact
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support for multiple instances in one vapoursynth script

 
Post new topic   Reply to topic    Neat Video community Forum Index -> Improvements, new features
View previous topic :: View next topic  
Author Message
lansing



Joined: 21 Apr 2012
Posts: 33

PostPosted: Fri Nov 10, 2017 2:18 am    Post subject: Support for multiple instances in one vapoursynth script Reply with quote

I'm using an older version of neatvideo (3.6) for virtualdub. And I loaded the filter into vapoursynth using the avisynth api. It works fine until I try to load 2 instances of filter.

The user manual said that the filter is restricted to one instance per clip, but my script have to load 2 clips, then apply neatvideo to each one of them, and then append them into one. So I need to use the filter multiple times in the same script. The script turns out to be fine on preview, I was able to seek randomly through the video without a problem, the problem only came when I try to close the preview window, the program crashed.

So can there be any update on this?
Back to top
View user's profile Send private message
NVTeam



Joined: 01 Sep 2005
Posts: 2237

PostPosted: Tue Nov 28, 2017 7:39 pm    Post subject: Reply with quote

As far as I remember that limitation was present in Neat Video running in Avisynth scripts for a long time and probably was related to a limitation of Avisynth interface. I am not sure we can easily fix it from our side.

Is the problem reproducible on your side if you run that project (or any other test project) in Avisynth itself?

Thank you,
Vlad
_________________
Neat Video team
noise reduction for video and photos
Back to top
View user's profile Send private message Visit poster's website
lansing



Joined: 21 Apr 2012
Posts: 33

PostPosted: Wed Nov 29, 2017 2:34 am    Post subject: Reply with quote

um, I just test it on the 32 bit avs+, it works fine, no crash on multiple instances.

Code:
LoadVirtualDubPlugin("NeatVideo.vdf", "NeatVideo", 1)

ProfilePath1 = "01.dnp"
PresetPath1 = "01.nfp"

ProfilePath2 = "02.dnp"
PresetPath2 = "02.nfp"

ProfilePath3 = "03.dnp"
PresetPath3 = "03.nfp"

source = ffms2("video.mkv").converttorgb32()
source2 =  ffms2("video2").converttorgb32()

clip_a = source.NeatVideo(ProfilePath1,PresetPath1,"1.0","1","0","0")
clip_b = source2.NeatVideo(ProfilePath2,PresetPath2,"1.0","1","0","0")
clip_c = source.NeatVideo(ProfilePath3,PresetPath3,"1.0","1","0","0")

clip_a + clip_b + clip_c


I guess the problem in on the vapoursynth side then.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Neat Video community Forum Index -> Improvements, new features All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group