LightArrowsEXE
8th June 2022, 04:31
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 (https://github.com/Irrational-Encoding-Wizardry/lvsfunc) | Documentation (https://lvsfunc.encode.moe/en/latest/) | Support (https://discord.gg/qxTxVJGtst) | Issues (https://github.com/Irrational-Encoding-Wizardry/lvsfunc/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.
Anti-aliasing (https://lvsfunc.encode.moe/en/latest/submodules/aa.html)
Comparison (and analysis) (https://lvsfunc.encode.moe/en/latest/submodules/comparison.html)
Deblocking (https://lvsfunc.encode.moe/en/latest/submodules/deblock.html)
Dehaloing and edgecleaning (https://lvsfunc.encode.moe/en/latest/submodules/dehalo.html)
Dehardsubbing (https://lvsfunc.encode.moe/en/latest/submodules/dehardsub.html)
Deinterlacing, IVTC, and decombing (https://lvsfunc.encode.moe/en/latest/submodules/deinterlace.html)
Custom exceptions (https://lvsfunc.encode.moe/en/latest/submodules/exceptions.html)
Mask generation (https://lvsfunc.encode.moe/en/latest/submodules/mask.html)
Miscellaneous (https://lvsfunc.encode.moe/en/latest/submodules/misc.html)
Denoising and graining (https://lvsfunc.encode.moe/en/latest/submodules/noise.html)
Chroma reconstruction (through regression) (https://lvsfunc.encode.moe/en/latest/submodules/recon.html)
Clip rendering (https://lvsfunc.encode.moe/en/latest/submodules/render.html)
Upscaling and descaling (https://lvsfunc.encode.moe/en/latest/submodules/scale.html)
Custom types (https://lvsfunc.encode.moe/en/latest/submodules/types.html)
Utility functions (https://lvsfunc.encode.moe/en/latest/submodules/util.html)
Installation is simple. Open up a terminal and write:
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:
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.
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 (https://github.com/Irrational-Encoding-Wizardry/lvsfunc/issues/74).
Hope you enjoy using lvsfunc!
Source code (https://github.com/Irrational-Encoding-Wizardry/lvsfunc) | Documentation (https://lvsfunc.encode.moe/en/latest/) | Support (https://discord.gg/qxTxVJGtst) | Issues (https://github.com/Irrational-Encoding-Wizardry/lvsfunc/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.
Anti-aliasing (https://lvsfunc.encode.moe/en/latest/submodules/aa.html)
Comparison (and analysis) (https://lvsfunc.encode.moe/en/latest/submodules/comparison.html)
Deblocking (https://lvsfunc.encode.moe/en/latest/submodules/deblock.html)
Dehaloing and edgecleaning (https://lvsfunc.encode.moe/en/latest/submodules/dehalo.html)
Dehardsubbing (https://lvsfunc.encode.moe/en/latest/submodules/dehardsub.html)
Deinterlacing, IVTC, and decombing (https://lvsfunc.encode.moe/en/latest/submodules/deinterlace.html)
Custom exceptions (https://lvsfunc.encode.moe/en/latest/submodules/exceptions.html)
Mask generation (https://lvsfunc.encode.moe/en/latest/submodules/mask.html)
Miscellaneous (https://lvsfunc.encode.moe/en/latest/submodules/misc.html)
Denoising and graining (https://lvsfunc.encode.moe/en/latest/submodules/noise.html)
Chroma reconstruction (through regression) (https://lvsfunc.encode.moe/en/latest/submodules/recon.html)
Clip rendering (https://lvsfunc.encode.moe/en/latest/submodules/render.html)
Upscaling and descaling (https://lvsfunc.encode.moe/en/latest/submodules/scale.html)
Custom types (https://lvsfunc.encode.moe/en/latest/submodules/types.html)
Utility functions (https://lvsfunc.encode.moe/en/latest/submodules/util.html)
Installation is simple. Open up a terminal and write:
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:
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.
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 (https://github.com/Irrational-Encoding-Wizardry/lvsfunc/issues/74).
Hope you enjoy using lvsfunc!