Log in

View Full Version : Why VS installer do not has internal python library?


Dreamject
30th May 2019, 19:16
It crashes if you dint install python, but it's normal practice to have internal libraries. AvsP editor based on python, but it has it's libraries and do not need heavy python. Imho, whole python is for devs

ChaosKing
30th May 2019, 20:02
You just need to read the docs: http://www.vapoursynth.com/doc/installation.html#windows-portable-instructions

Dreamject
30th May 2019, 20:14
Necessary libraries can be putted in installer, they need less space than python. Anyway, you cant 'just open exe and install it', or recommend vs for %yourfriends/pets/girlfriends/granny% it should looks like
'dear, it's great, try it, you just need
1visit vapoursynth.com
2. find download button (in left side, not in right)
3. visit link
4. if you see only source code, scroll the page
https://s17.directupload.net/images/190530/8gbs2bn6.png and download
5. then visit https://www.python.org/downloads/
6. click 'download'
7. scroll page and...

ChaosKing
30th May 2019, 20:19
You need to read. "Grad binaries from the R45 release" -> https://github.com/vapoursynth/vapoursynth/releases/tag/R45

Here is a ready to use pack with plugins/script/editor https://forum.doom9.org/showthread.php?t=175529

Dreamject
30th May 2019, 20:43
Possiiblity!=popularity or usability, if you need 100 steps just for installing, its also possible to install it, but its not comfortable

If vs was really wonderful, avisynth was closed after vs. It's impolite to tell that something is not comfortable, but as result vs is not suitable for most people.

lansing
30th May 2019, 20:47
Necessary libraries can be putted in installer, they need less space than python.

What libraries are you even talking about?

Dreamject
30th May 2019, 20:58
I dont know what exactly it needs, but, for example
https://github.com/gispos/AvsPmod/releases
has python27.dll, msvcr90.dll. You dont need install python/visual c++ for editing avs scripts

Ar least even python has online installer now, it could be builded in vapursynth installer instead of crashing if you dont have python

lansing
30th May 2019, 21:15
I dont know what exactly it needs, but, for example
https://github.com/gispos/AvsPmod/releases
has python27.dll, msvcr90.dll. You dont need install python/visual c++ for editing avs scripts

Ar least even python has online installer now, it could be builded in vapursynth installer instead of crashing if you dont have python

So your main complain is that you're refusing to install python?

Dreamject
30th May 2019, 22:07
It's not only me, users do not want that->developers who develop for users do not want that. If you wanna just edit txt file you do not need install and run visual studio. VapourSynth is like notepad which can not be installed without visual studio. If you are not python developer, you do not want to install/search/download/install x86 or x64 version.

Microsoft has small redistributable packages for this case for using, not development, but you still can use small dll libraries in program folder.

Dreamject
30th May 2019, 22:26
LibreOffice uses python too, but it's
C:\Program Files\LibreOffice\program\python-core-3.5.7
Not I REFUSE TO INSTALL IF SDK FOR EVERYTHING IS NOT INSTALLED:devil::devil::devil::devil::devil::devil:
Also LO has tons of dll, if it request full packages for every software it uses with manual installation and every program will do it, it will be hell

jackoneill
30th May 2019, 22:28
Also LO has tons of dll, if it request full packages for every software it uses with manual installation and every program will do it, it will be hell

Ah, you discovered that Windows doesn't have a package manager.

Dreamject
30th May 2019, 22:40
Normal software detects it and install it automatically in any system/if libraries size is small, software can include it.

lansing
31st May 2019, 00:16
LibreOffice uses python too, but it's
C:\Program Files\LibreOffice\program\python-core-3.5.7
Not I REFUSE TO INSTALL IF SDK FOR EVERYTHING IS NOT INSTALLED:devil::devil::devil::devil::devil::devil:
Also LO has tons of dll, if it request full packages for every software it uses with manual installation and every program will do it, it will be hell

What exactly are you talking about that requires manual installation for using vapoursynth?

Dreamject
31st May 2019, 11:29
Without python it not only work, it refuse to install
https://s17.directupload.net/images/190531/ianh5g6l.png

Now I tried to fix vs cause it broken and I have not idea what he want (avisynth display simple error what you can understand)
https://s17.directupload.net/images/190531/khvbxo52.png

Firstly I reinstall python. Same error. Then I delete vs, it said like 'U MUST REBOOT YOU COMPUTER TO DELETE VS COMPLETLY'

~_~I dont want to reboot and most software do not need it. Even drivers in most cases can be reinstalled without rebooting. OPened VS installer and it says that VS folder already exists. Then it refuse to install again
https://s17.directupload.net/images/190531/9ycyybcx.png

I went to vs folder and delete all files. But it still refuse to install until I reboot PC.

I ever didnt see software even in which request so much from me. Its absolutely unfriendly at least on windows and looks like
https://s17.directupload.net/images/190531/8f3lcze8.png
PS: also guy from picture should be veeeery fat

lansing
31st May 2019, 13:51
Without python it not only work, it refuse to install
https://s17.directupload.net/images/190531/ianh5g6l.png

Now I tried to fix vs cause it broken and I have not idea what he want (avisynth display simple error what you can understand)

Firstly I reinstall python. Same error. Then I delete vs, it said like 'U MUST REBOOT YOU COMPUTER TO DELETE VS COMPLETLY'

~_~I dont want to reboot and most software do not need it. Even drivers in most cases can be reinstalled without rebooting. OPened VS installer and it says that VS folder already exists. Then it refuse to install again

I went to vs folder and delete all files. But it still refuse to install until I reboot PC.

I ever didnt see software even in which request so much from me. Its absolutely unfriendly at least on windows and looks like


The only thing here that requires manual installation is python. That error in your screenshot is simply saying that you're missing a plugin, which is the exact same behavior avs would do. And god knows what "mv" means in your script, post your script.

Dreamject
31st May 2019, 14:37
>The only thing here that requires manual installation is python
User does not need whole python (in program/menu) if it's not python dev . If python libraries will be included, it will be more stable, cause dependicies are right. If something goes wrong, you just need to reinstall VS (i dont know a lot, but im sure there is no need to make user to reboot pc - at least libreoffice do not need it. I never care about does LO uses python or not).

Even 'portable installation' like 'unpack vs to python folder' makes vapoursynth just part of python, not python is part of vs. It's not like avisynth 'put avisynth dll in player folder and it will work in portable mode', its something very strange. I beelive that only very advanced&persistent users can use vapoursynth, its <<1%. If you use linux/mac you dont have alternative and may be installation/using process much simpler.

Script if default script of potplayer for motion interpolation, but I didnt find something like 'LoadPlugin'. When I launched default histogram script, it worked month ago, but now it just crashes (I'm too lazy to reboot laptop for vs)

Keiyakusha
31st May 2019, 19:53
At first I wanted to make a serious answer here. Then I weaned to make a couple of answers. But the more I read this thread, the more I understand that:

https://i.imgur.com/bWS9jB4.jpg

lansing
31st May 2019, 20:53
>The only thing here that requires manual installation is python
User does not need whole python (in program/menu) if it's not python dev . If python libraries will be included, it will be more stable, cause dependicies are right. If something goes wrong, you just need to reinstall VS (i dont know a lot, but im sure there is no need to make user to reboot pc - at least libreoffice do not need it. I never care about does LO uses python or not).

Even 'portable installation' like 'unpack vs to python folder' makes vapoursynth just part of python, not python is part of vs. It's not like avisynth 'put avisynth dll in player folder and it will work in portable mode', its something very strange.

There is nothing strange, vapoursynth is a python module, so it goes inside the python folder, that is how it works, not the other way around.

Some uninstallations requires reboot because some files they are trying to remove may still in use by the system memory.


I beelive that only very advanced&persistent users can use vapoursynth, its <<1%. If you use linux/mac you dont have alternative and may be installation/using process much simpler.

What is so advance about installing python? I don't get it. As all the other dependencies were taken care by the vs installer automatically. What is the problem?


Script if default script of potplayer for motion interpolation, but I didnt find something like 'LoadPlugin'. When I launched default histogram script, it worked month ago, but now it just crashes (I'm too lazy to reboot laptop for vs)
The problem is with your script, not vapoursynth. If you can't find that script on your own, you should contact potplayer's author.

Dreamject
1st June 2019, 18:08
>What is so advance about installing python? I don't get it. As all the other dependencies were taken care by the vs installer automatically. What is the problem?
I looked in VapourSynth installer... It has tons of dependecies of dependecies of dependicies %). This is devs way of thinking. It uses python just for installation. For example if I want motion interpolation for player, i don't need SDK, C++ compiler.

It even cant use one folder keys like 'set folder=C:\folder , then I use .\1\ .2\ .3\ inside it' it does 'set folder=c:\folder folder1=c:\folder\1 set folder2:\C:\folder\AppData\Local\Programs\Python\Python37 folder3=C:\folder\Python37\Tools\scripts'.
It creates and generates as much dependencies as it can

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Version"; ValueData: {#= Version}; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Version"; ValueData: {#= Version}; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Path"; ValueData: "{app}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Path"; ValueData: "{app}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "CorePlugins"; ValueData: "{app}\core32\plugins"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "CorePlugins"; ValueData: "{app}\core64\plugins"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Plugins"; ValueData: "{app}\plugins32"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "Plugins"; ValueData: "{app}\plugins64"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "VapourSynthDLL"; ValueData: "{app}\core32\vapoursynth.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "VapourSynthDLL"; ValueData: "{app}\core64\vapoursynth.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "VSScriptDLL"; ValueData: "{app}\core32\vsscript.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "PythonPath"; ValueData: "{code:GetPythonPath32}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "VSScriptDLL"; ValueData: "{app}\core64\vsscript.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\VapourSynth; ValueType: string; ValueName: "PythonPath"; ValueData: "{code:GetPythonPath64}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64

; new vpy file shortcut task
Root: HKA; Subkey: SOFTWARE\Classes\.vpy\ShellNew; ValueType: string; ValueName: "FileName"; ValueData: "{app}\template.vpy"; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: newvpyfile

; 32bit vfw
Root: HKA32; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}; ValueType: string; ValueName: ""; ValueData: "VapourSynth"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32; ValueType: string; ValueName: ""; ValueData: "{app}\core32\vsvfw.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32; ValueType: string; ValueName: "ThreadingModel"; ValueData: "Apartment"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\Media Type\Extensions\.vpy; ValueType: string; ValueName: ""; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\Media Type\Extensions\.vpy; ValueType: string; ValueName: "Source Filter"; ValueData: "{{D3588AB0-0781-11CE-B03A-0020AF0BA770}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\.vpy; ValueType: string; ValueName: ""; ValueData: "vpyfile"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\vpyfile; ValueType: string; ValueName: ""; ValueData: "VapourSynth Python Script"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\vpyfile\DefaultIcon; ValueType: string; ValueName: ""; ValueData: "{app}\core32\vsvfw.dll,0"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32
Root: HKA32; Subkey: SOFTWARE\Classes\AVIFile\Extensions\VPY; ValueType: string; ValueName: ""; ValueData: "{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs32

; 64bit vfw
Root: HKA64; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}; ValueType: string; ValueName: ""; ValueData: "VapourSynth"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32; ValueType: string; ValueName: ""; ValueData: "{app}\core64\vsvfw.dll"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\CLSID\{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32; ValueType: string; ValueName: "ThreadingModel"; ValueData: "Apartment"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\Media Type\Extensions\.vpy; ValueType: string; ValueName: ""; ValueData: ""; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\Media Type\Extensions\.vpy; ValueType: string; ValueName: "Source Filter"; ValueData: "{{D3588AB0-0781-11CE-B03A-0020AF0BA770}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\.vpy; ValueType: string; ValueName: ""; ValueData: "vpyfile"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\vpyfile; ValueType: string; ValueName: ""; ValueData: "VapourSynth Python Script"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\vpyfile\DefaultIcon; ValueType: string; ValueName: ""; ValueData: "{app}\core64\vsvfw.dll,0"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64
Root: HKA64; Subkey: SOFTWARE\Classes\AVIFile\Extensions\VPY; ValueType: string; ValueName: ""; ValueData: "{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}"; Flags: uninsdeletevalue uninsdeletekeyifempty; Components: vs64


Situation that VS has installer which crashes without python is devs way of thinking. I thought 'portable fat python "for begginers"' fixes this situation, but it crashes
https://s17.directupload.net/images/190601/dmnd26zp.png
It cant integrate to system, for launching progs it uses .lnk with '%COMSPEC% /C start VapourSynth64\vsedit.exe', its more strange than vs.

lansing
1st June 2019, 18:51
Situation that VS has installer which crashes without python is devs way of thinking. I thought 'portable fat python "for begginers"' fixes this situation, but it crashes
https://s17.directupload.net/images/190601/dmnd26zp.png
It cant integrate to system, for launching progs it uses .lnk with '%COMSPEC% /C start VapourSynth64\vsedit.exe', its more strange than vs.

There is nothing to fix, the whole problem is you refusing to follow simple installation instruction.

If you are having problem with the vs fatpack, reports to its own thread:
https://forum.doom9.org/showthread.php?t=175529

Dreamject
1st June 2019, 19:32
Vs is very complex. Its not impossible or bad to have only things what it needs, using easy structure of folders, less registry keys like 'Vs folder'. If some plugin needs libcrypto or bzip it could be installed with plugins. But now it's designed to be bloatware, it's developer wish

Myrsloik
1st June 2019, 19:39
Is this low effort troll still going?

videoh
1st June 2019, 19:53
Low effort and low IQ. :p

Dreamject
1st June 2019, 20:08
May be, but most of users are less smart than me. From my side vapoursynth can be designed for users trolling

_Al_
1st June 2019, 20:18
You already forgot that it took them a week to even work with Avisynth, to handle it, now you want Vapoursynth to work with push of a button.
Install 64bit Python
Install 64bit Vapoursynth
install VSEditor (optional) because you can just use your scripts, do not forget you are using Python so for visual you can import opencv modul, PIL or Qt to view frames.

Just think of Vapoursynth as a Python program that can do whatever you want. Viewing, computing, build you house, whatever.
For example you setup indexing of the file for Source plugin right in the script. You can encode it right in the same script. You can mux it right in the same script. Because it is not just Vapoursynth script, it is a Python script.
You do not want to do that, you want to have audio automatically go with video, forget it and use Avisynth, lots of does, why not.

Dreamject
1st June 2019, 20:35
Okay -_-
1. https://www.google.ru/search?client=opera&q=which+software+usus+python&sourceid=opera&ie=UTF-8&oe=UTF-8
2. https://en.wikipedia.org/wiki/List_of_Python_software

I download 3 random software now and I will test does it crashes if you dont have python, may be it's absolutely normal case
https://s17.directupload.net/images/190601/z96ghbn2.png


Also
Video games
Bridge Commander[citation needed]
Civilization IV uses Python for most of its tasks
Disney's Toontown Online is written in Python and uses Panda3D for graphics.
Pirates of the Caribbean Online is written in Python and uses Panda3D for graphics.
Battlefield 2 uses Python for all of its add-ons and a lot of its functionality.[citation needed]
Eve Online uses Stackless Python.
Freedom Force[citation needed]
Frets on Fire is written in Python and uses Pygame.
The Temple of Elemental Evil, a computer role-playing game based on the classic Greyhawk Dungeons & Dragons campaign setting
Mount & Blade is written in Python.
Unity of Command (video game) is an operational-level wargame about the 1942/43 Stalingrad Campaign on the Eastern Front.
Vampire: The Masquerade – Bloodlines, a computer role-playing game based on the World of Darkness campaign setting[citation needed]
Vega Strike, an open source space simulator, uses Python for internal scripting
World of Tanks uses Python for most of its tasks.[1]
Doki Doki Literature Club!, a psychological horror visual novel using the Ren'Py engine
The Sims 4 uses Python[2]
Overwatch makes its choices with Python.[citation needed]
Super Potato Bruh, a bullet-hell platformer available on itch.io and Steam, built completely in Python.

But I don't remember that any game needs preinstalled python

Imho, whole python and complex structure with modules in absolutely different place is workaround, no solution

Dreamject
1st June 2019, 20:50
In my result nobody crashes without python, nodoby stores files like vapoursynth, nobody uses whole python . I ever didnt find in process hacker hard connection with registry, they just do not use it and continue to work after renaming
https://s17.directupload.net/images/190601/5tnx2m8e.png

https://s17.directupload.net/images/190601/45zb878f.png

https://s17.directupload.net/images/190601/f6r4rhh3.png

_Al_
1st June 2019, 20:55
of course, VSEditor is the same, it uses Qt and you do not have to have Qt installed, you freeze source code into binaries into EXE and user downloads it.

But Vapoursynth uses Python modules, it has to, otherwise it would be pretty much crippled. Python modules meaning py scripts. Python works that way. Think of Avisynth and importing avsi. Similar thing. But Python has a million of those and they do whatever including knitting a sweater. You have to run Python script, not executable. You cannot get a grasp what those modules do. That's all. Just for the starters you might look into it. You do not want to? Sure, use Avisynth. Did you read a one line in here that Avisynth sucks? Of course not. So why would you go on about Vapoursynth being bloated? Don't use it.
Having said that, nothing stops you to create an exe of your own Vapoursynth scripts, if you follow rules, sure it is not for beginners, but again there is a free choice.

Dreamject
1st June 2019, 21:09
VapourSynth works, but its behaviour is unacceptable for most of people. It's not my or my IQ fault ¯\_(ツ)_/¯. Potentionally it could be much better and friendly than avs (just set one-two key in registry for folder and use it), but its not. It was developed as I know to be better than avisynth, but usability is much worse

_Al_
1st June 2019, 21:20
It was developed around Python, so it could be crazy powerful. But why to develop Avisynth II, I have no problem with that, what Myrsloik did.

Learn Python, kids nowadays should do at least learn something useful for a change.

So basically it falls into a category, you have to learn Python or eyeball its basics and syntax, take a lesson for begginers, they are for free on web, I did the same to be comfortable with Vapoursynth. If not, it will get you here or there, you will be stuck within syntax, simple command learning will cause a problem, you copy command from a website and it will not work in your script.

videoh
1st June 2019, 21:49
VapourSynth works, but its behaviour is unacceptable for most of people. It's not my or my IQ fault ¯\_(ツ)_/¯. Where's your evidence for that? Most people have an IQ greater than 80.

TheFluff
2nd June 2019, 00:06
There is a difference between Vapoursynth and all of these other programs that use Python in some way that you've brought up, though. Those other programs use Python internally in some way - they execute Python code that is installed as part of the application. The user never sees any Python code. In Vapoursynth on the other hand, in order to accomplish anything useful whatsoever you need to write Python code yourself (well, unless you're using some application that uses the C API directly). Before installing Vapoursynth, you should probably learn at least some very basic Python first, and doing that would kinda require installing Python.

There is some merit to the argument that the VS installer should offer to install Python for you, but not a whole lot. Just follow the instructions.

Avisynth kinda tried to sell itself as easy to learn even for people who weren't programmers, with some limited success, but VS doesn't really. If you're looking for a programmable video editing tool, VS is that, but the emphasis is on "programmable". If you don't want to write code, it's probably not for you.

Dreamject
2nd June 2019, 01:46
There is DirectX for gamers and people who create games. Most of people do not want create games, full package is bloat, it needs much more time for installation/disk space, etc. I did not get VS structure, it's more easy to build small pack than understand it or prove that original method of installation is very weird

lansing
2nd June 2019, 03:01
There is DirectX for gamers and people who create games. Most of people do not want create games, full package is bloat, it needs much more time for installation/disk space, etc. I did not get VS structure, it's more easy to build small pack than understand it or prove that original method of installation is very weird

So you're okay with games installing directx onto the system but vapoursynth is a bloatware because it's asking you to install python?
And how much more time does that add to the installation? 10 seconds?

Dreamject
2nd June 2019, 03:54
~_~ you could try to install https://forum.doom9.org/showthread.php?t=176477 and compare time

It's no 10 sec, you should find file, download it, when I tried it firstly I downloaded x86 python, but only x86 vs was installed. From newbie side vs is pain. I spent about 10 min for just install it and some days when vapoursynth refuse to reinstall until I reboot PC.

Installation code for x64 looks like

REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VapourSynth /v CorePlugins64 /t REG_SZ /d "%~dp0vapoursynth64\coreplugins" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VapourSynth /v Plugins64 /t REG_SZ /d "%~dp0vapoursynth64\plugins" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v Version /t REG_SZ /d "R45" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v Path /t REG_SZ /d %~dp0 /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v CorePlugins /t REG_SZ /d "%~dp0vapoursynth64\coreplugins" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v Plugins /t REG_SZ /d "%~dp0vapoursynth64\plugins" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v VapourSynthDLL /t REG_SZ /d "%~dp0vapoursynth.dll" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v VSScriptDLL /t REG_SZ /d "%~dp0vsscript.dll" /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v PythonPath /t REG_SZ /d %~dp0 /f
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\VapourSynth /v PythonPath /t REG_SZ /d %~dp0 /f
rmdir plugins
rmdir coreplugins
del vsrepo.py
mklink /H vsrepo.py vsrepo\vsrepo.py
mklink /J plugins vapoursynth64\plugins
mklink /J coreplugins vapoursynth64\coreplugins //wtf is vapoursynth64\vapoursynth64\plugins?

Even installer is strange bloatware, it looks like

#include "scripts\products.iss"
#include "scripts\products\stringversion.iss"
#include "scripts\products\msiproduct.iss"
#include "scripts\products\vcredist2013.iss"
#include "scripts\products\vcredist2017.iss"

A lot of people has vc (and most people are not familiar with Python), but VS downloads vc

vcredist2017_url = 'http://download.visualstudio.microsoft.com/download/pr/c8edbb87-c7ec-4500-a461-71e8912d25e9/99ba493d660597490cbb8b3211d2cae4/vc_redist.x86.exe';

Not online python installer ~_~ if it wants it so much. It has completly different folder structure for usual and "portable" (it's trolling too, cause it uses registry keys, at least potplayer can not find vapoursynth without reg keys) mode

After 'portable' mode (it still do not use python folder)
https://s17.directupload.net/images/190602/kl4ypqbh.png

Also, it loads every dll from plugins dir without calling. When I tried fat pack (which even can not integrate himself in reg) with tons of modules, player was freezed more time until it loaded all modules. Cause vs like it

Portable mode of Vs means
Only pythonpath of Vs key is valid
I see vsportable flag file
I should start to ignore any other reg keys and begin to use new file folder structure (portable) with different location of files. Other softs like gui report still detect Vs using registry even them putted in pyth folder, so you need to set reg keys for portable mode as for usual mode.

In portable it uses location of vsrepo python\vsrepo.py
It's too easy for usual mode and it uses python/vsrepo/vsrepo.py (you can make both files or symlinks) etc.

dipje
4th June 2019, 06:53
Since python is not just a library but a whole software stack (which you might want to expand with other tools or libraries) , it doesn't make sense to include it or use a private version.

You _want_ one global python installation to extend it..

Dreamject
4th June 2019, 09:04
>it doesn't make sense to include it or use a private version.
Haha
https://forum.doom9.org/showpost.php?p=1875984&postcount=26
https://forum.doom9.org/showpost.php?p=1875985&postcount=27

TheFluff
4th June 2019, 18:03
>it doesn't make sense to include it or use a private version.
Haha
https://forum.doom9.org/showpost.php?p=1875984&postcount=26
https://forum.doom9.org/showpost.php?p=1875985&postcount=27

Again, these examples do not expose any Python functionality to the user.

Dreamject
5th June 2019, 11:18
What python functionality does user need if he just wanna smooth playback? Okay, lets image that users are happy to install python/vapoursynth/mvtools2
But you can compare popularity of svp which uses mvtools and 'new super very smart vapoursynth/mvtools' and teke decision

https://s17.directupload.net/images/190605/ur4o6cd6.png
https://s17.directupload.net/images/190605/doastqrc.png

https://s17.directupload.net/images/190605/xorx5qnr.png

TheFluff
5th June 2019, 13:42
If you want SVP, install SVP. If you want to program, install Python and VS. VS really isn't intended for real-time playback, it doesn't really have the appropriate infrastructure for it (it doesn't really make much of an effort to process frames in order, for example). I reiterate: the selling point of VS, and the main intended use case, is being programming. It does work for other use cases and if it works for you, that's nice and all, but for the primary use case and audience, shipping python with the installer doesn't make a whole lot of sense.

Dreamject
5th June 2019, 15:10
Imho, it's not exactly vs, its doom9 policy and philosophy. Most of members in this place do not know what it usability. So, projects in this place are popular only for nerds. So you cant imagine that something can works easy and in real time, you just press button and it works okay.

Sharing plugins with examples? No, let user write script, it must read readme, build script.
Display something in realtime in 2019? No, only encoding. Even if you wanna encode at least with avisynth it's not easy, cause MeGUI cant apply script for many files with easy fix, you have to use script builder.

You are so smart that you cant to make something easy. <0.01% of regular people can understand you and use doom9 projects. If its not developed for normal people, its okay. Popular solutions usually have a lot of bad things (even svp), but I can use better solutions and advice to my friends cause it mostly unusable :(. Popular and usable projects do not want to be better(and geeky), better projects refuse to be usable and popular, from your side usability is a crime.

PS: when I tried to register in this place I spent about 3 month to register cause some software stores here. Capcha questions was like 'what is the best DVD player with native HW decoding of MPEG2?' or 'what is the best postprocessing software for improving quality of VHS rips?'. I think even most of >50 yo advanced users forgot about most of terms about 15 years ago. Even without captcha you still use very old concepts which never be popular.

TheFluff
5th June 2019, 20:47
Usability means different things to different people. If you just want to click buttons and get the filter chain generated for you, you are probably not in the intended audience. VS is a hobbyist project, so naturally it is shaped by the needs and opinions of the people working on it. Usability in VS is for these users, not people who are actively disinterested in programming. VS is a complex tool and there is little gain in trying to pretend it's not. If you think installing Python is a hurdle, wait until you come to the realization that VS does not have TurnRight/TurnLeft because it's trivial to implement it yourself with a transpose and a flip.

bin.n2f
5th June 2019, 20:51
for user friendly use staxrip....it will tell what is missing from plugins..i use it alot
https://forum.doom9.org/showthread.php?p=1858535&posted=1#post1858535

Dreamject
6th June 2019, 15:52
Even if imagine that Synths for encoders.
Without easy real-time it's like photoshop without preview, to apply filter for JPEG you should convert it to another JPEG and then open file and test

Sharing plugins without presets is like
Pixel shader uses dxcomplier or something like that. In vapoursynth way shaders are needless. Share shader compiler and tutorial about everything how to write shaders. Technically it replaces all possible shaders

Mystery Keeper
8th June 2019, 07:44
Even if imagine that Synths for encoders.
Without easy real-time it's like photoshop without preview, to apply filter for JPEG you should convert it to another JPEG and then open file and test

Sharing plugins without presets is like
Pixel shader uses dxcomplier or something like that. In vapoursynth way shaders are needless. Share shader compiler and tutorial about everything how to write shaders. Technically it replaces all possible shaders

You come and demand better usability and speed for a bunch of projects that people write in their free time and gain no income from. That you use for free. VapourSynth, its plugins and other programs that use it are not commercial projects you can buy support for. They are tools people made for themselves and shared with the community. Every fulfilled improvement request is an act of good will. You are not entitled to it. Know how to make an improvement - do it yourself and contribute.

There's never been encoding vs realtime race with VapourSynth. It always depends on the complexity of the script and plugins you use. If you want good quality - stop dreaming of getting it in real time.

And big surprise! VapourSynth is NOT bound to Python! VapourSynth API has no concept of "language" or "script". Only filter nodes, graphs and video formats. Python is used by a separate library that uses script as instruction on how to build a filters graph. You can write your own library. You can use any script language or create your own. You can even make a visual graph constructor! Why hasn't it been done by now? Because that's a lot of work, and we work on our projects in our free time, and we're quite content with Python.

So stop acting entitled. Want improvement in our projects - either ask nicely and calmly accept if you're denied, or do it yourself.

Dreamject
8th June 2019, 12:00
~_~ its doom9 way, do not do something simple. Even if I do something more easy, it does not help project, cause members refuse to be simple. As a result, progress is very slow. You need to spend most of time not for testing, but for launching/writing scripts/read a lot of stuff which most of people can not understand.
Potplayer works with vapoursynth in realtime with mvtools only. Its obviously that applying effects only needs much less time that applying+encoding.