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 15th August 2019, 20:08   #3501  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
R47.2 released. You should definitely update if you use a previous R47 version since it fixes the merge bug introduced when converting everything to intrinsics.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 22nd August 2019, 22:13   #3502  |  Link
chipxtreme
Registered User
 
Join Date: Feb 2019
Posts: 47
Quote:
Originally Posted by Myrsloik View Post
R47.2 released. You should definitely update if you use a previous R47 version since it fixes the merge bug introduced when converting everything to intrinsics.
When I go to update I get Python 3.7 (64 bit) is installed for the current user only. Run the installer again and select "Install for me only" or install Python for all users.

I only have one user on my PC and when I installed Python I selected install for all users. What am I doing wrong?
chipxtreme is offline   Reply With Quote
Old 23rd August 2019, 19:10   #3503  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by chipxtreme View Post
When I go to update I get Python 3.7 (64 bit) is installed for the current user only. Run the installer again and select "Install for me only" or install Python for all users.

I only have one user on my PC and when I installed Python I selected install for all users. What am I doing wrong?
Update from which version? Does it actually work if you select to install for the current user only?

Do you have any registry entries in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.7?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 23rd August 2019, 20:51   #3504  |  Link
chipxtreme
Registered User
 
Join Date: Feb 2019
Posts: 47
Quote:
Originally Posted by Myrsloik View Post
Update from which version? Does it actually work if you select to install for the current user only?

Do you have any registry entries in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.7?
I uninstalled previous version and have since deleted it so not sure which version I had previously. I don't have any registry entries there?
chipxtreme is offline   Reply With Quote
Old 23rd August 2019, 21:04   #3505  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by chipxtreme View Post
I uninstalled previous version and have since deleted it so not sure which version I had previously. I don't have any registry entries there?
Then you've most likely installed python only for the current user...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th August 2019, 03:12   #3506  |  Link
cyaoeu
Registered User
 
Join Date: Jun 2019
Posts: 6
Quote:
Originally Posted by Boulder View Post
The only easy way to make it work was to use the folder which VSRepo uses (%appdata%\Roaming\Python\Python37\site-packages). I've had Python installed in that mentioned directory under Program Files for a long time now but I don't know why it stopped working now.
Thanks! A bit strange that it's %appdata%\Roaming\Python\Python37\site-packages and not %appdata%\Roaming\Python\Python37\site-packages\vapoursynth ...
cyaoeu is offline   Reply With Quote
Old 24th August 2019, 09:51   #3507  |  Link
chipxtreme
Registered User
 
Join Date: Feb 2019
Posts: 47
Quote:
Originally Posted by Myrsloik View Post
Then you've most likely installed python only for the current user...
Install for all users is selected by default and I didn't unselect it.
chipxtreme is offline   Reply With Quote
Old 25th August 2019, 10:30   #3508  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by Stephen R. Savage View Post
Optimized VSynth build for Expr: https://www.sendspace.com/file/xleugj

Benefits of Exprt build:
  • Higher framerate in Exprt-intensive scripts
  • Higher framerate in MaskTools-intensive scripts
  • Lower electricity bill
  • Lower CPU temperature
As a reminder: you need to replace vapoursynth.dll both in the installation path AND in the python module directory (where vapoursynth*.pyd is located)

Typically:
C:\Program Files\VapourSynth\core
AND
C:\Program Files\Python37\Lib\site-packages

Go test this so it can be included in the next official release. And test the MVToolz optimizations too.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th August 2019, 21:27   #3509  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Did the image reader plugin got removed in the newer version? I couldn't call it in vs editor.
lansing is offline   Reply With Quote
Old 26th August 2019, 21:34   #3510  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by lansing View Post
Did the image reader plugin got removed in the newer version? I couldn't call it in vs editor.
It's not included in the installer so maybe you don't have it...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th August 2019, 21:54   #3511  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Myrsloik View Post
It's not included in the installer so maybe you don't have it...
What package is it in now? The vs documentation still listed it as included plugin from the installer.
lansing is offline   Reply With Quote
Old 27th August 2019, 10:19   #3512  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Stephen R. Savage View Post
Optimised VSynth build for Expr: https://www.sendspace.com/file/xleugj

Benefits of Exprt build:
  • Higher framerate in Exprt-intensive scripts
  • Higher framerate in MaskTools-intensive scripts
  • Lower electricity bill
  • Lower CPU temperature
Here are some numbers:
Tested like this
PS D:\> vspipe.exe -p -e 5000 D:\del.vpy .
on a Ryzen 2600, 16GB ram, DVD 720x480 clip

Vinverse seems to consist only of Expr+MakeDiff and therefore has the biggest speedup of ~22%
https://github.com/HomeOfVapourSynth...sfunc.py#L2375

Code:
import havsfunc as haf
clip=haf.DeHalo_alpha(clip)
clip=haf.FineDehalo(clip)
# new build
Output 5001 frames in 16.87 seconds (296.39 fps)
Output 5001 frames in 16.73 seconds (298.98 fps)
Output 5001 frames in 16.84 seconds (296.98 fps)
# old build
Output 5001 frames in 17.04 seconds (293.43 fps)
Output 5001 frames in 17.07 seconds (292.99 fps)
Output 5001 frames in 17.04 seconds (293.51 fps)

clip=haf.srestore(clip)
# new build
Output 5001 frames in 35.41 seconds (141.24 fps)
Output 5001 frames in 35.12 seconds (142.42 fps)
Output 5001 frames in 35.74 seconds (139.94 fps)
# old build
Output 5001 frames in 35.20 seconds (142.07 fps)
Output 5001 frames in 35.24 seconds (141.91 fps)
Output 5001 frames in 35.09 seconds (142.53 fps)

clip=haf.SmoothLevels(clip)
# new build
Output 5001 frames in 10.41 seconds (480.28 fps)
Output 5001 frames in 10.34 seconds (483.86 fps)
Output 5001 frames in 10.33 seconds (484.30 fps)
# old build
Output 5001 frames in 10.66 seconds (469.29 fps)
Output 5001 frames in 10.64 seconds (469.96 fps)
Output 5001 frames in 10.66 seconds (468.97 fps)

clip=haf.Vinverse2(clip)
# new build
Output 5001 frames in 5.12 seconds (977.57 fps)
Output 5001 frames in 5.17 seconds (967.26 fps)
Output 5001 frames in 5.13 seconds (974.39 fps)
# old build
Output 5001 frames in 5.85 seconds (855.08 fps)
Output 5001 frames in 5.86 seconds (853.31 fps)
Output 5001 frames in 5.86 seconds (853.19 fps)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 27th August 2019 at 10:25.
ChaosKing is online now   Reply With Quote
Old 27th August 2019, 17:13   #3513  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
I have notice a new problem with Python 3.7.4 installer that's affecting vs installer. When I'm doing a clean install, if I choose "install now" in python installer, the default installation path would be something like "users\username\appdata\roaming\...", and the default installation path for the vs installer would be "users\username\appdata\local\programs\vapoursynth". But if I choose "custom installation" in python installer, its installation path would be changed to "c:\program files\python37", and the vs installer would also be changed to "c:\program files\vapoursynth".
lansing is offline   Reply With Quote
Old 31st August 2019, 06:23   #3514  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Is there an alternative to AutoAdjust for Vapoursynth?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 31st August 2019, 17:52   #3515  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by Selur View Post
Is there an alternative to AutoAdjust for Vapoursynth?
Not that I know of. Avisynth compatiblity should work though.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 31st August 2019, 18:21   #3516  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Not that I know of. Avisynth compatiblity should work though.
Only on Windows, or should this also work on Linux and I simply don't know how to get it working?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 6th September 2019, 19:59   #3517  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
why is vsscript.dll required to be placed in the same folder with vspipe.exe for the new release?
feisty2 is offline   Reply With Quote
Old 6th September 2019, 20:17   #3518  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by feisty2 View Post
why is vsscript.dll required to be placed in the same folder with vspipe.exe for the new release?
I stopped putting a copy of vsscript.dll in the system directory in R46. Putting things into the system directory is bad.

Changing the vsscript api to match the style of the rest of vs so importing it becomes trivial is on my todo list and will fix it. Some day.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 10th September 2019, 15:56   #3519  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Location: Russia
Posts: 87
Is there a detailed user guide? Of course, I am happy to use QTGMC and other plugins, but there is very little knowledge and information.
Jukus is offline   Reply With Quote
Old 10th September 2019, 18:53   #3520  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by Jukus View Post
Is there a detailed user guide? Of course, I am happy to use QTGMC and other plugins, but there is very little knowledge and information.
There is some documentation: http://www.vapoursynth.com/doc/
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill 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 23:56.


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