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 > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th September 2017, 13:04   #2721  |  Link
Artofeel
Registered User
 
Artofeel's Avatar
 
Join Date: Apr 2016
Posts: 8
AVFS is not working since pfmap-185 version
just closes right after start mounting (VapourSynth-R39-test4 \ VapourSynth-R38)
pfmap-184 is last working
I'm only one who used that feature?..
Artofeel is offline   Reply With Quote
Old 19th September 2017, 13:08   #2722  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by Artofeel View Post
AVFS is not working since pfmap-185 version
just closes right after start mounting (VapourSynth-R39-test4 \ VapourSynth-R38)
pfmap-184 is last working
I'm only one who used that feature?..
I'll give it a try then. Note that you don't even need it since a branded pismo library is also included in the installer.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th September 2017, 15:08   #2723  |  Link
Artofeel
Registered User
 
Artofeel's Avatar
 
Join Date: Apr 2016
Posts: 8
Quote:
Originally Posted by Myrsloik View Post
Note that you don't even need it since a branded pismo library is also included in the installer.
yeah, but I use pismo
like store thousands of images in one .pfo file
so I need new version of it due to some bugfixes
Artofeel is offline   Reply With Quote
Old 24th September 2017, 02:18   #2724  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
I'm trying to load a virtualdub filter through the avs loader, and I'm getting the error "Plugin C:/Program Files (x86)/VapourSynth/core64/plugins/AvsCompat.dll tried to register 'NeatVideo' more than once".

Code:
core.avs.LoadPlugin(r"VDubFilter.dll")
core.avs.LoadVirtualdubPlugin(r'NeatVideo.vdf', 'NeatVideo', 1)

clip = core.avs.NeatVideo(clip, ProfilePath, PresetPath, '1', '1', '1', '0')
lansing is offline   Reply With Quote
Old 24th September 2017, 08:32   #2725  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
I'm trying to load a virtualdub filter through the avs loader, and I'm getting the error "Plugin C:/Program Files (x86)/VapourSynth/core64/plugins/AvsCompat.dll tried to register 'NeatVideo' more than once".

Code:
core.avs.LoadPlugin(r"VDubFilter.dll")
core.avs.LoadVirtualdubPlugin(r'NeatVideo.vdf', 'NeatVideo', 1)

clip = core.avs.NeatVideo(clip, ProfilePath, PresetPath, '1', '1', '1', '0')
Where can I find both of these dlls and their source code?

I suspect that it's registering several different overloads of the same function which isn't supported (and so unusual nobody really encountered it before).
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th September 2017, 13:23   #2726  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
The vdubfilter.dll came with the avs+ update zip,
https://github.com/pinterf/AviSynthPlus/releases

The virtualdub version of the neatvideo dll can be download from its demo version
https://www.neatvideo.com/download
lansing is offline   Reply With Quote
Old 24th September 2017, 20:13   #2727  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
The vdubfilter.dll came with the avs+ update zip,
https://github.com/pinterf/AviSynthPlus/releases

The virtualdub version of the neatvideo dll can be download from its demo version
https://www.neatvideo.com/download
Should be fixed in the next version. Note that the different overloads of the NeatVideo function will be distinct ones since VS doesn't do overloads at all. So the different versions will be called NeatVideo, NeatVideo_2, NeatVideo_3 and so on. Now to look into a few more bugs before I release the next test version.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th September 2017, 20:30   #2728  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
I'll report this issue to the neatvideo forum to see if it's a bug or not
lansing is offline   Reply With Quote
Old 24th September 2017, 20:33   #2729  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
I'll report this issue to the neatvideo forum to see if it's a bug or not
It's not a bug.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th September 2017, 20:39   #2730  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
Quote:
Originally Posted by Myrsloik View Post
It's not a bug.
Okay.
lansing is offline   Reply With Quote
Old 26th September 2017, 21:12   #2731  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by Artofeel View Post
yeah, but I use pismo
like store thousands of images in one .pfo file
so I need new version of it due to some bugfixes
Reproduced. I've contacted Joe Lowe about it so it should be fixed soon...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th September 2017, 21:23   #2732  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
R39-RC1

Start testing!

Code:
r39:
updated to zimg v2.6
added offline documentation to the installer
renamed the croprel function to crop, croprel will still be kept as an alias for for compatibility with existing scripts
fixed missing max value clamping for 9-15 bit input with convolution
optimized prewitt and sobel
removed the min and max arguments from sobel and prewitt because they interact very oddly with float formats
avisynth compatibility can now handle functions with multiple overloads
added float support to boxblur
removed subtext file size limit
fixed missing fps correction in avisource that would produce an error with some files
switched to nasm as the assembler
visual studio runtime detection is improved in the installer, it should no longer attempt re-installs when a newer version is present
minor optimization in vspipe, you can now output blankclip into the void much faster
memory will now be 64 byte aligned on systems with avx512 support
added swapn and dupn operators to expr
reverted the argument handling in levels, arguments no longer take a 3 plane list due it making no sense when combined with the planes argument
optimized levels, the integer version is now implemented with a lut and the floating point version is faster when gamma=1.0
improved get_outputs() in python (stuxcrystal)
format objects can now be cast to int which will return the format id (stuxcrystal)
added method to make it easier to query formats from python (stuxcrystal)
made it possible to install the python part as a module (stuxcrystal)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th September 2017, 23:18   #2733  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
Ran into another problem with the avs' virtualdub plugin loader that it doesn't takes in named arguments, while vapoursynth asks for named arguments.
Also got the error "VirtualdubFilterProxy: only RGB32 supported for VirtualDub filters" and there's no conversion to RGB32 in vs. And when I set "format=vs.RGB" then editor would crash.
Code:
clip = core.resize.Bicubic(clip, format=vs.RGB)
clip.set_output()
lansing is offline   Reply With Quote
Old 26th September 2017, 23:19   #2734  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
Ran into another problem with the avs' virtualdub plugin loader that it doesn't takes in named arguments, while vapoursynth asks for named arguments.
Also got the error "VirtualdubFilterProxy: only RGB32 supported for VirtualDub filters" and there's no conversion to RGB32 in vs. And when I set "format=vs.RGB" then editor would crash.
Code:
clip = core.resize.Bicubic(clip, format=vs.RGB)
clip.set_output()
You can use unnamed arguments so I don't see the problem. The format you want is COMPATBGR32
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th September 2017, 23:41   #2735  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
I got the error "NeatVideo: Too many unnamed arguments specified". I'm using an older version of NeatVideo(3.5) which should be taking in 7 arguments including "clip".
Code:
core.avs.LoadPlugin(r"VDubFilter.dll")
core.avs.LoadVirtualdubPlugin(r'NeatVideo.vdf', 'NeatVideo', 1)
#...
clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.COMPATBGR32)

clip = core.avs.NeatVideo(clip, ProfilePath, PresetPath, '1', '1', '1', '0')
lansing is offline   Reply With Quote
Old 26th September 2017, 23:44   #2736  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
I got the error "NeatVideo: Too many unnamed arguments specified". I'm using an older version of NeatVideo(3.5) which should be taking in 7 arguments including "clip".
Code:
core.avs.LoadPlugin(r"VDubFilter.dll")
core.avs.LoadVirtualdubPlugin(r'NeatVideo.vdf', 'NeatVideo', 1)
#...
clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.COMPATBGR32)

clip = core.avs.NeatVideo(clip, ProfilePath, PresetPath, '1', '1', '1', '0')
It's got multiple overloads like I mentioned. Try the NeatVideo_N() functions. List all the functions and signatures to see which version takes 7 arguments.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 27th September 2017, 00:09   #2737  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
Okay I got the filter to work with NeatVideo_2(). And when I intentionally left out two, it gives me an error "NeatVideo_2: argument s6 is required", it doesn't tell me how many arguments I'm missing.

And there's a lot of warning about frame N not prefetched in the editor's log:
"Avisynth Compat: requested frame 47 not prefetched, using slow method"
lansing is offline   Reply With Quote
Old 27th September 2017, 00:12   #2738  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
Okay I got the filter to work with NeatVideo_2(). And when I intentionally left out two, it gives me an error "NeatVideo_2: argument s6 is required", it doesn't tell me how many arguments I'm missing.

And there's a lot of warning about frame N not prefetched in the editor's log:
"Avisynth Compat: requested frame 47 not prefetched, using slow method"
That's normal since it doesn't know about these filters. At least it works. Two layers of compatibility wrappers will always be quirky...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 27th September 2017, 02:59   #2739  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,643
um, after more testing, looks like the filter stop having effect after around 6 random seeks in the preview or a few seconds of playback.
lansing is offline   Reply With Quote
Old 27th September 2017, 22:58   #2740  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
Quote:
Originally Posted by lansing View Post
um, after more testing, looks like the filter stop having effect after around 6 random seeks in the preview or a few seconds of playback.
What's profilepath and presetpath? How do I make myself a working script with this so I can try it?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Reply

Tags
speed, vaporware, vapoursynth

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 10:42.


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