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 6th June 2019, 20:32   #3401  |  Link
bjoker
Registered User
 
Join Date: Jan 2013
Posts: 50
Quote:
Originally Posted by Boulder View Post
Usually the safety shutdown temp is much higher than where some CPU-intensive application causes hangs. It's what any overclocker sees when they start finding the limits of the chip.
Thank you! You are right, it IS CPU heating issue as I solved it by disabling Overclocking my CPU (its base clock is 3.4GHz and i did OC'ed to 4GHz earlier).
Now after disabling OC, there're no more hangs. Everything works perfectly! Perhaps I could do OC to 3.7GHz again and retry.

Quote:
Originally Posted by Myrsloik View Post
I recommen using occt to really test stability. I think it changed a bit in the most recent version but avx2 linpack is what I like to use to test stability. Note that the CPU usage percentage isn't a perfect indicator of actual load. It's actually really shit.
when I run occt on my AMD threadripper, it tries to open/run but closes on its own without any error. It does NOT run. Is this tool for Intel CPUs only? It ran fine on my Intel CPU laptop.

Last edited by bjoker; 6th June 2019 at 20:40.
bjoker is offline   Reply With Quote
Old 7th June 2019, 01:17   #3402  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by bjoker View Post
Thank you! You are right, it IS CPU heating issue as I solved it by disabling Overclocking my CPU (its base clock is 3.4GHz and i did OC'ed to 4GHz earlier).
Now after disabling OC, there're no more hangs. Everything works perfectly! Perhaps I could do OC to 3.7GHz again and retry.
I'm suspecting a thermal paste issue. You'll need to apply new thermal paste every couple of years to keep it fresh.
lansing is offline   Reply With Quote
Old 7th June 2019, 01:27   #3403  |  Link
bjoker
Registered User
 
Join Date: Jan 2013
Posts: 50
Quote:
Originally Posted by lansing View Post
I'm suspecting a thermal paste issue. You'll need to apply new thermal paste every couple of years to keep it fresh.
Bought it less than a year ago, also not much used until last April.
bjoker is offline   Reply With Quote
Old 7th June 2019, 12:17   #3404  |  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'm suspecting a thermal paste issue. You'll need to apply new thermal paste every couple of years to keep it fresh.
Those familiar with the 1950x will instead say that hitting 4ghz on air is rare. As someone who has one I can say that "overclocking" on air is a mostly pointless exercise since it at the same time disables the turbo when only a few cores are active.

This is about unrealistic expectations and not thermal paste.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 7th June 2019, 13:08   #3405  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
R46 RC1 is here!

Go test the installer that no longer needs admin privileges. Everything except AVFS should work as expected with it (pismo runtime requires admin rights to install).

Code:
r46:
updated windows projects to use vs2019, inno setup 6 and zimg 2.9
the windows installer now supports installs without administrator privileges
the windows installer no longer puts a copy of vsscript.dll in the system directory and no longer writes the legacy registry entries, deprecated since r31
the windows installer will no longer offer to install the visual studio 2013 runtime since it hasn't been required by vapoursynth for a very long time
the portable install now includes all the sdk files
added a fallback to how the appdata path is retrieved which works even if %USERPROFILE% isn't set
the default number of threads used is now based on the process affinity on windows, linux and bsd
added an option to vspipe to make it not modify the current working directory
added a better equality check for the Format class in python
fixed doubleweave sometimes using the opposite field order (dubhater)
fixed broken output when stride wasn't equal to width in the python output function (stuxcrystal)
relaxed mask clip requirements in maskedmerge (dubhater)
fixed overflow with int16 in maskedmerge (dubhater)
fixed swapped fields in doubleweave (dubhater)
fixed selectevery breaking and leaking when there are no frames to return
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 7th June 2019, 13:42   #3406  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
vapoursynth.get_core().version() still shows R45
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 7th June 2019, 14:38   #3407  |  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
vapoursynth.get_core().version() still shows R45
You must have an old dll lying around somewhere. It prints the right version for me.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 7th June 2019, 15:11   #3408  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Figured it out. I had vapoursynth also installed via pip and VS R45 dlls were in python site-packages. pip uninstall vapoursynth fixed it.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 7th June 2019, 23:27   #3409  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by Myrsloik View Post
Those familiar with the 1950x will instead say that hitting 4ghz on air is rare. As someone who has one I can say that "overclocking" on air is a mostly pointless exercise since it at the same time disables the turbo when only a few cores are active.

This is about unrealistic expectations and not thermal paste.
Oh I misread, I thought he was talking about intel chip.
lansing is offline   Reply With Quote
Old 8th June 2019, 07:44   #3410  |  Link
masterkivat
変身!
 
masterkivat's Avatar
 
Join Date: Dec 2008
Location: Brazil
Posts: 38
I'm trying to install R46-RC1, but...

...am I doing something wrong?

EDIT: I had no other way but to install using the "install to this user only" option, Myrsloik told me on IRC that I certainly installed Python for not all users... derp

Last edited by masterkivat; 8th June 2019 at 08:20.
masterkivat is offline   Reply With Quote
Old 8th June 2019, 20:26   #3411  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
R46-RC2 (probably final RC)

The installer now has more informative error messages so dudes like the one in the post before won't have to ask me.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 9th June 2019, 13:46   #3412  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Myrsloik View Post
R46-RC2 (probably final RC)

The installer now has more informative error messages so dudes like the one in the post before won't have to ask me.
After install this version, I got this error and x265 can't read vpy file because the plugins's path but I can preview vpy file on VSEdit

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\test.vpy", line 6, in <module>
clip = core.lsmas.LWLibavSource(r"E:\Download\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?

x265 [error]: unable to open input file <->
mkvmerge v34.0.0 ('Sight and Seen') 64-bit
Error: The file 'e:\Download\test.hevc' could not be opened for reading: open file error.
# Edit: I install vapoursynth via pip and it work, but the version is 45

Quote:
C:\Users\Home>pip install vapoursynth
Collecting vapoursynth
Downloading https://files.pythonhosted.org/packa...-win_amd64.whl (817kB)
|████████████████████████████████| 819kB 819kB/s
Installing collected packages: vapoursynth
Successfully installed vapoursynth-45

Last edited by tuanden0; 9th June 2019 at 13:52.
tuanden0 is offline   Reply With Quote
Old 9th June 2019, 19:51   #3413  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Where is you lsmas plugin located? pip doesn't install the RC version.
@Myrsloik Is there a way to see which vapoursynth dll is loaded?

Feature request for VS: print all plugin search paths AND/OR show also a full path to plugin dlls in core.get_plugins()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 9th June 2019, 20:36   #3414  |  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
Where is you lsmas plugin located? pip doesn't install the RC version.
@Myrsloik Is there a way to see which vapoursynth dll is loaded?

Feature request for VS: print all plugin search paths AND/OR show also a full path to plugin dlls in core.get_plugins()
What do you mean by which vapoursynth dll? The full path? Version? It's unclear what you want. If you simply want the path I believe GetModuleFileName() and GetModuleHandle() in the windows API is what you want.

I won't print the path to the dlls ever. The plugins are managed by VS and nothing else. Why do you even need to know this?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 9th June 2019, 21:10   #3415  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by tuanden0 View Post
After install this version, I got this error and x265 can't read vpy file because the plugins's path but I can preview vpy file on VSEdit



# Edit: I install vapoursynth via pip and it work, but the version is 45
Did you do a per user install? Did you check if it could load other plugins correctly?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 9th June 2019, 21:41   #3416  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Myrsloik View Post
What do you mean by which vapoursynth dll? The full path? Version? It's unclear what you want. If you simply want the path I believe GetModuleFileName() and GetModuleHandle() in the windows API is what you want.
The location of the dll, so yes the full path. It seems a vapoursynth.__file__ in python does what I want, it shows the full path to vapoursynth.cp37-win_amd64.pyd and the vapoursynhs.dll is next to it. So this one is solved.
Quote:
Originally Posted by Myrsloik View Post
I won't print the path to the dlls ever. The plugins are managed by VS and nothing else. Why do you even need to know this?
Two reasons: 1. To easily find plugin duplicates. If the abc.dll is in "AppData\plugins" and the same file (or a different version) is in "vapoursynth\plugins64" only one of them is loaded (or the other ignored). But now what I re-checked the docs this is also a feature...
2. if I use get_plugins() I can't know which dll file corresponds to which plugin in the output string. I wanted to automatically track if a plugin function is changed or a new one is added (only the dll name would be enough for me).
I mean, yes, I could also build a "file to identifier connection" list I just think it is a usefull feature to have.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 9th June 2019 at 21:43.
ChaosKing is offline   Reply With Quote
Old 10th June 2019, 11:13   #3417  |  Link
tuanden0
Registered User
 
Join Date: Oct 2016
Posts: 111
Quote:
Originally Posted by Myrsloik View Post
Did you do a per user install? Did you check if it could load other plugins correctly?
Yes, I did use a per user install.

I can load all plugin via VSEdit to preview but can't encode with x265
tuanden0 is offline   Reply With Quote
Old 10th June 2019, 15:01   #3418  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by tuanden0 View Post
Yes, I did use a per user install.

I can load all plugin via VSEdit to preview but can't encode with x265
NEW INFORMATION! Apparently I completely messed up the per user registry entries and will need to rework things. This probably explains some of the plugin related problems.

All user installs and portable still works so just test that for now.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 10th June 2019, 17:09   #3419  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I avoid x86 like the plague and would like to request a separate setup for x86 and x64.

Example:

https://github.com/stax76/mpv.net/blob/master/setup.iss

https://github.com/stax76/mpv.net/blob/master/setup.ps1
stax76 is offline   Reply With Quote
Old 10th June 2019, 22:03   #3420  |  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 avoid x86 like the plague and would like to request a separate setup for x86 and x64.

Example:

https://github.com/stax76/mpv.net/blob/master/setup.iss

https://github.com/stax76/mpv.net/blob/master/setup.ps1
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.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   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 19:30.


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