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. |
|
|
Thread Tools | Search this Thread | Display Modes |
29th November 2020, 08:26 | #281 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
@l33tmeatwad: another useful filter you could add: https://github.com/Kiyamou/VapourSynth-DehazingCE
|
30th November 2020, 20:23 | #282 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Is someone interested in a vsrepo mac version?
I just realised I could make a "fake github api" for the plugins hosted on vsdb.top. That means auto updating should work with minimal code changes.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
2nd December 2020, 17:24 | #284 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
@Selur can you test this binary (pyinstaller bundle) http://vsdb.top/avsrepo-64.zip. I was generated by a github action here https://github.com/avisynth-reposito...runs/392449849
(I'm not a mac user and only have a mac Mojave-VM for testing ... ) It shows an "request ssl error" when I run "avsrepo-64 update". If it fails for you too, try: Download http://vsdb.top/avspackages.zip extract it and try to "install" something, like "avsrepo install dfttest" I just need to know if the error pops up only on my machine or for everyone. Btw. the error is gone if I install "certifi" via pip. I think my "mac" does not know any cloudflare certs. Note to myself: switch to Letsencrypt EDIT oh and you need 7z in PATH. brew install p7zip
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 2nd December 2020 at 17:38. |
2nd December 2020, 19:38 | #285 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
@ChaosKing I'll look into making this easier for everyone as the plugin directory can vary based on how VapourSynth was installed (even brew wants to use its own directory that's different). I may try to make a build of p7zip that can be bundled with avsrepo or something.
|
2nd December 2020, 20:46 | #286 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
What would be the plugin path instead of /usr/local/lib/vapoursynth for other install methods?
Why am I even testing pyinstaller... This is vapoursynth + python and not Avisynth
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
3rd December 2020, 14:09 | #287 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
Both my installer and Brew use alt locations and symbolic links for the main library files. In recent revisions I've started adding a symbolic link to forward stuff sent to that location as well so it should work fine with the installer, but unless you take some specific steps before using "brew install vapoursynth" you'll end up with the plug-in path in a weird location. Side note, part of the point of the installer is that it does not require any compilation tools to be installed, unlike Brew, so I was going to try and make sure it can be used without needing to install Brew.
|
3rd December 2020, 14:48 | #288 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
VS docs: http://www.vapoursynth.com/doc/plugins.html#os-x
Quote:
p.s. vsrepo supports custom path params for scripts/plugins in case you want to download your files to a different folder.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
3rd December 2020, 15:14 | #289 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
I would take it into consideration, but by default neither Brew nor the installer setup the Autoloading config file. That said, in the first post of this thread I did encourage people using Brew to setup the autoloading config file.
Last edited by l33tmeatwad; 3rd December 2020 at 15:27. |
7th December 2020, 17:06 | #290 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
The "vsdb-github-api" is ready http://vsdb.top/vapoursynth/mac/api.php?plugin=SangNom
But I noticed that 7z does not work as intended. It extracts only the tar from tar.gz files. I need to look closer at the python tarfile module... That would mean 7z will not be needed anymore (if all files are tar.gz files)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
23rd March 2021, 10:19 | #291 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
I finally had some time to also do some testing. I nstalled p7zip using brew got an error when trying to install vstcanny:
Code:
selur@Georgs-Mac-2 Downloads % ./avsrepo-64 install vstcanny vsTCanny 1.0.0: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 60.2k/60.2k [00:00<00:00, 9.38MB/s] Successfully installed vsTCanny 1.0.0 1 package installed selur@Georgs-Mac-2 Downloads % usage: avsrepo-64 [-h] [-f] [-p] [-d] [-t {win32,win64}] [-b BINARY_PATH] [-s SCRIPT_PATH] {install,update,upgrade,upgrade-all,uninstall,installed,available,paths} [package [package ...]] avsrepo-64: error: argument -s: expected one argument |
23rd March 2021, 12:07 | #292 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Hmm looks like it downloaded vsTCanny. Can you see an avisynth folder with the binary inside!?
You only ran this one command? It looks a bit like 2 command were triggered. You can test also the script version. I think the only thing I did was to remove the "import winreg" block: https://github.com/theChaosCoder/avs...avsrepo.py#L40 It was then just converted to a "bin" with pyInstaller. But you can just run it with Code:
Python3 avsrepo.py install vstcanny
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
23rd March 2021, 13:45 | #293 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
To be sure I did everything again:
1. download file 2. make file executeable (chmod +x avsrepo-64) 3. getting json file with filters (avsrepo-64 update) 4. install file (avsrepo-64 install vstcanny) funny thing is everything seems to work, download happens, command line is there Code:
./avisynth64/plugins: total 168 drwxr-xr-x 3 selur staff 96 Mar 23 13:32 . drwxr-xr-x 3 selur staff 96 Mar 23 13:30 .. -rw-r--r-- 1 selur staff 85504 Mar 23 13:32 vsTCanny.dll Running: Code:
python3 avsrepo.py update python3 avsrepo.py install vstcanny Code:
selur@Georgs-Mac-2 Downloads % python3 avsrepo.py usage: avsrepo.py [-h] [-f] [-p] [-d] [-t {win32,win64}] [-b BINARY_PATH] [-s SCRIPT_PATH] {install,update,upgrade,upgrade-all,uninstall,installed,available,paths} [package [package ...]] avsrepo.py: error: the following arguments are required: operation, package selur@Georgs-Mac-2 Downloads % python3 avsrepo.py update Local definitions updated to: Fri, 12 Mar 2021 10:21:29 GMT selur@Georgs-Mac-2 Downloads % python3 avsrepo.py update Local definitions updated to: Fri, 12 Mar 2021 10:21:29 GMT selur@Georgs-Mac-2 Downloads % python3 avsrepo.py install vstcanny Fetching: https://github.com/Asd-g/AviSynth-vsTCanny/releases/download/1.0.0/vsTCanny-1.0.0.7z Traceback (most recent call last): File "avsrepo.py", line 446, in <module> res = install_package(name) File "avsrepo.py", line 329, in install_package res = install_files(p) File "avsrepo.py", line 303, in install_files result = subprocess.run([cmd7zip_path, "e", "-so", tfpath, fn_props[0]], stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 489, in run with Popen(*popenargs, **kwargs) as process: File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '7z.exe' No problem, just wanted to know what the current status is. Cu Selur |
23rd March 2021, 14:39 | #294 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
ahh and I removed the ".exe" in 7z.exe
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
25th March 2021, 16:21 | #296 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I have not worked on this since, so nothing missed. A tar.gz extractor needs to be implemented. Everything else should work on a mac like it does on windows. (At least for the portable mode)
Ideally this would then be added to the official vsrepo script.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
14th April 2021, 18:30 | #297 | Link |
Registered User
Join Date: Jan 2020
Posts: 5
|
Is the particular znedi3 r2 build from this release broken in any form or not compatible with all CPUs (i7/Haswell on an older Mac mini here)?
After locating various information here and there I was under the impression that znedi3 should perform noticeably better than nnedi3. Since I failed to build it myself quickly I just hunted down for the binary from the plugin download page and dropped it into the right place ("/usr/local/lib/vapoursynth" here). Many hasvfunc functions make automatically use of znedi3 and prefer it over nnedi3. In my case performance dropped noticeably. First I encountered it with havsfunc's daa(). It now took like ~10s to process a frame compared to like ~1s with just nnedi3 installed. Maybe just a certain problem with my parameters or with the "progressive" input clip, but a generic QTGMC test over properly combed 1440x1080i data also showed huge performance losses: Code:
znedi3: encoded 1000 frames, 3.76 fps, 1482.79 kb/s nnedi3: encoded 1000 frames, 4.82 fps, 1474.58 kb/s |
24th April 2021, 16:38 | #299 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
@l33tmeatwad: Would be nice if you could add TIVTC (https://github.com/dubhater/vapoursynth-tivtc)
|
19th May 2021, 18:04 | #300 | Link | |
Registered User
Join Date: Jun 2007
Posts: 414
|
Quote:
|
|
Tags |
meatwadismagical, meatwadthegreat |
|
|