Example #1
0
from vapoursynth import core
import awsmfunc as awf
from rekt import rektlvls

battle_of_the_bulge = core.ffms2.Source(
    "Battle.of.the.Bulge.1965.BluRay.Remux.1080p.VC-1.DD.5.1-decibeL.mkv")
battle_of_the_bulge = core.std.Crop(battle_of_the_bulge,
                                    top=194,
                                    bottom=192,
                                    left=6,
                                    right=6)
battle_of_the_bulge = awf.fb(battle_of_the_bulge, right=1)
battle_of_the_bulge = rektlvls(battle_of_the_bulge,
                               colnum=[0, 1, 1905, 1906, 1907],
                               colval=[-14, -5, -5, -12, -15])

battle_of_the_bulge.set_output()
Example #2
0
from vapoursynth import core
import awsmfunc as awf

cheyenne_social_club = core.d2v.Source("The Cheyenne Social Club (1970)/VTS_01_1.d2v")
cheyenne_social_club = core.vivtc.VFM(cheyenne_social_club, 1)
cheyenne_social_club = core.std.SelectEvery(cheyenne_social_club, cycle=5, offsets=[0, 1, 2, 4])
cheyenne_social_club = core.std.Crop(cheyenne_social_club, top=64, bottom=60)
cheyenne_social_club = awf.fb(cheyenne_social_club, top=1)
cheyenne_social_club = awf.bbmod(cheyenne_social_club, top=5, right=4, thresh=15, blur=10)

cheyenne_social_club.set_output()
Example #3
0
from vapoursynth import core
import awsmfunc as awf
import havsfunc as haf

old_man_and_the_sea = core.lsmas.LWLibavSource("The.Old.Man.and.the.Sea.1958.1080p.AMZN.WEB-DL.DDP2.0.H.264-ISA.mkv")
old_man_and_the_sea = core.fb.FillBorders(old_man_and_the_sea, left=2)
old_man_and_the_sea = awf.fb(old_man_and_the_sea, right=1)
old_man_and_the_sea = awf.bbmod(old_man_and_the_sea, right=4, thresh=505, blur=15)
old_man_and_the_sea = awf.bbmod(old_man_and_the_sea, left=4, thresh=500, blur=3)
old_man_and_the_sea = haf.Deblock_QED(old_man_and_the_sea)

old_man_and_the_sea.set_output()
Example #4
0
from vapoursynth import core
import awsmfunc as awf

band_of_angels = core.ffms2.Source(
    "Band.of.Angels.1957.1080p.WEB-DL.DD1.0.H.264-SbR.mkv")
band_of_angels = core.std.Crop(band_of_angels, left=6, right=2)
band_of_angels = awf.fb(band_of_angels, right=1)

band_of_angels.set_output()
Example #5
0
from vapoursynth import core
import awsmfunc as awf

eighty_days = core.lsmas.LWLibavSource(
    "Around.the.World.in.Eighty.Days.1956.1080p.AMZN.WEB-DL.DD+2.0.x264-ABM.mkv"
)
eighty_days = awf.fb(eighty_days, left=1, right=1, bottom=1)

eighty_days.set_output()
Example #6
0
from vapoursynth import core
import awsmfunc as awf

beyond_the_poseidon_adventure = core.ffms2.Source("Beyond.the.Poseidon.Adventure.1979.1080p.AMZN.WEB-DL.DDP2.0.x264-ABM.mkv")
beyond_the_poseidon_adventure = core.std.Crop(beyond_the_poseidon_adventure, left=2, right=2)
beyond_the_poseidon_adventure = awf.fb(beyond_the_poseidon_adventure, left=1, right=1)
beyond_the_poseidon_adventure = awf.bbmod(beyond_the_poseidon_adventure, right=2, thresh=15, blur=20)

beyond_the_poseidon_adventure.set_output()
Example #7
0
from vapoursynth import core
import awsmfunc as awf
import havsfunc as haf

the_searchers = core.ffms2.Source("The.Searchers.1956.BluRay.Remux.1080p.VC-1.AC3.1.0-decibeL.mkv")
the_searchers = haf.Deblock_QED(the_searchers)
the_searchers = awf.fb(the_searchers, top=1, bottom=1, right=1)
the_searchers = core.fb.FillBorders(the_searchers, left=2)
the_searchers = awf.bbmod(the_searchers, top=6, right=4, thresh=55, blur=200)
the_searchers = awf.bbmod(the_searchers, left=8, thresh=200, blur=20)

the_searchers.set_output()
Example #8
0
ep = core.lsmas.LWLibavSource(
    "uloz/Di Gi Charat (complete)/Di Gi Charat/[アニメ DVD] -DiGiCharat- デ・ジ・キャラット Vol1 第01話 「でじこが来たにょ」 (XviD 640x480 AC3).avi"
)

epfix = depth(ep, 16)
epfix = epfix.std.Levels(min_in=0,
                         max_in=235 << 8,
                         min_out=16 << 8,
                         max_out=235 << 8,
                         planes=0)

epfix = epfix.resize.Bicubic(format=YUV444P16,
                             matrix_in_s="170m",
                             range_in_s="limited",
                             dither_type="error_diffusion")
edgefix = core.std.ShufflePlanes([epfix, awf.fb(epfix, left=1)], [0, 1, 2],
                                 YUV)
epfix = awf.bbmod(edgefix, left=2, blur=20,
                  thresh=30).std.Merge(edgefix, weight=[0.6, 0.4])
epfix = rektlvls(epfix, colnum=[638], colval=[8], prot_val=[70, 191])

epfix = epfix.resize.Bicubic(format=RGBS,
                             matrix_in_s="170m",
                             range_in_s="limited")
dpir = lvf.deblock.autodb_dpir(epfix,
                               strs=[45, 55, 75],
                               thrs=[(0.0, 0.0, 0.0), (1.0, 1.2, 1.5),
                                     (3.0, 3.8, 4.5)],
                               cuda=False).resize.Bicubic(
                                   format=YUV444P16,
                                   matrix_s="170m",
Example #9
0
from vapoursynth import core, RGB24
from rekt import rektlvls
import vsTAAmbk as taa
import kagefunc as kgf
import awsmfunc as awf

cunny = core.d2v.Source("Imouto Jiru/DISC1.d2v")
cunny = cunny.vivtc.VFM(1)
cunny = cunny.vivtc.VDecimate()
cunny = cunny[:44972]
cunny = cunny.std.Crop(left=6, right=4)
cunny = awf.fb(cunny, top=1)
cunny = cunny.resize.Bicubic(src_top=1)
cunny = cunny.fb.FillBorders(top=1, bottom=1, mode="fixborders")
cunny = cunny.vinverse.Vinverse()
black = core.tcm.TColorMask(cunny.std.Minimum(), ["$000000"],
                            tolerance=7,
                            bt601=True,
                            gray=False,
                            lutthr=9)
cunny = rektlvls(cunny, colnum=[1, 709], colval=[-9, 35])
aa = taa.TAAmbk(cunny, "Nnedi3")
sangnom = taa.TAAmbk(cunny, "Nnedi3SangNom")
mask = kgf.retinex_edgemask(cunny).std.Binarize(200).std.Deflate(threshold=250)
cunny = cunny.placebo.Deband(threshold=6, radius=16, grain=4)
cunny = awf.ReplaceFrames(core.std.MaskedMerge(cunny, aa, mask),
                          core.std.MaskedMerge(cunny, sangnom, mask),
                          "[4708 4850] [5290 5421] [5542 5698] [5770 5803]")
no_bbmod = cunny
censor = cunny.fb.FillBorders(top=2, mode="fixborders")
censor = awf.bbmod(censor, top=4, thresh=200, blur=10)
Example #10
0
from vapoursynth import core
import awsmfunc as awf
from rekt import rektlvls

deliverance = core.ffms2.Source(
    "Deliverance.40th.Anniversary.Edition.1972.Bluray.Remux.1080p.VC-1.DTS-HD.MA.5.1-HiFi.mkv"
)
deliverance = core.std.Crop(deliverance, top=140, bottom=140)
deliverance = core.fb.FillBorders(deliverance, left=2)
deliverance = rektlvls(deliverance, colnum=[1916, 1918], colval=[2, 26])
deliverance = awf.fb(deliverance, right=1)
deliverance = awf.bbmod(deliverance, left=8, right=4, thresh=15, blur=20)

deliverance.set_output()
Example #11
0
from vapoursynth import core
import awsmfunc as awf
import havsfunc as haf
import fvsfunc as fvf
import lvsfunc as lvf
import G41Fun

ep = 2

source = core.lsmas.LWLibavSource(
    f"Code.Lyoko.S01E{ep:02}.DVD.Remux.Multi-Odd_HD.mkv")[1130:]
source = source.std.AssumeFPS(fpsnum=25)
source = source.std.Crop(top=6, bottom=2, left=10, right=8)
lyoko = awf.fb(source, left=1, right=1)
lyoko = lyoko.vinverse.Vinverse()
lyoko = fvf.Depth(lyoko, 16)
no_filter = lyoko
lyoko = awf.bbmod(lyoko, top=4, bottom=4, thresh=4, blur=4)
lyoko = fvf.AutoDeblock(lyoko, adb1=0.4, adb2=0.1, adb1d=0.3, adb2d=1.4)
aa2 = lvf.aa.upscaled_sraa(lyoko, rfactor=2.0, rep=True)
lyoko = lvf.aa.upscaled_sraa(lyoko, rfactor=3.0, rep=True)
lyoko = G41Fun.MaskedDHA(lyoko, rx=1.4, ry=1.4, darkstr=0.0, lowsens=70)
lyoko = awf.ReplaceFrames(
    lyoko, aa2,
    "[4189 4238] [4931 5386] [6796 6845] [9084 9133] [14670 14876] [16507 16556] [19215 19512] [19560 19662] [21924 22287] [22348 22486] [22577 22751] [23495 23843] [24354 25444] [25498 26806] [26950 27304] [27947 28648] [28751 29253] [29421 29768] [29824 29905] [30008 30104] [30250 30304] [30391 30419] [30506 30590] [30659 30699] [31071 31323]"
)
lyoko = lyoko.f3kdb.Deband(range=2, grainy=16, grainc=16)
lyoko = fvf.ReplaceFrames(haf.Deblock_QED(no_filter), lyoko,
                          "[0 33399] [33650 33655]")

lyoko = fvf.Depth(lyoko, 10)
Example #12
0
from vapoursynth import core
import havsfunc as haf
import awsmfunc as awf
from rekt import rektlvls
import mvsfunc

executive_action_tv = core.lsmas.LWLibavSource("Executive Action.mkv")
executive_action_tv = core.std.Crop(executive_action_tv, top=6, bottom=2)
executive_action_tv = rektlvls(executive_action_tv,
                               colnum=[2, 1917],
                               colval=[20, 12])
executive_action_tv = core.fb.FillBorders(executive_action_tv, left=2, right=2)
executive_action_tv = awf.fb(executive_action_tv, bottom=1)
executive_action_tv = awf.bbmod(executive_action_tv,
                                left=6,
                                top=4,
                                bottom=6,
                                thresh=15,
                                blur=20)
executive_action_tv = awf.bbmod(executive_action_tv,
                                right=6,
                                thresh=5,
                                blur=20)

executive_action_tv = core.resize.Bicubic(executive_action_tv, format=YUV444P8)

executive_action_ntsc = core.d2v.Source(
    "Executive.Action.1973.NTSC.DVD5/VTS_01_1.d2v")[83:]
executive_action_ntsc = core.vivtc.VFM(executive_action_ntsc, 1)
executive_action_ntsc = core.std.SelectEvery(executive_action_ntsc,
                                             cycle=5,
Example #13
0
from vapoursynth import core
import awsmfunc as awf
import havsfunc as haf
import fvsfunc as fvf
import lvsfunc as lvf
import G41Fun

ep = 1

lyoko = core.lsmas.LWLibavSource(
    f"Code.Lyoko.S01E{ep:02}.DVD.Remux.Multi-Odd_HD.mkv")
lyoko = lyoko.std.AssumeFPS(fpsnum=25)
lyoko = lyoko.std.Crop(top=2, bottom=2, left=10, right=8)
lyoko = awf.fb(lyoko, left=1, right=1)

no_deblock = lyoko
lyoko = fvf.AutoDeblock(lyoko)
lyoko = haf.Deblock_QED(lyoko)
lyoko = awf.ReplaceFrames(lyoko, no_deblock, "[4864 4942]")

lyoko = awf.bbmod(lyoko, top=6, bottom=6, thresh=2, blur=5)
lyoko = lvf.aa.upscaled_sraa(lyoko, rfactor=3.0, rep=True)
lyoko = lyoko.vinverse.Vinverse()

no_deband = lyoko
lyoko = lyoko.placebo.Deband(radius=8, threshold=1.0)
lyoko = awf.ReplaceFrames(lyoko, no_deband, "[4864 4942]")

lyoko = G41Fun.MaskedDHA(lyoko, rx=1.8, ry=1.8, darkstr=0.0, lowsens=70)

lyoko.set_output()
Example #14
0
from vapoursynth import core
import awsmfunc as awf

firecreek = core.lsmas.LWLibavSource(
    "Firecreek.1968.1080p.WEB-DL.DD+2.0.H.264-SbR.mkv")
firecreek = awf.fb(firecreek, right=1)
firecreek = awf.bbmod(firecreek, right=4, thresh=8, blur=30)

firecreek.set_output()
Example #15
0
from vapoursynth import core
import awsmfunc as awf

rio_bravo = core.ffms2.Source(
    "Rio.Bravo.1959.REPACK.BluRay.Remux.1080p.VC-1.FLAC.1.0-HiFi.mkv")
rio_bravo = awf.fb(rio_bravo, left=1, right=1)
rio_bravo = awf.bbmod(rio_bravo, right=4, thresh=50, blur=200)

rio_bravo.set_output()
Example #16
0
from vapoursynth import core
import awsmfunc as awf

the_cowboys = core.ffms2.Source("The.Cowboys.1972.BluRay.Remux.1080p.VC-1.DD.5.1-DrBlaze.mkv")
the_cowboys = core.std.Crop(the_cowboys, top=142, bottom=142, left=6, right=6)
the_cowboys = awf.fb(the_cowboys, right=1)
the_cowboys = awf.bbmod(the_cowboys, left=2, right=3, thresh=15, blur=20)

the_cowboys.set_output()