This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

load hybrid .vpy script to vdub2
#1
hi

what would be the easiest way to load temporary hybrid vapoursynth scripts from 'AppData\Local\Temp'  to vdub2 for further processing?
i mean it's easy enough to copy/paste script elsewhere, but what about dependencies? both plugins and system wide dependencies. 
as it seems vdub2 won't load .vpy if python/vapoursynth are not "properly" installed.

thanks
Reply
#2
Wild guess, since I haven't used VD for 10+ years:
Copying VD into the Hybrid 64bit/Vapoursynth folder and starting it from there might work.

Cu Selur
Reply
#3
heh, had the same idea (maybe old avs warriors have simillar ideas...back in the day i collaborated here Analogue Capture Guide v4 - Doom9's Forum . seems doom9 site is no more) but nope...still  "AVI import filter error (unknown) (80040154)".
seems the only path is with fully installed vapour, something along these lines:

https://forum.videohelp.com/threads/3924...ost2544588
(installing python and vapour)

need vdub deshaker filter ( Deshaker - video stabilizer (guthspot.se) ), i now see some work has been done on porting/hacking it into avs, but this seems simpler.... 

oh yeah, thanks for making hybrid, it ameliorates "version hell" to great extent....

edit/ yeap, full installation of python and vapoursynth solved the issue...


Attached Files Thumbnail(s)
   
Reply
#4
Copy the script and its dependencies to a permanent location and check python and vapoursynth are correctly installed. Open VDub2 and go to File after that open video file and select your script and proceed.
Reply
#5
As a side note: if you install a system-wide Vapoursynth version, it might mess with Hybrids install since Vapoursynth has no option to disable autoloading. So whatever you autoload in the system-wide install will also be loaded in the Vapoursynth version Hybrid uses.
Also make sure you use the same Vapoursynth version Hybrid uses, otherwise things will likely go bad too.

Cu Selur
Reply
#6
had another loading issue, but traced that back to forward/backwards slash in filename....

ie i was copying path on windows, or in total commander back to .vpy script which didn't open....peculiar thing is that comments section uses windows convention, while vapour seems to use linux format ie forward slash in filename

but i have another issue which hardly has anything to do with any of this....time for new thread.


Attached Files Thumbnail(s)
           
Reply
#7
In python, you can use:
r"PATH to file with backslashes"
or
"PATH to file with doubled backslashes"
or
"PATH to file with slashes"
see: https://www.btelligent.com/en/blog/best-...-part-1-2/ and https://realpython.com/python-raw-strings/

Hybrid always converts backslashes to slashes since Windows (like all other OSs) does support using slashes in file paths. Wink
(in the comments Hybrid uses whatever is native to the OS)

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)