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 24th July 2018, 22:58   #41  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Works great so far.
I think an info msg where plugins and scripts are being installed would be nice. (and to avoid questions like "where are my plugins" in the future)
Maybe even add an parameter for that? like vsrepo paths or vsrepo locations

It would be nice if I could specify a target folder in portable mode (-p). If possible for scripts and plugins separately. Currently scripts are downloaded in the root dir of vsrepo which is a bit annoying.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 24th July 2018, 23:15   #42  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Sure, I could add an override for the locations easily. Maybe listing the default paths would be good too.

I don't think there's anotjer guaranteed search path for portable python. Correct me if I'm wrong.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 24th July 2018, 23:36   #43  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
You can specify search paths in python36._pth in portable python (default is only root folder & python3X.zip). But I actually want it also for my installed version since I use a custom scripts folder.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 25th July 2018, 20:28   #44  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Test11 posted

Changes:
Code:
Plugin and script install paths can be specified
There's now a paths command to show where things will be installed
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 25th July 2018, 23:23   #45  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
SangNom2 Plugin Ported for VapourSynth. Beat by James1201 on https://bitbucket.org/James1201/vapoursynth-sangnom/
I guess it should be changed to this git repo then. Currently this one is used https://github.com/HomeOfVapourSynth...nth-SangNomMod
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 27th July 2018, 20:38   #46  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
I just re-checked and noticed that "identifier": "com.mio.sangnom" is actually from SangNom from https://bitbucket.org/James1201/vapoursynth-sangnom and not from the github version (it has a different identifier!)
What would be the prefered way now? Replace/correct sangnom.json or create a new json file? what about the filename? You knew this day will come

Here's the corrected file
Code:
{
	"name": "SangNom",
	"type": "Plugin",
	"description": "SangNom is a single field deinterlacer using edge-directed interpolation but nowadays it's mainly used in anti-aliasing scripts.",
	"website": "https://bitbucket.org/James1201/vapoursynth-sangnom",
	"doom9": "https://forum.doom9.org/showthread.php?t=173752",
	"category": "Deinterlacing",
	"identifier": "com.mio.sangnom",
	"namespace": "sangnom",
	"releases": [
		{
			"version": "r40",
			"win64": {
				"url": "https://bitbucket.org/James1201/vapoursynth-sangnom/downloads/libsangnom%20r40%20win64.7z",
				"files": [
					"libsangnom r40 win64/gcc/libsangnom.dll"
				],
				"hash": {
					"libsangnom.dll": "cd62d7e54f086e5752965072b07cc9e90b168517768472c76e754007763de9ae"
				}
			}
		}
	]
}
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 27th July 2018, 20:40   #47  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Correct it with the most up to date version I guess.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 31st July 2018, 19:09   #48  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Test12 posted. Fixes some downloads failing if the total size isn't known.

Adds some more packages as usual.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 6th August 2018, 14:06   #49  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Don't forget to test the update functionality. I've updates the package list with all the recent additions.

We're also getting close to a final release. All I want to do is add the possibility to install files into subdirectories (a very stupid limitation of the current code).
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 6th August 2018, 20:59   #50  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Just for fun... In avisynth world there is no identifier or namespace equivalent, correct? So if one would transform vsrepo to an avisynth package management (avsrepo), the only "unique" thing would be the filter name or filter filename!?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 6th August 2018, 21:09   #51  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
Just for fun... In avisynth world there is no identifier or namespace equivalent, correct? So if one would transform vsrepo to an avisynth package management (avsrepo), the only "unique" thing would be the filter name or filter filename!?
Exactly, there's no unique identifier or namespace there. That's why I added it to avoid most of the mess. FILENAME IS NOT UNIQUE.

Btw, if your transformations are minor consider not forking the codebase. I mean all you have to do is basically change how the plugin and script paths are read from the registry...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 6th August 2018, 23:16   #52  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Myrsloik View Post
Btw, if your transformations are minor consider not forking the codebase. I mean all you have to do is basically change how the plugin and script paths are read from the registry...
I just tested it with masktools2 and it works very well. Also with custom paths -b -s no changes are necessary to the vsrepo codebase, like you said.

Theoretically Avisynth could be also updated via vsrepo easily.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 7th August 2018, 14:04   #53  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
I just tested it with masktools2 and it works very well. Also with custom paths -b -s no changes are necessary to the vsrepo codebase, like you said.

Theoretically Avisynth could be also updated via vsrepo easily.
Sure, in theory it could work. However the other nice key part vsrupdate generally can't. Most Avisynth developers haven't heard of github or even version control. It'll be a lot messier and in the process you'll most likely end up having to host a pile of stuff yourself.

Anyway, not my problem anymore....
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th August 2018, 15:56   #54  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
RC1 released. See the first post.

Changes:
Code:
Files can now be installed into subdirectories, waifu2x added as a result of this
vsrupdate.py now does a lot more verification to ensure no typos are in the package files
Getting close to done. Update and test as usual. Maybe we can reach 100 packages before the final release... is there still stuff left to add anyway?

The only remaining enhancements are to fix a few corner cases and convenience things in vsrupdate so for all other purposes consider this version final.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th August 2018, 20:42   #55  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
The models are "very old" in releases. These are up to date https://github.com/HomeOfVapourSynth...2x-w2xc/models
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 7th August 2018, 20:48   #56  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
The models are "very old" in releases. These are up to date https://github.com/HomeOfVapourSynth...2x-w2xc/models
Someone will have to package them and release. I don't care enough about that detail. Actually someone who stores so many floating point numbers as json text deserves "old" models.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 7th August 2018, 21:25   #57  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
The vspackages.zip file on vapoursynth.com is broken
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 7th August 2018, 21:42   #58  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ChaosKing View Post
The vspackages.zip file on vapoursynth.com is broken
Fixed now
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 10th August 2018, 23:13   #59  |  Link
~ VEGETA ~
The cult of personality
 
~ VEGETA ~'s Avatar
 
Join Date: May 2013
Location: Planet Vegeta
Posts: 155
can you list the available packages in a txt file so we can choose?

Also, make something like "install common" to get most used packages like mvtools, masktools, lsmash, ffms2, fmt,..etc all in one line.
~ VEGETA ~ is offline   Reply With Quote
Old 10th August 2018, 23:15   #60  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by ~ VEGETA ~ View Post
can you list the available packages in a txt file so we can choose?

Also, make something like "install common" to get most used packages like mvtools, masktools, lsmash, ffms2, fmt,..etc all in one line.
Read the help and use the "available" command to list them all. Common means different things but at this point simply installing havsfunc is pretty much that.

Or if you have another base package suggestion simply post the command to install it all at once.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   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 00:57.


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