-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vs: k7sfunc 更新 0.1.20 & qtgmc 更新 0.0.3
vpy: 优化注释; 超分类脚本跳过2k及以上的源的处理; 移除 SR_CUGAN_NV ,有更高效的同类模型可替代; 新增 SR_ESRGAN_DML ,基于支持dx12显卡的esrgan放大; 新增 SR_WAIFU_DML ,基于支持dx12显卡的waifu2x放大; 修改 SR_WAIFU_NV ,支持使用不同的模型 模块: 解除显卡线程数设置的限制; 局部依赖由 dfttest 变更为 dfttest2; 添加辅助模块 EQ LAYER_HIGH LINE_MASK PLANE_EXTR RANGE_CHANGE - AA_NV 的参数 gpu_t 的默认值变更为 4 - BILA_NV 此为新增模块,作用为双边滤波降噪 - CSC_RB 此为新增模块,作用为红蓝色度偏移修正 - DEINT_LQ 此为新增模块,作用为简易反交错 - DEINT_STD 新增参数 tff 并默认值为 True - DEINT_EX 此为新增模块,将独立的 qtgmc 部分链接到此模块 - DFTT_STD 此为新增模块,作用为频域降噪 - DFTT_NV 此为新增模块,作用为频域降噪 - ESRGAN_DML 此为新增模块,作用为dx12通用图像放大 - FMT_CHANGE 此为后备模块 - FMT_CTRL 新增参数 spl_b , spl_c 并默认值为 1/3 ;修复一个无法转换的情况 - NLM_NV 的参数 gpu_t 的默认值变更为 4 - RIFE_STD 新增参数 skip 并默认值为 True - RIFE_NV 优化v2模型的性能 - UAI_DML 此为新增模块,作用为支持自定义模型 - UAI_NV_TRT 新增参数 clamp 并默认值为 False ;新增参数 tf32 并默认值为 True ;新增参数 cuda_opt 并默认值为 [0, 0, 0] - WAIFU_DML 此为新增模块,作用为dx12通用图像放大 - WAIFU_NV 新增参数 model 并默认为 3
- Loading branch information
Showing
14 changed files
with
949 additions
and
199 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ clip = video_in | |
# 用户选项 # | ||
############ | ||
|
||
Nr_Lv = [5,1,1] | ||
Nr_Lv = [5,0,0] | ||
Bs_Ref = 8 | ||
Bs_Out = 7 | ||
Gpu = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
### https://github.com/hooke007/MPV_lazy/wiki/3_K7sfunc | ||
### waifu2x 放大或降噪,性能要求非常高,仅支持DX12的显卡使用 | ||
|
||
import vapoursynth as vs | ||
from vapoursynth import core | ||
import k7sfunc as k7f | ||
|
||
clip = video_in | ||
|
||
############ | ||
# 用户选项 # | ||
############ | ||
|
||
H_Pre = 720 | ||
Lt_Hd = False | ||
Model = 3 | ||
Nr_Lv = 2 | ||
Gpu = 0 | ||
Gpu_T = 2 | ||
H_Max = 1440 | ||
Lk_Fmt = False | ||
## 整数,预降低处理源高度 | ||
## <True|False> 是否对超过HD分辨率(720P)的源进行处理 | ||
## <3|5|6> 使用的模型 | ||
## <-1|0|1|2|3> 降噪等级,-1为不降噪 | ||
## 使用的显卡序号,0为排序一号 | ||
## <1|2|3> 使用的显卡线程数 | ||
## 整数,输出高度限制(填你的显示器高度) | ||
## <True|False> 是否锁定像素格式为yuv420p8 | ||
|
||
ret = k7f.FMT_CTRL(clip, h_max=1200, h_ret=True) | ||
clip = k7f.FMT_CTRL(clip, h_max=H_Pre, fmt_pix=1 if Lk_Fmt else 0) | ||
clip = k7f.WAIFU_DML(clip, lt_hd=Lt_Hd, model=Model, nr_lv=Nr_Lv, scale=2, gpu=Gpu, gpu_t=Gpu_T) | ||
clip = k7f.FMT_CTRL(clip, h_max=H_Max, fmt_pix=1 if Lk_Fmt else 0) | ||
|
||
clip.set_output() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.