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 8th June 2022, 04:31   #1  |  Link
LightArrowsEXE
Mt. Fuji Encoding Alumni
 
LightArrowsEXE's Avatar
 
Join Date: Nov 2016
Location: Netherlands
Posts: 13
lvsfunc: Light's VapourSynth functions

Figured I'd throw my hat in the ring and upload my function collection here too. It's been around for a couple of years and has been a rollercoaster the entire way.

Source code | Documentation | Support | Issues

"lvsfunc" is a multi-use function and wrapper collection aimed at offering a one-stop-shop for a lot of common operations used for anime encoding.
It's been slowly getting worked on over the years, and will be actively maintained for the foreseeable future.

lvsfunc, at the time of writing, contains the following sub-modules. For a list of all the functions contained in each sub-module, please consult the documentation.

Installation is simple. Open up a terminal and write:
Code:
pip3 install lvsfunc
This will download the latest release version. For the "nightly" or upstream builds, you can run the following command in your terminal:
Code:
pip3 install git+https://github.com/Irrational-Encoding-Wizardry/lvsfunc.git
Almost all the functions in lvsfunc are available in the global scope. It's good practice to call them from their specific sub-module, but the ability to just call them directly is there.

Code:
import lvsfunc as lvf

example_a = lvf.deinterlace.tivtc_vfr()
example_b = lvf.tivtc_vfr()
Support is primarily given through the Irrational-Encoding-Wizardry discord server (linked above), but I figured having an additional place for users to leave behind ideas, issues, complaints, etc. would be a good idea.

I am also open to porting commonly-used AVS(+) scripts. If you have any requests, please leave a reply here or ideally in the dedicated issue.

Hope you enjoy using lvsfunc!

Last edited by LightArrowsEXE; 8th June 2022 at 19:08.
LightArrowsEXE is offline   Reply With Quote
Old 8th June 2022, 18:39   #2  |  Link
Kogarou
Registered User
 
Join Date: Oct 2020
Posts: 9
1st
Kogarou is offline   Reply With Quote
Old 11th June 2022, 09:24   #3  |  Link
unix
Registered User
 
Join Date: Aug 2015
Posts: 47
Thank you sir =)
unix is offline   Reply With Quote
Old 12th July 2022, 00:58   #4  |  Link
LightArrowsEXE
Mt. Fuji Encoding Alumni
 
LightArrowsEXE's Avatar
 
Join Date: Nov 2016
Location: Netherlands
Posts: 13
v0.4.3 is out.

## What's Changed
* Minor updates by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/103
* Source: Fix d2v files not working by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/105
* Update vsdpir with new [code single]zones[/code] parameter, update typing by @Setsugennoao in https://github.com/Irrational-Encodi...sfunc/pull/106
* add downloads counter by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/107
* Fix doc typing by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/108
* chickendream: Update warning, make it so res is used by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/109
* Update workflows by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/112
* Fine dehalo update by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/113
* Minor fixes by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/114
* pick_rgvs/rgsf: Fix wrong plugin call by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/117
* Rfs updates by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/116
* ivtc_crdits: Rename to [code single]pulldown_credits[/code] by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/118
* Flake8 docstrings by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/119
* Deprecate .kernels in favour of vs-kernels by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/111
* Update get_matrix, other related updates by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/122
* source: Rewrite function by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/123
* Update matrices by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/124
* check_patterns: New function by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/125
* vsdpir: Fix strength clip size error by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/126
* vsdpir: Default args for Backend if not in kwargs by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/127
* source: [code single]tail_lines[/code] params, check if FILM/ORDER exists by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/128
* Fix vsmlrt stubs by @Setsugennoao in https://github.com/Irrational-Encodi...sfunc/pull/129
* Fix trim shift in replace_ranges by @Setsugennoao in https://github.com/Irrational-Encodi...sfunc/pull/132
* Rework and speed up vsdpir function by @Setsugennoao in https://github.com/Irrational-Encodi...sfunc/pull/130
* setsu made flake8 upset by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/134
* Update release.yml by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/136
* Source updates by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/137
* Doc updates electric boogaloo + bonus fixes by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/138
* Pre-v0.4.3 by @LightArrowsEXE in https://github.com/Irrational-Encodi...sfunc/pull/139


Full Changelog: https://github.com/Irrational-Encodi...0.4.2...v0.4.3
LightArrowsEXE is offline   Reply With Quote
Old 5th February 2024, 11:29   #5  |  Link
LightArrowsEXE
Mt. Fuji Encoding Alumni
 
LightArrowsEXE's Avatar
 
Join Date: Nov 2016
Location: Netherlands
Posts: 13
A whole slew of changelogs now that I've regained access to my forum account (please for the love of god update the forum version question's answer, admins).

For the full list of changelogs, see 0.4.3..0.8.1.

The gist of it is that most things were adopted by vs-jet packages. lvsfunc now serves primarily as a testing ground and a location for functions that may not be high-quality but a number of people still insist on using for some reason. As such, it's recommended you install the git latest version if you still plan on using lvsfunc, but to not depend on it in any packages.

The list of functions/classes still available:
  • comparison
    • compare
    • Comparer
    • comparison_shots (NEW!)
    • diff
    • Interleave
    • Split
    • stack_compare
    • Stack
    • Tile
  • deblock
    • autodb_dpir
  • exceptions
    • ClipsAndNamedClipsError
  • export (NEW!)
    • export_frames (NEW!)
    • get_random_frames (NEW!)
  • fun
    • minecraftify
  • grain (NEW!)
    • dynamic_scene_adaptive_grain (NEW!)
  • hdcam (NEW!)
    • hdcam_dering (NEW!)
  • misc
    • overlay_sign
  • presets (NEW!)
    • MVLightPreset (NEW!)
  • util
    • colored_clips
    • convert_rfs
    • get_match_centers_scaling (NEW!)

Furthermore, there is a branch in the works that adds support for parsing Wobbly output, simulating wibbly, gathering metrics to use in your scripts, etc. This branch can be found here.

The following functions/classes were moved or removed:

^ This list will be updated later today ^

Docstrings will also soon see an overhaul to hopefully be more informative and better inform users how to use the function, including giving more visual examples where possible (using ASCII because of rendering limitations), as well as example uses, improved typing, and more in-depth parameter description.

Vapoursynth development is far from dead. However, we'd like user feedback to help make our (as in, JET's) packages more accessible. Please leave your feedback here, or tell us in our support server.

Last edited by LightArrowsEXE; 5th February 2024 at 14:24. Reason: Adding NEW
LightArrowsEXE is offline   Reply With Quote
Reply

Tags
anime, filtering, maintained, package, vapoursynth

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 05:51.


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