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 27th June 2019, 22:14   #3441  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
R46 is released. Here's the usual blog post with a summary of the important changes.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 27th June 2019, 23:01   #3442  |  Link
fAy01
Registered User
 
Join Date: Jun 2010
Posts: 91
Quote:
Originally Posted by Myrsloik View Post
R46 is released. Here's the usual blog post with a summary of the important changes.


Could you please label the 32bit and 64bit packages.



Do I have to reinstall Python? Can I bypass it somehow?
fAy01 is offline   Reply With Quote
Old 27th June 2019, 23:29   #3443  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
It should be OK when you re-run the VS installer and select 'Install for me only'.
stax76 is offline   Reply With Quote
Old 28th June 2019, 20:52   #3444  |  Link
fAy01
Registered User
 
Join Date: Jun 2010
Posts: 91
Quote:
Originally Posted by stax76 View Post
It should be OK when you re-run the VS installer and select 'Install for me only'.
Doesn't work for 64bit installer.
fAy01 is offline   Reply With Quote
Old 1st July 2019, 00:28   #3445  |  Link
~ VEGETA ~
The cult of personality
 
~ VEGETA ~'s Avatar
 
Join Date: May 2013
Location: Planet Vegeta
Posts: 155
I want to encode a bluray interlaced material in vapoursynth but I cannot use the .dgm file generated by dgavcindex. I even always fail to LoadPlugin it as avs plugin for no obvious reason (I tried all path shapes).

Is there anyway I can do it?

Here is my script: https://pastebin.com/VmenRNmh

BTW, I am trying to solve combing issue which is why I got to the IVTC function in there...

Last edited by ~ VEGETA ~; 1st July 2019 at 00:43.
~ VEGETA ~ is offline   Reply With Quote
Old 1st July 2019, 09:41   #3446  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Just pick LWLibavSource for interlaced blu-rays if you can't use DGSource.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 1st July 2019, 11:03   #3447  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by ~ VEGETA ~ View Post
I want to encode a bluray interlaced material in vapoursynth but I cannot use the .dgm file generated by dgavcindex. I even always fail to LoadPlugin it as avs plugin for no obvious reason (I tried all path shapes).
You should get an error message from avs.LoadPlugin, though. What does it say?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 4th July 2019, 19:55   #3448  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
I've some problems with the update from R45 -> R46.
After installing R46 (for single user), none of the applications like VSEdit R19, VSRepoGUI can find my vapoursynth install.
My own compiled ffmpeg (--enable-vapoursynh) give my an error like "can not find VSScript.dll" upon starting.
VirtDUP can no longer open a .vpy script.

My Registry contains the correct keys as far as I know :
Code:
[HKEY_CURRENT_USER\Software\VapourSynth]
"Version"="R46"
"Path"="C:\\Users\\patri\\AppData\\Local\\Programs\\VapourSynth"
"CorePlugins"="C:\\Users\\patri\\AppData\\Local\\Programs\\VapourSynth\\core\\plugins"
"Plugins"="C:\\Users\\patri\\AppData\\Local\\Programs\\VapourSynth\\plugins"
"VapourSynthDLL"="C:\\Users\\patri\\AppData\\Local\\Programs\\VapourSynth\\core\\vapoursynth.dll"
"VSScriptDLL"="C:\\Users\\patri\\AppData\\Local\\Programs\\VapourSynth\\core\\vsscript.dll"
"PythonPath"="C:\\Users\\patri\\AppData\\Local\\Programs\\Python\\Python37\\"
Never had any problems with any previous updates, so I don't know what to do next ....
After adding "C:\Users\patri\AppData\Local\Programs\VapourSynth\core" to my PATH, I can run my own compiled FFmpeg & MPV again.
Also VSPIPE is working fine : I get correct output from my scripts.
Python 3.70 is in my path and produces a correct list from all my plugins.
Also the normal vsrepo can install plugins and list the available plugins versus the installed.

Where do things like VSRepoGUI/VSEdit look for the installation ? Apparently not at my registry key .....
Also why is the VFW module not working ? It looks like the system is unable to find it...

Any clues to continue from here ?
I've already uninstalled and reinstalled several times, but no avail..
Pat357 is offline   Reply With Quote
Old 4th July 2019, 20:15   #3449  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I would like to request a setup option (enabled by default for user setup) to add vspipe to the PATH environment variable on Windows if it's not already available. As far as I know modifying user PATH does not require elevated privileges, nor does it require a reboot.
stax76 is offline   Reply With Quote
Old 4th July 2019, 23:01   #3450  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by Pat357 View Post
I've some problems with the update from R45 -> R46.
After installing R46 (for single user), none of the applications like VSEdit R19, VSRepoGUI can find my vapoursynth install.
My own compiled ffmpeg (--enable-vapoursynh) give my an error like "can not find VSScript.dll" upon starting.
VirtDUP can no longer open a .vpy script.

My Registry contains the correct keys as far as I know :
Code:
...
Never had any problems with any previous updates, so I don't know what to do next ....
After adding "C:\Users\patri\AppData\Local\Programs\VapourSynth\core" to my PATH, I can run my own compiled FFmpeg & MPV again.
Also VSPIPE is working fine : I get correct output from my scripts.
Python 3.70 is in my path and produces a correct list from all my plugins.
Also the normal vsrepo can install plugins and list the available plugins versus the installed.

Where do things like VSRepoGUI/VSEdit look for the installation ? Apparently not at my registry key .....
Also why is the VFW module not working ? It looks like the system is unable to find it...

Any clues to continue from here ?
I've already uninstalled and reinstalled several times, but no avail..
You installed for the current user only. This puts the registry entries in HKCU instead of HKLM which most likely is why they can't be found by existing applications. You'll simply have to wait for them to be updated and point out this (optional on install) change to them.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 5th July 2019, 19:15   #3451  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by stax76 View Post
I would like to request a setup option (enabled by default for user setup) to add vspipe to the PATH environment variable on Windows if it's not already available. As far as I know modifying user PATH does not require elevated privileges, nor does it require a reboot.
Create an issue for it and maybe I'll do it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th July 2019, 14:46   #3452  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Hmm so installed R46 32+64bit in a vm, only per user installation. 32 first then 64. But only the 32bit version seems to work. (I also restarted the pc)
See here: https://i.imgur.com/QFUOxBu.png

What can I do to "debug" this further?

EDIT
vs 32 has no vsvfw.dll?
https://i.imgur.com/2m1WwyT.png

Re-install of VS64 didn't help.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 7th July 2019 at 15:00.
ChaosKing is offline   Reply With Quote
Old 7th July 2019, 16:17   #3453  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
I uninstalled Vapoursynth and Python completely.
Then installed Python 3.7.1 followed by Vapoursynth 64-R46
Worked fine
Then I upgraded Python to 3.7.3
This way you get to select per user or all users mode
gonca is offline   Reply With Quote
Old 8th July 2019, 13:44   #3454  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
Hmm so installed R46 32+64bit in a vm, only per user installation. 32 first then 64. But only the 32bit version seems to work. (I also restarted the pc)
See here: https://i.imgur.com/QFUOxBu.png

What can I do to "debug" this further?

EDIT
vs 32 has no vsvfw.dll?
https://i.imgur.com/2m1WwyT.png

Re-install of VS64 didn't help.
I tested this in a clean VM and vsvfw.dll is installed properly.

Loading the module also worked fine in both cases. I have no idea what you're doing wrong.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 8th July 2019, 14:13   #3455  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Import notice regarding installs:

PYTHON FROM THE MS STORE DOES NOT WORK

Installing the Python module with the "--user" option in pip ALSO DOES NOT WORK (for example if you want to have VapourSynth in multiple Python environments)

I think I'll finally look into the possibility of (optionally) installing python.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 9th July 2019, 07:37   #3456  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Because of the "not installed for all users" problem, I uninstalled Python, reinstalled 3.7.3 for all users and then updated VS to R46 (64-bit). Now when I try to import a function, I just get an error "Python exception: No module named 'resamplehq'". In registry, the Python path seems ok and also all my .py files are in their usual location, in C:\Program Files\Python37\Lib\site-packages\vapoursynth.

EDIT: Looks like it's missing the __init__.py file from that Python directory?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...

Last edited by Boulder; 9th July 2019 at 07:45.
Boulder is offline   Reply With Quote
Old 9th July 2019, 12:01   #3457  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Myrsloik View Post
I tested this in a clean VM and vsvfw.dll is installed properly.

Loading the module also worked fine in both cases. I have no idea what you're doing wrong.
I tested it again. Fresh installation in a VM with windows Pro 1903 x64 (created by the MediaCreationTool1903.exe tool from ms)

Vapoursynth 32 didn't work after installing it as a per user installation.

See video here: https://www.dropbox.com/s/a2humc9d4l...32err.mp4?dl=0

(watch with 1.5x speed ;-))
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 9th July 2019, 13:29   #3458  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
I tested it again. Fresh installation in a VM with windows Pro 1903 x64 (created by the MediaCreationTool1903.exe tool from ms)

Vapoursynth 32 didn't work after installing it as a per user installation.

See video here: https://www.dropbox.com/s/a2humc9d4l...32err.mp4?dl=0

(watch with 1.5x speed ;-))
I tried exactly the same thing on win10 1903 x64 home and it worked. I did install all updates first but that's the only thing that's possibly different.

Can you verify that you have the vs2019 (or possibly 2017) installed? Not having it could make it fail to load I guess.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 9th July 2019, 14:44   #3459  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Yep that was it. After installing vcredist x86 2019 (14.21.xxx) it worked.

EDIT0:
And the runtimes are not shown in this installer bcs they can't be installed with user, rights!?



EDIT1
And I think there is a python installer bug or maybe I'm understanding it wrong. Vapoursynth detects it as a "per user installation" and not "for everyone".


EDIT2:
OK I can click on "Install for all users" in customize installation. So python launcher and python are two seperate things I guess!?
The thing is, on my PC it shows always the "for all users" option by default.

__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 9th July 2019 at 15:50.
ChaosKing is offline   Reply With Quote
Old 13th July 2019, 13:21   #3460  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Quote:
Originally Posted by Boulder View Post
Because of the "not installed for all users" problem, I uninstalled Python, reinstalled 3.7.3 for all users and then updated VS to R46 (64-bit). Now when I try to import a function, I just get an error "Python exception: No module named 'resamplehq'". In registry, the Python path seems ok and also all my .py files are in their usual location, in C:\Program Files\Python37\Lib\site-packages\vapoursynth.

EDIT: Looks like it's missing the __init__.py file from that Python directory?
Is there any way to make the 64-bit R46 installation work properly? R45 also seems to create a symlink to that Python directory and installs a .pyd file there as well. Installation of R46 didn't do either of those things.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder 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 16:59.


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