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 5th August 2016, 18:56   #2181  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Okay...
Where's test5?
feisty2 is offline   Reply With Quote
Old 5th August 2016, 19:38   #2182  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,148
@myrsloik: any chance for a portable version of the test6 ?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th August 2016, 20:03   #2183  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
Quote:
Originally Posted by Selur View Post
@myrsloik: any chance for a portable version of the test6 ?
Maybe when I reach RC stage. Still have to test so many things. But at least I'm done with all new features for R33... I think.

QTGMC (and other complex scripts) speed comparisons with R32 are also welcome. I'm curious how bug different it makes. Just remember to replace the relevant removegrainmodes first.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 5th August 2016, 20:30   #2184  |  Link
~SimpleX~
Registered User
 
Join Date: Feb 2010
Location: Saint-Petersburg, Russia
Posts: 38
Myrsloik, could you please fix PlaneStats (average/diff)? I'd like to use it in SmartFade function (which compares average luma of top/bottom fields).
~SimpleX~ is offline   Reply With Quote
Old 5th August 2016, 20:47   #2185  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
Quote:
Originally Posted by ~SimpleX~ View Post
Myrsloik, could you please fix PlaneStats (average/diff)? I'd like to use it in SmartFade function (which compares average luma of top/bottom fields).
Fix what? It's correct. Or you at least have to describe why you think it sin't correct.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 5th August 2016, 21:08   #2186  |  Link
~SimpleX~
Registered User
 
Join Date: Feb 2010
Location: Saint-Petersburg, Russia
Posts: 38
Why abs(f[0].props.PlaneStatsAverage - f[1].props.PlaneStatsAverage) is not the same with the PlaneStatsDiff generated by core.std.PlaneStats(clip1, clip2, plane=0)?
I've asked that one page ago.
~SimpleX~ is offline   Reply With Quote
Old 5th August 2016, 21:17   #2187  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
Quote:
Originally Posted by ~SimpleX~ View Post
Why abs(f[0].props.PlaneStatsAverage - f[1].props.PlaneStatsAverage) is not the same with the PlaneStatsDiff generated by core.std.PlaneStats(clip1, clip2, plane=0)?
I've asked that one page ago.
Because that's not how a per pixel difference is calculated
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 5th August 2016, 21:21   #2188  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by ~SimpleX~ View Post
Myrsloik, could you please fix PlaneStats (average/diff)? I'd like to use it in SmartFade function (which compares average luma of top/bottom fields).
Maybe this helps: https://github.com/dubhater/Wobbly/b...lyJob.cpp#L280
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 5th August 2016, 22:21   #2189  |  Link
~SimpleX~
Registered User
 
Join Date: Feb 2010
Location: Saint-Petersburg, Russia
Posts: 38
Quote:
Originally Posted by Myrsloik View Post
Only planestats gives the correct value. The planeaverage way is wrong. I think I brainfarted when I wrote that lpng ago.
Then I didn't understand what you meant here. Sorry.

Quote:
Originally Posted by jackoneill View Post
Yup, thanks. That's close to my function, but I like the code.
~SimpleX~ is offline   Reply With Quote
Old 18th August 2016, 21:32   #2190  |  Link
aculnaig
Registered User
 
Join Date: May 2016
Posts: 7
Can't build VapourSynth

VapourSynth latest git.
zimg latest git.

Give me this.

Code:
CXX      src/core/libvapoursynth_la-vsresize.lo
src/core/vsresize.cpp: In constructor ‘{anonymous}::vszimg::vszimg(const VSMap*, void*, VSCore*, const VSAPI*)’:
src/core/vsresize.cpp:747:69: error: ‘NAN’ was not declared in this scope
                 src_left = propGetScalarDef<double>(in, "src_left", NAN, vsapi);
                                                                     ^~~
make: *** [Makefile:1457: src/core/libvapoursynth_la-vsresize.lo] Error 1

GCC info

Code:
gcc --version


gcc (GCC) 6.1.1 20160802
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

EDIT --> Rolling back to commit f96db59 compile fine

Last edited by aculnaig; 18th August 2016 at 21:44.
aculnaig is offline   Reply With Quote
Old 19th August 2016, 16:05   #2191  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
@Myrsloik
http://forum.doom9.org/showthread.php?t=173470
http://forum.doom9.org/showthread.php?t=173703
these 2 modules I wrote are well documented and seem to be bug free for now after series of different tests..
can you add them to the plugin list?
feisty2 is offline   Reply With Quote
Old 19th August 2016, 17:50   #2192  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
It's time for the glorious R33 RC1!

It's now mostly compiled with clang-cl which should give slightly better performance and hopefully no new bugs either. Note that the internal resizers now have reached feature parity with fmtconv apart from a few of the more exotic dithering methods.

And remember to STOP USING REMOVE GRAIN (sometimes)

Changes:
Code:
r33:
added autoadjust to prefetch list
the resizers can now have the active image region specified to do things like subpixel shifts and cropping
genericfilters is no longer included with the installer and has been deprecated for a long time, if you for some reason miss canny simply use the tcanny plugin instead for a better implementation
assvapour was renamed to subtext and now supports bitmap subtitles as well (jackoneill)
alternative python installations can now be selected when installing on windows, note that there many pitfalls when not using python from python.org
the rshift argument of sobel/prewitt is now deprecated because it's pointless, simply scale the min and max args as appropriate
optimized minimum, maximum, median, deflate, inflate, convolution (1x3, 3x1 and 3x3) on x86 cpus
added float support to minimum, maximum, median, deflate, inflate, convolution, prewitt, sobel, invert, limiter, binarize and levels functions, note that most of the arguments have been changed from int to float
the whole project can now be compiled with clang-cl under windows
directshowsource from recent avs+ can now be used
fixed swapped uv planes with yuv411 output in vsvfw and avfs
merged vsfs with the latest version of avfs, avfs now work for both vapoursynth and avisynth scripts and no longer has shell integration
avisource can now open all formats vsvfw can output plus b48r
fixed corrupted output in vfm when clip2 isn't 8 bit
fixed crash due to stack overflow if an extremely long filter graph is freed
now installs the vs2015 update 3 runtimes on windows
vsvfw will now automatically convert rgb24 to packed bgra for convenience
added b64a and P416 output to vsvfw
updated to zimg v2.2 branch
mixed imwri fixes
fixed rare access violation in expr when ternary operator is used (jackoneill)
As usual speed comparisons with R32 are welcome. Especially with scripts with fmtconv and removegrain replaced.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th August 2016, 17:57   #2193  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
Quote:
Originally Posted by feisty2 View Post
@Myrsloik
http://forum.doom9.org/showthread.php?t=173470
http://forum.doom9.org/showthread.php?t=173703
these 2 modules I wrote are well documented and seem to be bug free for now after series of different tests..
can you add them to the plugin list?
Vine I'll add but something that even calls itself placebo is something I'm not so sure would be useful to others...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th August 2016, 18:40   #2194  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by Myrsloik View Post
Vine I'll add but something that even calls itself placebo is something I'm not so sure would be useful to others...
I found that performance boost without serious quality degradation is possible for Oyster recently, so keeping the temporal radius 6 for Oyster.Basic and setting a smaller radius like 3 or 2 in other functions gave me at least 10x speed boost! speed could be further revved by using 0.5 pixel precision motion estimation instead of 0.25 pixel precision stuff, and MVTools' internal resampling function instead of NNEDI

and besides, it could also be useful if someone has some short and precious footage that suffers from compression artifacts, in this case people care much less about performance and much more about quality, like movies that were shot mostly on 35mm but a few scenes on 70mm IMAX because those scenes are valuable and deserve better

or maybe someone like me finds it interesting and would like to toy or experiment with it...
feisty2 is offline   Reply With Quote
Old 19th August 2016, 19:26   #2195  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,148
Quote:
It's time for the glorious R33 RC1!
Portable version too ?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 19th August 2016, 19:28   #2196  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
Quote:
Originally Posted by Selur View Post
Portable version too ?
32bit

64bit
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th August 2016, 19:28   #2197  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,148
Thanks!
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 20th August 2016, 09:01   #2198  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
https://github.com/IFeelBloated/vapo...eleases/tag/r4
windows binaries(x86+x64 with no extension) for spatialsoften and temporalsoften
I messed around with LLVM a while ago and the binary it generated was slower than msvc binary...
feisty2 is offline   Reply With Quote
Old 21st August 2016, 12:19   #2199  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,530
R33 RC2

Possibly fixes some newly introduced resizing issues

Will post a portable version after things are confirmed to actually be fixed
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet

Last edited by Myrsloik; 21st August 2016 at 12:24.
Myrsloik is offline   Reply With Quote
Old 21st August 2016, 12:20   #2200  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,148
Portable version too ?
__________________
Hybrid here in the forum, homepage
Selur 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 06:29.


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