July 8th update: started encoding a few days ago, the first 50 episodes are now encoded. Due to an issue I had with Opus causing a stutter with one of my testing devices when using HW decoding I have switched to qAAC q100 which results in about 192-200Kb/s.
July 11th: 90 episodes done.
July 12th: 98 episodes done. reworking filter script and encoding settings for the digital transition at 99.
July 13th: 116 episodes done.
July 14th: 133 episodes done.
July 15th: 153 episodes done.
July 16th: All episodes done encoding, some things must be fixed before release.
Avg size for 001-098 771MB.
Avg size for 099-167 462MB.
final total size for 001-167 is about 107GB.
--------------------------------------------------------------------------------------------------------------------------------------------
Old
I took a break from this project for a while and rethought some things so progress has been slow. Although now I think I've found a filter set and encode settings that provide pretty good subjective quality compared to the BDs at a reasonable size. I've decided to just not touch the resolution, at least for the cell based stuff. v0.9 because I'm still looking for feedback, but I don't think I'll be changing much for a final release. If there are no major problems, I will probably begin batch encoding all the episodes within a week or two, though at about 1.5 hours to encode each episode with current script and encoding settings, it will take some time.
Please leave feedback if you have suggestions.
Also, I am looking for a good method of batch retiming subs as well as mux them+the font in with the video, perhaps with help from eXmendiC/I am Scum's subfix pack, if this is possible telling me how would be awesome as I kinda dread the monotony of needed to mux together the subs, font, and video+audio 167 times.
Opus vbr148 - is this too much for Opus stereo, should I just use qAAC at a similar bitrate, perhaps just q127?
x265 crf18.6
Frame comparisons:
E001: https://slow.pics/c/eNOUgRO9 v0.9 - BD - v0 - v0.5
E002: https://slow.pics/c/Mv079vZs v0.9 - BD
E003: https://slow.pics/c/vPqyqcCG v0.9 - BD
E004: https://slow.pics/c/dADiPlTz v0.9 - BD
E005: https://slow.pics/c/WWCTLBbM v0.9 - BD
E006: https://slow.pics/c/RrL3LT6E v0.9 - BD
Media Info from E001:
General
Unique ID : 25977228892701870953043640170191289617 (0x138B0844CA7757AA51C09502DE347D11)
Complete name : F:\Encode\Encoded\[SAD] Inuyasha 001-006 [BD][1080p][HEVC10][OPUS2.0]v0.9\[SAD] Inuyasha 001 [BD][1080p][HEVC10][OPUS2.0]v0.9.mkv
Format : Matroska
Format version : Version 4
File size : 766 MiB
Duration : 24 min 7 s
Overall bit rate : 4 439 kb/s
Encoded date : UTC 2020-06-11 02:21:30
Writing application : mkvmerge v44.0.0 ('Domino') 64-bit
Writing library : libebml v1.3.10 + libmatroska v1.5.2
Attachments : baar sophia.ttf
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 24 min 6 s
Bit rate : 4 294 kb/s
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.115
Stream size : 741 MiB (97%)
Writing library : x265 3.3+2-gbe2d82093:[Windows][GCC 9.2.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1440x1080 / interlace=0 / total-frames=34690 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=240 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=48 / lookahead-slices=6 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=2 / subme=2 / merange=48 / temporal-mvp / no-frame-dup / hme / Level / merange / L0,L1,L2=16,32,48 / weightp / weightb / no-analyze-src-pics / deblock=-1:-1 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.58 / psy-rdoq=4.38 / no-rd-refine / no-lossless / cbqpoffs=-1 / crqpoffs=-1 / rc=crf / crf=18.6 / qcomp=0.70 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=4 / aq-strength=0.82 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.75 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 24 min 7 s
Bit rate : 143 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 50.001 FPS (960 SPF)
Compression mode : Lossy
Delay relative to video : 4 ms
Stream size : 24.6 MiB (3%)
Writing library : Lavc58.71.100 libopus
Language : Japanese
Default : No
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 22 min 31 s
Bit rate : 104 b/s
Count of elements : 303
Compression mode : Lossless
Stream size : 17.3 KiB (0%)
Language : English
Default : Yes
Forced : No
Old v0 https://nyaa.si/view/1246248
Old v0.5 https://nyaa.si/view/1247160
Filter script(created with StaxRip):
clip = core.lsmas.LWLibavSource(r"%source_file%")
clip = core.std.Crop(clip, 240, 240, 0, 0)
clip = core.fmtc.bitdepth (clip, bits=16)
pre = core.knlm.KNLMeansCL(clip, d = 2, a = 2, h = 0.75, channels = 'Y', device_type="gpu")
clip = core.knlm.KNLMeansCL(clip, d = 1, a = 1, h = 0.55, channels = 'UV', device_type="gpu")
clip = havsfunc.SMDegrain(clip, tr=3, thSAD=270, contrasharp=True, RefineMotion=True, prefilter=pre, chroma=False, pel=1, plane=0)
clip = taa.TAAmbk(clip, showmask=0, preaa=-1, aatype='Nnedi3', opencl=False, mtype=3, mthr=42, dark=0, sharp=0, aarepair=0, postaa=False, stabilize=1)
clip = core.f3kdb.Deband(clip, 12, grainc=20, grainy=68, y=72, cb=56, cr=56, dither_algo=2)
clip = core.fmtc.bitdepth (clip, bits=10)
clip.set_output()
Comments - 6
Waseem2341
sorrow (uploader)
Waseem2341
solidsnake
LightArrowsEXE
Mizore