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 11th June 2019, 05:05   #3421  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Originally Posted by Myrsloik View Post
I've split it into separate 32 and 64 bit installers simply because it's so much easier. Now I just have to test everything again which is super boring.
Maybe writing a test script in a language you want to learn could be fun?

I didn't expect that you like the idea.

Will be testing it once it's done.
stax76 is offline   Reply With Quote
Old 16th June 2019, 13:11   #3422  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
R46 RC3/4:

64bit
32bit

The installer was reworked quite a bit to split it into two parts. The registry entries for the 32 bit version are now under a key called Vapoursynth-32 instead so they don't overlap in HKCU.

So test all the different combinations of options and report if it works/doesn't work. Especially for the 32 bit version.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet

Last edited by Myrsloik; 19th June 2019 at 22:08.
Myrsloik is offline   Reply With Quote
Old 16th June 2019, 13:28   #3423  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Typo?


EDIT
I can't install VS 32bit on 64bit windows?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 16th June 2019 at 13:32.
ChaosKing is offline   Reply With Quote
Old 16th June 2019, 13:36   #3424  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by ChaosKing View Post
Typo?


EDIT
I can't install VS 32bit on 64bit windows?
Fixed, use the same download link.

Not a typo, just a stylistic choice.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 16th June 2019, 13:51   #3425  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
32 bit (per user install) works great. 64 Bit installer also installed without problems and VS seems to work as usual.

Suggestion: change "Python 3.7" to "Python 3.7 (32-Bit)" in 32 bit installer, as a hint for newbies.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 16th June 2019, 14:31   #3426  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by ChaosKing View Post
32 bit (per user install) works great. 64 Bit installer also installed without problems and VS seems to work as usual.

Suggestion: change "Python 3.7" to "Python 3.7 (32-Bit)" in 32 bit installer, as a hint for newbies.
Makes sense. I've updated the installers with this small change now.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 16th June 2019, 14:45   #3427  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
For me it works (x64 all users), thanks for improving it.
stax76 is offline   Reply With Quote
Old 17th June 2019, 12:17   #3428  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Myrsloik View Post
R46 RC3:

64bit
32bit

The installer was reworked quite a bit to split it into two parts. The registry entries for the 32 bit version are now under a key called Vapoursynth-32 instead so they don't overlap in HKCU.

So test all the different combinations of options and report if it works/doesn't work. Especially for the 32 bit version.
I installed R46 RC 64bit
I got same error with previous version when installed with per user

Quote:
Script evaluation failed:
Python exception: No attribute with the name lsmas exists. Did you mistype a plugin namespace?

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1942, in vapoursynth.vpy_evaluateScript
File "src\cython\vapoursynth.pyx", line 1943, in vapoursynth.vpy_evaluateScript
File "e:\Download\Source\test.vpy", line 6, in <module>
clip = core.lsmas.LWLibavSource(r"E:\Download\Source\test.mkv")
File "src\cython\vapoursynth.pyx", line 1675, in vapoursynth._CoreProxy.__getattr__
File "src\cython\vapoursynth.pyx", line 1537, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name lsmas exists. Did you mistype a plugin namespace?
tuanden0 is offline   Reply With Quote
Old 17th June 2019, 13:55   #3429  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by tuanden0 View Post
I installed R46 RC 64bit
I got same error with previous version when installed with per user
Did you install VS R45 using my installer and did that work?

If you installed it through pip you have a portable version and it autoloads from another directory.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 17th June 2019, 15:00   #3430  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Myrsloik View Post
Did you install VS R45 using my installer and did that work?

If you installed it through pip you have a portable version and it autoloads from another directory.
I installed VS R45 and it work.

I tried to install R46 and can only preview on VSEdit.
So I have to install vapoursynth via pip to get it work again
And the autoload after install via pip is correct at "C:\Program Files (x86)\VapourSynth\plugins64"

Last edited by tuanden0; 17th June 2019 at 15:04.
tuanden0 is offline   Reply With Quote
Old 19th June 2019, 20:46   #3431  |  Link
VS_Fan
Registered User
 
Join Date: Jan 2016
Posts: 98
Quote:
Originally Posted by Myrsloik View Post
R46 RC3:

64bit
32bit
I have tested 64bit without problems. But 32bit installer won't work: After doing some progress installing, it will pop a new window:

Code:
Error creating registry key:
HKEY_LOCAL_MACHINE\'SOFTWARE\Vapoursynth'
RegCreateKeyEx failed; code 87.
The parameter is incorrect.
It will repeatedly pop the same error window if you click on "retry" or "ignore". Leaving "cancel" as the only option, which will rollback any changes made.
VS_Fan is offline   Reply With Quote
Old 19th June 2019, 22:09   #3432  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by Myrsloik View Post
R46 RC3/4:

64bit
32bit

The installer was reworked quite a bit to split it into two parts. The registry entries for the 32 bit version are now under a key called Vapoursynth-32 instead so they don't overlap in HKCU.

So test all the different combinations of options and report if it works/doesn't work. Especially for the 32 bit version.
Link updated with an RC4 installer for 32 bit. Fixes the invalid registry entries when doing all user installs... and shows just how little attention I paid to 32 bit stuff.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 20th June 2019, 16:27   #3433  |  Link
VS_Fan
Registered User
 
Join Date: Jan 2016
Posts: 98
Quote:
Originally Posted by Myrsloik View Post
Link updated with an RC4 installer for 32 bit. Fixes the invalid registry entries when doing all user installs... and shows just how little attention I paid to 32 bit stuff.
Thanks, they are both working. 64bit and 32bit are autoloading plugins respectively from:
  • %ProgramFiles%\VapourSynth\plugins
  • %ProgramFiles(x86)%\VapourSynth-32\plugins
VS_Fan is offline   Reply With Quote
Old 20th June 2019, 16:46   #3434  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
How about a function to report autoloading paths in their respective order? Similar to vsrepo paths.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 20th June 2019, 21:39   #3435  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by ChaosKing View Post
How about a function to report autoloading paths in their respective order? Similar to vsrepo paths.
I don't understand the request. Basically you should only ever use the user autoload dir unless you have some environment set up in advance for lots of people.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 20th June 2019, 22:42   #3436  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
For easier debugging. For example the user tuanden0, with his R45/R46 plugin loading problem, could quickly check which folder is used. I also had 1-2 cases where I just didn't know which of my vapoursynth versions (or which plugin folder, portable+installed) are currently "active".

EDIT:
Quote:
Basically you should only ever use the user autoload dir unless you have some environment set up in advance for lots of people.
user autoload dir = the folder in appdata?

I for example use the plugins64 folder (and custom VS installation). It is a bit annoying to always open the appdata folder. And for newbies even more since appdata is hidden by default.
vsrepo "fixes" it for us, but not for all plugins.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 20th June 2019 at 22:55.
ChaosKing is offline   Reply With Quote
Old 21st June 2019, 16:08   #3437  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Yes, the one in appdata where vsrepo also puts things by default. I've added a convenient shortcut in the start menu in R46.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 25th June 2019, 08:14   #3438  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
If I'm converting a dvd source to rgb, should I be using matrix_in_s="170m" instead of "709"?

Code:
clip = core.resize.Bicubic(clip, matrix_in_s="170m", format=vs.RGBS)
lansing is offline   Reply With Quote
Old 27th June 2019, 15:00   #3439  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by lansing View Post
If I'm converting a dvd source to rgb, should I be using matrix_in_s="170m" instead of "709"?
Short answer: yes (if this is NTSC (US, JP) DVD though)
Longer answer: you shouldn't be using matrix_in_s at all, unless your input clip does not have this property for some reason (which would result in an error) or you are sure your clip is wrong and you want to correct that.

Last edited by Keiyakusha; 27th June 2019 at 15:05.
Keiyakusha is offline   Reply With Quote
Old 27th June 2019, 15:39   #3440  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Keiyakusha View Post
Short answer: yes (if this is NTSC (US, JP) DVD though)
Longer answer: you shouldn't be using matrix_in_s at all, unless your input clip does not have this property for some reason (which would result in an error) or you are sure your clip is wrong and you want to correct that.
I want to apply a lut on the clip inside vs, so I need to make sure I convert it correctly, as I always got confuse with matrix_s and matrix_in_s.
lansing 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 15:14.


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