5
0

xv: create bd folder and add remaining shinais

This commit is contained in:
louis f 2020-04-27 14:36:53 -04:00
parent 226ecba7d6
commit 83d36de950
42 changed files with 132 additions and 0 deletions

View File

@ -0,0 +1,30 @@
import os
import vapoursynth as vs
import kagefunc as kgf
import fvsfunc as fvf
import vsTAAmbk as vstaa
import vsutil
from nnedi3_rpow2 import nnedi3_rpow2
from ytttfunc import adaptivegrain
core = vs.core
core.max_cache_size = 8192
src = core.lsmas.LWLibavSource("00007.m2ts")[24:-24]
src = core.fmtc.bitdepth(src, bits=16)
Y = vsutil.get_y(src)
Y800 = kgf.inverse_scale(Y, height=800, kernel="bicubic", b=1/3, c=1/3, mask_detail=True)
Y800 = nnedi3_rpow2(Y800).resize.Spline36(1920, 1080, format=vs.GRAY16)
Yd = fvf.rfs(Y, Y800, "[7920 8663]")
scaled = core.std.ShufflePlanes([Yd, src], planes=[0, 1, 2], colorfamily=vs.YUV)
final = scaled
final = adaptivegrain.adaptive_grain(final)
final = core.fmtc.bitdepth(final, bits=10, dmode=3)
final.set_output()

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import acsuite
import os
import vapoursynth as vs
core = vs.core
ac = acsuite.AC()
path = r"00007.m2ts"
src = core.lsmas.LWLibavSource(path)
ac.eztrim(src, [(24, -24)], os.path.splitext(path)[0] + ".wav", "shinai.wav")

View File

@ -0,0 +1,33 @@
import os
import vapoursynth as vs
import kagefunc as kgf
import fvsfunc as fvf
import vsTAAmbk as vstaa
import vsutil
from nnedi3_rpow2 import nnedi3_rpow2
from ytttfunc import adaptivegrain
core = vs.core
core.max_cache_size = 1024
src = core.lsmas.LWLibavSource("KIXA_90892/BDMV/STREAM/00007.m2ts")[24:-24]
src = core.fmtc.bitdepth(src, bits=16)
Y = vsutil.get_y(src)
Y800 = kgf.inverse_scale(Y, height=800, kernel="bicubic", b=1/3, c=1/3, mask_detail=True)
Y800 = nnedi3_rpow2(Y800).resize.Spline36(1920, 1080, format=vs.GRAY16)
Y872 = kgf.inverse_scale(Y, height=872, kernel="bicubic", b=1/3, c=1/3, mask_detail=True)
Y872 = nnedi3_rpow2(Y872).resize.Spline36(1920, 1080, format=vs.GRAY16)
Yd = fvf.rfs(Y872, Y800, "[9312 10055]")
scaled = core.std.ShufflePlanes([Yd, src], planes=[0, 1, 2], colorfamily=vs.YUV)
final = scaled
final = adaptivegrain.adaptive_grain(final)
final = core.fmtc.bitdepth(final, bits=10, dmode=3)
final.set_output()

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import acsuite
import os
import vapoursynth as vs
core = vs.core
ac = acsuite.AC()
path = r"KIXA_90892/BDMV/STREAM/00007.m2ts"
src = core.lsmas.LWLibavSource(path)
ac.eztrim(src, [(24, -24)], os.path.splitext(path)[0] + ".wav", "shinai.wav")

View File

@ -0,0 +1,33 @@
import os
import vapoursynth as vs
import kagefunc as kgf
import fvsfunc as fvf
import vsTAAmbk as vstaa
import vsutil
from nnedi3_rpow2 import nnedi3_rpow2
from ytttfunc import adaptivegrain
core = vs.core
core.max_cache_size = 1024
src = core.lsmas.LWLibavSource("KIXA_90893/BDMV/Stream/00007.m2ts")[24:-24]
src = core.fmtc.bitdepth(src, bits=16)
Y = vsutil.get_y(src)
Y800 = kgf.inverse_scale(Y, height=800, kernel="bicubic", b=1/3, c=1/3, mask_detail=True)
Y800 = nnedi3_rpow2(Y800).resize.Spline36(1920, 1080, format=vs.GRAY16)
Y872 = kgf.inverse_scale(Y, height=872, kernel="bicubic", b=1/3, c=1/3, mask_detail=True)
Y872 = nnedi3_rpow2(Y872).resize.Spline36(1920, 1080, format=vs.GRAY16)
Yd = fvf.rfs(Y872, Y800, "[7944 8687]")
scaled = core.std.ShufflePlanes([Yd, src], planes=[0, 1, 2], colorfamily=vs.YUV)
final = scaled
final = adaptivegrain.adaptive_grain(final)
final = core.fmtc.bitdepth(final, bits=10, dmode=3)
final.set_output()

View File

@ -0,0 +1,12 @@
#!/usr/bin/env python3
import acsuite
import os
import vapoursynth as vs
core = vs.core
ac = acsuite.AC()
path = r"KIXA_90893/BDMV/Stream/00007.m2ts"
src = core.lsmas.LWLibavSource(path)
ac.eztrim(src, [(24, -24)], os.path.splitext(path)[0] + ".wav", "shinai.wav")

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB