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 29th November 2020, 08:26   #281  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
@l33tmeatwad: another useful filter you could add: https://github.com/Kiyamou/VapourSynth-DehazingCE
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th November 2020, 20:23   #282  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 1st December 2020, 14:55   #283  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
I'd use it.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 2nd December 2020, 17:24   #284  |  Link
ChaosKing
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.
ChaosKing is offline   Reply With Quote
Old 2nd December 2020, 19:38   #285  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
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.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 2nd December 2020, 20:46   #286  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 3rd December 2020, 14:09   #287  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 414
Quote:
Originally Posted by ChaosKing View Post
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
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.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 3rd December 2020, 14:48   #288  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
VS docs: http://www.vapoursynth.com/doc/plugins.html#os-x
Quote:
Autoloading can be configured using the file $HOME/Library/Application Support/VapourSynth/vapoursynth.conf. Everything else is the same as in Linux.
So wouldn't it make sense for vsrepo-mac to use the paths from this config? (Assuming your installer would create the config file)

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
ChaosKing is offline   Reply With Quote
Old 3rd December 2020, 15:14   #289  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
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.
__________________
Github | AviSynth 101 | VapourSynth 101

Last edited by l33tmeatwad; 3rd December 2020 at 15:27.
l33tmeatwad is offline   Reply With Quote
Old 7th December 2020, 17:06   #290  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 23rd March 2021, 10:19   #291  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
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
Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd March 2021, 12:07   #292  |  Link
ChaosKing
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
I will test it a bit later (with mac files) next week or so as I'm a bit busy right now
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 23rd March 2021, 13:45   #293  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
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
and 1-2 seconds after the error message it shown.

Running:
Code:
python3 avsrepo.py update
python3 avsrepo.py install vstcanny
it aborts with:
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'
so simply removing the winreg part isn't encough.

No problem, just wanted to know what the current status is.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd March 2021, 14:39   #294  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 25th March 2021, 15:14   #295  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 414
Sorry for the long hiatus, had a few life events happen. I'll look into testing that plugin downloader in the next month or so and hopefully we can get it into the installer.

Sent from my Pixel 4a using Tapatalk
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 25th March 2021, 16:21   #296  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 14th April 2021, 18:30   #297  |  Link
dev-null
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
Also the actual data seems to come out differently (different bitrate/ resulting filesize), but I don't know if both plugins should work entirely identical here or not? But primarily the performance drop is huge. I was hoping for the opposite result.
dev-null is offline   Reply With Quote
Old 22nd April 2021, 02:42   #298  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 414
VapourSynth R53 installer is now up. It's a quick update so none of the dependencies were updated, but I'll try to do an updated version later.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Old 24th April 2021, 16:38   #299  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,255
@l33tmeatwad: Would be nice if you could add TIVTC (https://github.com/dubhater/vapoursynth-tivtc)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 19th May 2021, 18:04   #300  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 414
Quote:
Originally Posted by Selur View Post
@l33tmeatwad: Would be nice if you could add TIVTC (https://github.com/dubhater/vapoursynth-tivtc)
Added to my to-do list right behind updating dependancies.
__________________
Github | AviSynth 101 | VapourSynth 101
l33tmeatwad is offline   Reply With Quote
Reply

Tags
meatwadismagical, meatwadthegreat

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 11:17.


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