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 14th November 2018, 12:49   #3201  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by Wolfberry View Post
Please update the doc to R45
Done. But not really any big changes...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th November 2018, 16:39   #3202  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
I don't know if this is a bug or just me, when I opened a script with avfs.exe, pressing crtl+c did not exit the program.
lansing is offline   Reply With Quote
Old 24th November 2018, 16:41   #3203  |  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 don't know if this is a bug or just me, when I opened a script with avfs.exe, pressing crtl+c did not exit the program.
It's an exciting new bug. Python 3.7 probably changed something about how it's handled.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 5th December 2018, 02:01   #3204  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Finally upgraded to R45 (from R32 even). I can no longer mount my .vpy scripts, though. I have the AV FileSystem, and the Pismo filesystem. What am I missing?
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 5th December 2018, 03:09   #3205  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by asarian View Post
Finally upgraded to R45 (from R32 even). I can no longer mount my .vpy scripts, though. I have the AV FileSystem, and the Pismo filesystem. What am I missing?
is script valid ?
vspipe --info script.vpy -

is there error message?

are you using current avfs.exe that came with vapoursynth?
poisondeathray is offline   Reply With Quote
Old 5th December 2018, 03:27   #3206  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by poisondeathray View Post
is script valid ?
vspipe --info script.vpy -

is there error message?

are you using current avfs.exe that came with vapoursynth?

Thx for the swift reply.

Yes, the script is valid:

Code:
F:\jobs>vspipe --info test.vpy -
Width: 720
Height: 480
Frames: 6307
FPS: 30000/1001 (29.970 fps)
Format Name: YUV420P8
Color Family: YUV
Alpha: No
Sample Type: Integer
Bits: 8
SubSampling W: 1
SubSampling H: 1
Core freed but 537600 bytes still allocated in framebuffers
Also, I can simply run avfs.exe test.vpy, and it will mount the .vpy file. What I can no longer do, though, is 'contextually' mount it, with the Pismo system (right-click, and mount the script), like I used to be able to.


And yes, I use the 119 KB avfs.exe that the R45 (apparently) installed.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 5th December 2018, 03:56   #3207  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by asarian View Post

Also, I can simply run avfs.exe test.vpy, and it will mount the .vpy file. What I can no longer do, though, is 'contextually' mount it, with the Pismo system (right-click, and mount the script), like I used to be able to.
It doesn't use Pismo anymore, or the context menu

The older Pismo context menu still can work for avs scripts (I have it concurrently working for 32bit), I don't think it can run vpy scripts (or maybe it can run 32bit vapoursynth, not sure)
poisondeathray is offline   Reply With Quote
Old 5th December 2018, 05:31   #3208  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Yeah the right click->quick mount context menu is missing now, what I do now is make a avfs.exe shortcut and paste it into folders where I need it, and then just drag the vpy into the shortcut to mount it.
lansing is offline   Reply With Quote
Old 5th December 2018, 05:51   #3209  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by lansing View Post
Yeah the right click->quick mount context menu is missing now, what I do now is make a avfs.exe shortcut and paste it into folders where I need it, and then just drag the vpy into the shortcut to mount it.

Aww, too bad that functionality is gone: I really liked it. Thx guys.

Good tip on the shortcut, btw. Thx.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 9th December 2018, 12:08   #3210  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
LinuxMint make process fails

Hi Myrsloik,

I am trying to build vapoursynth from git repo on LinuxMint 19 Tara (distro is based upon Ubuntu 18.04) and followed your instructions carefully. Btw, your required packages are missing one component automake which was easy to discover and install. I also cloned and built latest zimg without problems.
I autogenerated and configured your cloned repo successfully but make process fails with some cython error, complete make log is pasted here. Also, there are lots of warnings too

Please advice how to rectify this problem,
kypec is offline   Reply With Quote
Old 9th December 2018, 12:47   #3211  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by kypec View Post
Hi Myrsloik,

I am trying to build vapoursynth from git repo on LinuxMint 19 Tara (distro is based upon Ubuntu 18.04) and followed your instructions carefully. Btw, your required packages are missing one component automake which was easy to discover and install. I also cloned and built latest zimg without problems.
I autogenerated and configured your cloned repo successfully but make process fails with some cython error, complete make log is pasted here. Also, there are lots of warnings too

Please advice how to rectify this problem,
Cython compilation errors usually mean the cython version is too old. Update cython with pip to the latest version.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 9th December 2018, 15:16   #3212  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by Myrsloik View Post
Cython compilation errors usually mean the cython version is too old. Update cython with pip to the latest version.
Thanks for the hint but I don't know how precisely am I supposed to update my cython. I have tried the following:
Code:
kypec@acer:~/vapoursynth$ pip install Cython
Collecting Cython
  Downloading https://files.pythonhosted.org/packages/b3/b8/31ce8eb5fc8dd7a8900d0bc7ed4291fc823e7356c9db136c208d74b04353/Cython-0.29.1-cp27-cp27mu-manylinux1_x86_64.whl (2.0MB)
    100% |████████████████████████████████| 2.0MB 600kB/s 
Installing collected packages: Cython
Successfully installed Cython-0.29.1
kypec@acer:~/vapoursynth$ cython3 --version
Cython version 0.26.1
Then I tried:
Code:
kypec@acer:~/vapoursynth$ pip install --upgrade Cython
Collecting Cython
  Using cached https://files.pythonhosted.org/packages/b3/b8/31ce8eb5fc8dd7a8900d0bc7ed4291fc823e7356c9db136c208d74b04353/Cython-0.29.1-cp27-cp27mu-manylinux1_x86_64.whl
Installing collected packages: Cython
Successfully installed Cython-0.29.1
kypec@acer:~/vapoursynth$ cython3 --version
Cython version 0.26.1
Although the install/upgrade process reports success, the version check always yields Cython version 0.26.1

How the heck is one supposed to UPGRADE that package then?
kypec is offline   Reply With Quote
Old 9th December 2018, 18:57   #3213  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Kypec,
I tried install of VS some time ago, (and eventually gave up as Ubuntu apparently had some packages missing/broken),
but see here (pip3), maybe it helps, no idea (linux/VS virgin):- https://forum.doom9.org/showthread.p...92#post1794992

EDIT: Ill probably try again on Mint & Gentoo soon.
[pip3 = python v3.xx version of pip(v2.7)]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 9th December 2018 at 20:32.
StainlessS is offline   Reply With Quote
Old 9th December 2018, 20:19   #3214  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
You have to install Cython to the system, not the user area. Use sudo with pip/pip3.

Or just use the package from Ubuntu 18.10 and install it with dpkg.
qyot27 is offline   Reply With Quote
Old 10th December 2018, 12:58   #3215  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Thank you StainlessS & qyot27 for suggestions. Yes, I fixed the problem by using pip3 install --upgrade cython instead of (legacy?) pip but forgot to reply here. The last obstacle was to resolve issues with environment variables LD_LIBRARY_PATH and PYTHONPATH but finally -> vspipe runs as expected!
kypec is offline   Reply With Quote
Old 20th January 2019, 15:55   #3216  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Is there a Vapoursynth plugin which can show the wave front of an audio clip? (I'd like to see the wave front when deciding there to cut/trim a source.)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 22nd January 2019, 14:16   #3217  |  Link
F1nkster
Registered User
 
Join Date: Sep 2011
Location: King of Prussia, PA
Posts: 19
Having an issue on Win10 using a custom Python library path with VapourSynth. I add the path to PYTHONPATH and everything works fine from the Python CLI. I then go into VSEdit and add the path in Settings. It works fine only when I run VSEdit as Admin. It fails to find my libraries if I run as my normal user account.

At first, I thought it was an issue with VSEdit. However, I am having the same problem loading a VPY script into VDub2. I have to run VDub2 as Admin for the custom path to work, which makes me think there's something else going on beyond VSEdit.

I gave my user account full rights to the Python37, VapourSynth, and VapourSynth Editor directories and everything in them. And my account already has full access to the custom library path. I reinstalled Python37 with support for All Users. None of this helped.

Btw, my normal user account works fine with the standard Python37\Lib\site-packages\vapoursynth directory. No issues there. So that's my fallback.

Just seeing if anyone else has thoughts.
F1nkster is offline   Reply With Quote
Old 25th January 2019, 04:38   #3218  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Is there any on going issues currently with Windows 10 that's causing any kind of issues with Python or VapourSynth? It seems like I'm doing nothing but fighting with these two parts. I checked Registry and file locations everything is pointing to the correct path / files. Not even VS Editor wants to load now.

Last night it was fine, then when I booted up today nothing. I know last night Windows updated something, along with VS 2017.
Revan654 is offline   Reply With Quote
Old 25th January 2019, 20:01   #3219  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Finally Fixed it after hours of Playing around with python. It worked after I installed Numpy & Pillow.
Revan654 is offline   Reply With Quote
Old 26th January 2019, 09:20   #3220  |  Link
_Al_
Registered User
 
Join Date: May 2011
Posts: 321
crash

Hi, I know this is wrong:
clip = core.resize.Bicubic(clip, vs.RGB24)
but it causes crash for all apps loading script, that error is not caught by script evaluations, perhaps vs.RGB24 is being loaded into wrong place. It gives out legit VideoNode though. RAM overruns even with core.max_cache_size set.
_Al_ 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 22:37.


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