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 25th October 2014, 08:07   #61  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by HolyWu View Post
Could you please make the editor show the call tips as well when the users type any character within the filter's parenthesis?
Yes, I can. Just realized that's the way I should have done it from the beginning. Autocompletion for function name only and a tooltip for the arguments.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 8th December 2014, 15:07   #62  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
r4 is finally out with few fundamental changes.
Custom font is not embedded.
Preview is now done completely internally. ALL formats recognized by VapourSynth are supported.
Chroma upsampling is done using zimg library, which adds some little quirks.
Make sure you explore the new settings in preview window and use the right colorspace conversion matrix for each script.

Also, I think this thread deserves to be sticky.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 8th December 2014, 19:09   #63  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
the 32bit version crash on start, and where should we install the zimg library? The original post didn't say anything.
lansing is offline   Reply With Quote
Old 8th December 2014, 19:13   #64  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by lansing View Post
the 32bit version crash on start, and where should we install the zimg library? The original post didn't say anything.
zimg library code is integrated, so you don't need to install it for the editor. It doesn't crash for me. I'll test 32bit version in virtual machine again.
Upd: Test works perfectly fine. Try to download and install VapourSynth R25 again. There were versions that made the editor crash.
__________________
...desu!

Last edited by Mystery Keeper; 8th December 2014 at 19:25.
Mystery Keeper is offline   Reply With Quote
Old 8th December 2014, 19:30   #65  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Mystery Keeper View Post
zimg library code is integrated, so you don't need to install it for the editor. It doesn't crash for me. I'll test 32bit version in virtual machine again.
Upd: Test works perfectly fine. Try to download and install VapourSynth R25 again. There were versions that made the editor crash.
Yup I just found that out, installed r25 and the problems went away. You may want to modify the error message to inform the users to use the correct vapoursynth version.
lansing is offline   Reply With Quote
Old 8th December 2014, 19:41   #66  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Modify which error message? It doesn't really care for what VS library it uses as long as API is compatible. The crash was caused by "tcmalloc" library that VS now uses overriding standard functions.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 8th December 2014, 19:57   #67  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
When I was using the outdated vapoursynth version before, there's a warning message saying that I need to set up the library folder path.
lansing is offline   Reply With Quote
Old 8th December 2014, 20:04   #68  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
That happened because it couldn't load vapoursynth.dll, which used dynamically linked tcmalloc. That breaks autocompletion and syntax highlighting, but not preview. That error means "I could not find an instance of vapoursynth.dll that I could load".
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 8th December 2014, 20:05   #69  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by lansing View Post
When I was using the outdated vapoursynth version before, there's a warning message saying that I need to set up the library folder path.
The experimental builds don't get their own version so it can't be detected. Experimental versions are so because they may be very broken.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 21st December 2014, 23:37   #70  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Ok, now I have kind of a problem and I don't know exactly who is the culprit, so I'm going to throw it here.

Whenever I try to preview a script with finesharp on vsedit, it tells me something like:

Code:
Failed to evaluate the script:
Python exception: Expr: Failed to convert '9.9' to float
Traceback (most recent call last):
  File "vapoursynth.pyx", line 1480, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:25191)
  File "/home/dani/rule6/stuff/_stuff.py", line 21, in <module>
    f = finesharp.sharpen(clip=src, mode=1, sstr=2)
  File "/usr/lib64/python3.4/site-packages/finesharp.py", line 153, in sharpen
    xyshrp = core.std.Expr(clips=[shrp, core.rgvs.RemoveGrain(clip=shrp, mode=[20])], expr=expr)
  File "vapoursynth.pyx", line 1379, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:23686)
vapoursynth.Error: Expr: Failed to convert '9.9' to float
But I can't see why the code is wrong.

This only happens when Expr is used, it looks like strings get screwed somehow.

vspipe/mpv don't complain about anything, only vsedit does.

Does this make any sense? :/
Are_ is online now   Reply With Quote
Old 21st December 2014, 23:39   #71  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
That's a Python error. Something with your expression.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 21st December 2014, 23:42   #72  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Tell me how this is wrong:
Code:
            expr   = 'x x y - 9.9 * +'
            xyshrp = core.std.Expr(clips=[shrp, core.rgvs.RemoveGrain(clip=shrp, mode=[20])], expr=expr)
Also, I have already said it, vspipe and mpv don't throw any error and proces de video correctly.
Are_ is online now   Reply With Quote
Old 21st December 2014, 23:48   #73  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Sorry, missed the part about vspipe not complaining. I really don't know. I'll try to test expr with vsedit.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 21st December 2014, 23:49   #74  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Code:
import vapoursynth as vs

core = vs.get_core()

src = core.std.BlankClip()

def stuff(clip):
    r = core.std.Expr(clips=clip, expr='x 9.9 +')
    return r

r = stuff(src)

r.set_output()
This will fail in vsedit.
Are_ is online now   Reply With Quote
Old 21st December 2014, 23:51   #75  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
It doesn't fail for me.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 21st December 2014, 23:55   #76  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Mmh... then it has something to do with my box (make sure the thing you tested ended with "r.set_output()" because I ninja edited that part ^^U). :/
Are_ is online now   Reply With Quote
Old 22nd December 2014, 00:05   #77  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
Well, don't worry, it also works for me on windows, something should be wrong in my end.
Are_ is online now   Reply With Quote
Old 22nd December 2014, 00:10   #78  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
Quote:
Originally Posted by Are_ View Post
Code:
import vapoursynth as vs

core = vs.get_core()

src = core.std.BlankClip()

def stuff(clip):
    r = core.std.Expr(clips=clip, expr='x 9.9 +')
    return r

r = stuff(src)

r.set_output()
This will fail in vsedit.
fail for me in linux 64bits, VS 54b97e1

Code:
Failed to evaluate the script:
Python exception: Expr: Failed to convert '9.9' to float
Traceback (most recent call last):
  File "vapoursynth.pyx", line 1480, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:25089)
  File "", line 11, in <module>
  File "", line 8, in stuff
  File "vapoursynth.pyx", line 1379, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:23584)
vapoursynth.Error: Expr: Failed to convert '9.9' to float

Last edited by sl1pkn07; 22nd December 2014 at 00:38.
sl1pkn07 is offline   Reply With Quote
Old 22nd December 2014, 01:22   #79  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Are you using a locale where the decimal separator isn't a point?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet

Last edited by Myrsloik; 22nd December 2014 at 01:33.
Myrsloik is offline   Reply With Quote
Old 22nd December 2014, 01:35   #80  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
I believe is a ','

edit:
oh, yes, change 9.9 with 9,9 now works

thanks for the point

greetings

Last edited by sl1pkn07; 22nd December 2014 at 01:42.
sl1pkn07 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 08:42.


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