[Okay-Minis] The First Slam Dunk (UHD-BD 1080p)
Description
Only contains 2.0 audio. SDR. AV1 10-bit. No subs. I will delete this once a better encode is released.
Video quality comparison to [Trix]
from vskernels import Hermite
from vstools import depth, get_y
from jvsfunc import rfs
hdr = core.ffms2.Source(r"00002.m2ts", track=0)
fel = core.ffms2.Source(r"00002.m2ts", track=1)
bl = depth(hdr, 16)
el = fel.resize.Point(bl.width, bl.height)
hdr = core.vsnlq.MapNLQ(bl, el)
sdr = core.resize.Point(hdr, matrix=1, transfer=1, primaries=1)
descale1 = core.descale.Debicubic(depth(get_y(sdr), 32), 1920, 1080, b=0, c=0.6)
hermite = Hermite.scale(depth(get_y(sdr), 32), 1920, 1080)
luma = rfs(descale1, hermite, [(0, 899), (171741, 178265), (178540, 178703)])
chroma420 = core.resize.Bicubic(sdr, 1920, 1080, format=vs.YUV420P10, filter_param_a_uv=0, filter_param_b_uv=0, chromaloc_in=2, chromaloc=0)
final420 = core.std.ShufflePlanes([depth(luma, 10), chroma420], [0, 1, 2], vs.YUV)
final420.set_output()
Notes:
- When encoding UHD, you have to be aware of UHD chroma (which is positioned differently than normal chroma) and handle it somehow. If you're downscaling, that probably means changing chromaloc to 0 as in the above code. If you're not downscaling, set the appropriate chromaloc value in your encoder (and perhaps that's also possible in mkvmerge, not sure).
- You need a recent version of ffms2 or lsmash to do the fel stuff, but either will work.
- This encode method won't usually work for HDR content. It only works here because the movie is 100% fake HDR.
File list
- [Okay-Minis] The First Slam Dunk (UHD 1080p) [B6D9FC85].mkv (4.8 GiB)
Comments — 6
The comps are like night and day
Which is why I'm working on a v2.
Small difference but great! Thanks! Hoping for the eng subs asap >.<
Tomorrow
Wow. Great news. Thanks in advance @NekoTrix -sama
Didn't know quietvoid made such a function, interesting