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 28th September 2017, 02:11   #2741  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
I uploaded a sample profile and preset for the Neatvideo4 demo version here, it takes 2 arguments instead of 7 in the older version
sample profiles

sample script:
Code:
ProfilePath = r'sample_noise_profile.dnp'
PresetPath = r'sample_preset.nfp'

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

clip = core.ffms2.Source('abc.mp4')

clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.COMPATBGR32)

clip = core.avs.NeatVideo_2(clip, ProfilePath, PresetPath)
lansing is offline   Reply With Quote
Old 28th September 2017, 09:22   #2742  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
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
The bug has been located and the next pismo release should fix it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 28th September 2017, 17:49   #2743  |  Link
Artofeel
Registered User
 
Artofeel's Avatar
 
Join Date: Apr 2016
Posts: 8
Quote:
Originally Posted by Myrsloik View Post
The bug has been located and the next pismo release should fix it.
yes it's worked now
thanks to you and Joe
Artofeel is offline   Reply With Quote
Old 29th September 2017, 22:34   #2744  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by lansing View Post
I uploaded a sample profile and preset for the Neatvideo4 demo version here, it takes 2 arguments instead of 7 in the older version
sample profiles

sample script:
Code:
ProfilePath = r'sample_noise_profile.dnp'
PresetPath = r'sample_preset.nfp'

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

clip = core.ffms2.Source('abc.mp4')

clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.COMPATBGR32)

clip = core.avs.NeatVideo_2(clip, ProfilePath, PresetPath)
Odd, seems to work correctly here the whole time. The processing it does is a simple level/color adjustment, right?

Even with a load of seeking. The demo doesn't have some odd frame processing limit?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 30th September 2017, 00:24   #2745  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Myrsloik View Post
Odd, seems to work correctly here the whole time. The processing it does is a simple level/color adjustment, right?

Even with a load of seeking. The demo doesn't have some odd frame processing limit?
It's a denoising filter.

I tested again on both version, seems like the problem only occurs in my older v3.6, doesn't happen in the newer demo v4, while both works fine when loading from avs+.

And I couldn't find an older v3 demo version for you to test on...so I guess I'll just have to update my software.
lansing is offline   Reply With Quote
Old 30th September 2017, 15:38   #2746  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
R39-RC3

Should be final unless other issues are found. Test to see if all the issue you've reported actually are fixed. Will release it in a few days if no problems are found.

Code:
r39:
updated to zimg v2.6
updated pismo file mount runtime to build 188
added offline documentation to the installer
fixed clamping issues in levels filter
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 30th September 2017, 17:00   #2747  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Loading RGB24 clip with avisource still has the upside down bug
lansing is offline   Reply With Quote
Old 30th September 2017, 17:34   #2748  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
There are top-down and bottom-up DIB's, IIRC...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 30th September 2017, 17:42   #2749  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by lansing View Post
Loading RGB24 clip with avisource still has the upside down bug
Right, I'll take a look at that too. Can't remember if I tried to flip things correctly or not in avisource...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 30th September 2017, 18:16   #2750  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by lansing View Post
Loading RGB24 clip with avisource still has the upside down bug
I need a sample to debug this. It should be doing the right thing already.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 30th September 2017, 18:27   #2751  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Myrsloik View Post
I need a sample to debug this. It should be doing the right thing already.
http://www.mediafire.com/file/r7lrydac2f6u8b4/rgb24.avi
lansing is offline   Reply With Quote
Old 4th October 2017, 12:54   #2752  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
I have hard times compiling r38 (as well as master) on Debian 8: https://pastebin.com/X8YZ7bEm
Is gcc 4.9 too old for it?
DJATOM is offline   Reply With Quote
Old 4th October 2017, 13:07   #2753  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by DJATOM View Post
I have hard times compiling r38 (as well as master) on Debian 8: https://pastebin.com/X8YZ7bEm
Is gcc 4.9 too old for it?
Too old ffmpeg probably
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 4th October 2017, 15:13   #2754  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Managed to build and install VS using ffmpeg from git, thanks for suggestion.
DJATOM is offline   Reply With Quote
Old 7th October 2017, 22:48   #2755  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
R39 released. Important changes listed here.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 8th October 2017, 04:13   #2756  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
thank you.
hydra3333 is offline   Reply With Quote
Old 8th October 2017, 07:29   #2757  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Quote:
Originally Posted by Myrsloik View Post
Glorious changes:
Code:
r39:
...
switched to nasm as the assembler
...
OK, thank you.

Having previously rebuilt avisynth_compat.cpp a few times, I thought I'd give it a go again (the solution relied on yasm) . The updated build instructions say
Quote:
Needs Visual Studio 2017 and vsnasm (https://github.com/ShiftMediaProject/VSNASM)
So I downloaded VSNASM. Following instructions, in it's readme,
Quote:
The project provides a basic installer script that can automatically detect any installed Visual Studio 2013, 2015 or 2017 installation and then install the required components. To use this script simply run 'install_script.bat' from an elevated command prompt.
the 'install_script.bat' failed - it couldn't find vs2017 - so I will give the manual nasm install a go, unless you have other suggestions ?
hydra3333 is offline   Reply With Quote
Old 8th October 2017, 12:36   #2758  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
I think the trick is to run it from a vs2017 command prompt to make it find the proper install path
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 8th October 2017, 14:09   #2759  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Quote:
Originally Posted by Myrsloik View Post
I think the trick is to run it from a vs2017 command prompt to make it find the proper install path
Updated VS2017, rebooted, did it -
Code:
c:\temp\VSNASM-master\install_script.bat"
Detected 64 bit system running 32 bit shell...
Existing Visual Studio environment detected...
Access is denied.
The system cannot find the file specified.
The system cannot find the path specified.
Installing build customisations...
Error: Failed to copy build customisations
   Ensure that this script is run in a shell with the necessary write privileges
Press any key to continue . . .
if it's not one thing it's another ....

So, tried under a standard admin cmd box again and it nearly worked.
Code:
Detected 64 bit system...
Visual Studio 2015 environment detected...
Error: Failed to get location of msbuild
Press any key to continue . . .
FFS.
hydra3333 is offline   Reply With Quote
Old 8th October 2017, 14:18   #2760  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Admin vs2017 prompt obviously
__________________
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 07:57.


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