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 9th July 2019, 17:13   #121  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
I'd really appreciate it if someone could take the time to manually update the https://github.com/HomeOfVapourSynth...h-Waifu2x-w2xc packages since it's a complicated one.

The best strategy is probably to keep both w2xc.json and w2xc_models.json and simply make them both point to the same file.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 9th July 2019, 18:33   #122  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
done, see PR.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 9th July 2019, 18:53   #123  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
Quote:
Originally Posted by ChaosKing View Post
done, see PR.
Nice. I guess the other small tasks I've got lying around would be to go through this rejected pull request and do things correctly. After that we're up to date again.

https://github.com/vapoursynth/vsrepo/pull/98
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 12th July 2019, 00:51   #124  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 615
https://github.com/HomeOfVapourSynth...urSynth-DeLogo
is deprecated in favor of
https://github.com/HomeOfAviSynthPlusEvolution/DelogoHD

DelogoHD supports both AviSynth+ and VapourSynth interfaces, and has SIMD optimizations and native HBD support from YUV420P8 up to YUV444P16.
MeteorRain is offline   Reply With Quote
Old 12th July 2019, 08:20   #125  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
PR is ready. Should vsrepo show a warning if a package is deprecated? I mean should we add a new field like "deprecated": "deleogohd" to vsrepo. Would then show "Delogo is deprecated, better install/use DelogoHD". But it won't happen very often...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 12th July 2019, 12:45   #126  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
I'll add some kind of deprecation warning then now that we actually have something to deprecate...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 17th August 2019, 11:37   #127  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,589
Muvsfunc fetched by VSRepo is a very old version. Is there any way to make VSRepo use the one from github?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is online now   Reply With Quote
Old 17th August 2019, 21:46   #128  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
Quote:
Originally Posted by Boulder View Post
Muvsfunc fetched by VSRepo is a very old version. Is there any way to make VSRepo use the one from github?
Just tell the maintainer to make an actual github release and it'll be picked up automatically.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 26th August 2019, 00:39   #129  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,151
There is a more up to date descale plugin from one of its fork

https://github.com/BluBb-mADe/vapour...scale/releases
lansing is offline   Reply With Quote
Old 30th August 2019, 10:22   #130  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
Quote:
Originally Posted by lansing View Post
There is a more up to date descale plugin from one of its fork

https://github.com/BluBb-mADe/vapour...scale/releases
The original author is still around so it has to be renamed or I won't include it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 30th August 2019, 10:23   #131  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
We're missing l-smash source I think. No surprise considering how elusive the binaries and releases are but lots of people use it so it'd be nice to have.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 30th August 2019, 10:29   #132  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
The only github repo with "vsrepo auto update compatibility" is this one https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works
I could make a PR, a package exists already https://github.com/theChaosCoder/avs...al/lsmash.json

p.s. yes, the binary supports both avs and vs
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 30th August 2019, 10:30   #133  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
Quote:
Originally Posted by ChaosKing View Post
The only github repo with "vsrepo auto update compatibility" is this one https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works
I could make a PR, a package exists already https://github.com/theChaosCoder/avs...al/lsmash.json

p.s. yes, the binary supports both avs and vs
That'd be nice. It's not ancient either so better than nothing.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 30th August 2019, 10:40   #134  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
Quote:
Originally Posted by Myrsloik View Post
That'd be nice. It's not ancient either so better than nothing.
Arghh it was a different one. This one only supports avisynth
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 2nd September 2019, 19:50   #135  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
I made a handy script to quickly check for new dependencies in VS-scripts. Maybe it can also be added to vsrupdate.
It downloads the latest script und searches for all known namespaces.

EDIT: maybe it would be also a good idea to track removed plugins (namespaces)?

PHP Code:
print('Checking dependencies')

    
with open('vspackages.json''r'encoding='utf-8') as vsp:
        
packages json.load(vsp)['packages'
    
    for 
plugin in packages:
        if (
plugin['type'] == 'PyScript'):
            
os.system("vsrepo.py -p -d install " plugin.get('modulename'))
            print(
"\nDependencies for: "plugin.get('modulename'))
            print(
"------------------")

            
filename = list(plugin['releases'][0]['script']['files'].keys())[0]
            
with open(filename'r'encoding='utf-8') as module:
                
current_script module.read()
                
deps = []
                
deps_new = []
                for 
p in packages:
                    if (
p['type'] == 'VSPlugin'):
                        
search "." p['namespace'] + "." # search for core .dfttest. DFTest() and clip .dfttest. DFTest(). Seems to be reliable enough...
                        
if search in current_script:
                            
deps.append(p['identifier'])
                            if 
not p['identifier'in plugin['dependencies']:
                                
deps_new.append(p['identifier'])
                            print(
p['identifier'])
                print(
"NEW: "deps_new
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository

Last edited by ChaosKing; 2nd September 2019 at 19:54.
ChaosKing is offline   Reply With Quote
Old 2nd September 2019, 20:36   #136  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
What do you even mean by "track removed plugins"? Either they're there or not...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 2nd September 2019, 20:54   #137  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 986
Quote:
Originally Posted by Myrsloik View Post
What do you even mean by "track removed plugins"? Either they're there or not...
If a script gets updated and does not use plugin xy anymore. There is no need to keep it as a dependency then? (it won't happen very often)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository

Last edited by ChaosKing; 2nd September 2019 at 20:57.
ChaosKing is offline   Reply With Quote
Old 2nd September 2019, 21:46   #138  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,001
Quote:
Originally Posted by ChaosKing View Post
If a script gets updated and does not use plugin xy anymore. There is no need to keep it as a dependency then? (it won't happen very often)
That's so rare doing it manually is fine. Just like adding additional dependencies manually generally is fine too since they're rarely added.

Since VSRepo uses unique strategies (keeps no state and tries to figure out the mess you've got) there's only so much you can with regards to tracking these no longer required plugins for removal.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Reply

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:57.


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