The Midnight Gospel Season 1 S01 (2020) Complete 1080p WEBRIP 10-bit x265 HEVC Opus AAC 5.1 [XannyFamily]
Welcome to 2021, my fellow pirates.
For my first release of the new year I wanted to try something a little different.
This is the full first season of The Midnight Gospel. Perfect for dropping acid to and the same as you'd get on Netflix except it's free. Know how much it costs per month? Zero. How cool is that?
"Well yeah this is a torrent site you dipshit, what's different about that?" I hear you ask.
Two things in the encoding process.
I will write a TL;DR here because I ended up getting pretty detailed. So if you don't care about the details: cartoons encode more efficiently using a 2 pass targeted bitrate than a CRF preset, and I tried out Opus as the default audio codec because it gets you higher quality at lower bitrates, but it's relatively new so I also included AAC tracks with each episode in case you have problems with Opus support. If your setup *did* support Opus letting me know what you're using would be very helpful to me so I can get an idea of how widely supported Opus is at the moment and if it's a good idea to use it more for things like TV shows without needing an AAC track to fallback on.
Full details for nerdy types who are curious:
Firstly, the video. As usual it is 10-bit x265. But next you might be wondering "what's the CRF?" There is none. I did a bunch of experimenting and, after a lot of fan noise and CPU cycles, came to the conclusion that CRF, while excellent for live action content, is not all that great for animation.
See the idea behind CRF is that when there is not much movement on the screen the bitrate goes up because your eye is drawn to the details, and when there is a lot of movement the bitrate goes down because the human eye cannot perceive the reduction in bitrate during a fast moving fight scene or car chase. This is what makes CRF based encoding so great for compressing movies without any loss in perceivable quality.
But already you can probably see where I'm going with this. In cartoons it you just have a bunch of bright colourful drawings changing constantly. And while some cartoons are more animated than others, CRF is often not the most efficient method of encoding them. This is why you see encodes where a single episode of Rick & Morty is like 1GB. Why is a 20 minute cartoon half the size of some full 1080p movies, even when x265 is used? Likely because it was encoded with the same presets you'd use for a movie. In other words that's inefficient encoding for the given source material.
One other thing about animation is it can still look very good at lower bitrates compared to live action content. This is true even on large screens assuming a normal viewing distance. I tried it myself on a 60" 4K TV. As long as you don't go too low (you don't want to end up with blocking do you?) there's no real need for high bitrate cartoons. This was another trial and error process but I believe I found the magic spot.
(P.S. Can you tell my Adderall is working? I think it might be working.)
The point of my mini essay is I have, through a lot of testing and tweaking, refined a preset for encoding animations as x265 in the most efficient way possible while retaining the same perceivable quality. How efficiently? The first time I tried to encode the first episode of this show with the usual CRF method it came out as over 800MB. I tried increasing the CRF to 23 and using the "slow" preset and that got it down to just over 600MB. I thought this is unacceptable the experimenting began.
When all was said and done I had encoded the entire show with a time consuming 2 pass bitrate based setup instead. The quality is brilliant and the file sizes mostly hang around the 280-320MB mark. Much better!
The second thing that's a little experimental is the audio codec. The primary audio track for these encodes is Opus. You can do your own reading into Opus, but put simply, it produces the highest quality at the lowest bitrate of any lossy audio codec out there. According to Wiki: "several blind listening tests have ranked it higher-quality than any other standard audio format at any given bitrate until transparency is reached, including MP3, AAC, and HE-AAC."
Basically what this means to you is I can encode content with Opus audio at a bitrate as low as 192kbps and it should sound as good as AC3, EAC3, or even AAC at a higher bitrate. Opus always uses a sample rate of 48kHz too making it ideal for video content. Multi-channel (surround sound) audio could require a higher bitrate so I used one, but still much lower than I could for AC3 or EAC3.
I have also included, with each episode, an AAC track in case your software or hardware does not support Opus. It was first released in 2012 so it is pretty new. It is supported by VLC and ffmpeg. Most media players use ffmpeg as a backend so Opus support usually depends on if the developers decided to implement it from the ffmpeg project. If you use Plex or Emby or something similar it should play Opus if your streamer supports it, otherwise it will just transcode to AAC automatically anyway.
This is why I consider it "experimental" as it's not supported by everything like AAC or AC3 are and I felt the need to include an AAC track for compatibility. But I would really appreciate input here. I know you guys have all sorts of different setups so if you can get let me know the setup you use, if Opus played, and if it needed to be transcoded or not, I'd appreciate it so I know how practical it is to use Opus more often in the future without needing to include AAC.
(Seriously, Adderall is insane.)
Right okay sorry... I will shut up now... if you made it this far, I hope you at least found it interesting.
Now enjoy the show! And seed it too!
Screenshots:
Media info for first episode:
Quote:
General
Unique ID : 128516958267827999034696968368148220161 (0x60AF77409109DBD8002CA1FE53D08901)
Complete name : /Volumes/SammyTypeC/The Midnight Gospel Season 1 S01 (2020) Complete 1080p WEBRIP 10-bit x265 HEVC Opus AAC 5.1 [XannyFamily]/The Midnight Gospel S01E01 [XannyFamily].mkv
Format : Matroska
Format version : Version 4
File size : 287 MiB
Duration : 22 min 1 s
Overall bit rate : 1 821 kb/s
Movie name : The Midnight Gospel S01E01 [XannyFamily]
Encoded date : UTC 2021-01-01 02:52:08
Writing application : HandBrake 1.3.3 2020061500
Writing library : Lavf58.29.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 22 min 1 s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : x265 3.2.1+1-b5c86a64bbbe:[Linux][GCC 9.3.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=6 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / 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=0 / 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=1 / subme=2 / merange=57 / temporal-mvp / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=1:1 / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=0.40 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=1337 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=0.40 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / 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 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / 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.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 22 min 1 s
Channel(s) : 6 channels
Channel layout : L R C Lb Rb LFE
Sampling rate : 48.0 kHz
Compression mode : Lossy
Delay relative to video : -7 ms
Title : Opus Surround 5.1
Language : English
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : A_AAC-2
Duration : 22 min 1 s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -21 ms
Title : AAC Surround 5.1
Language : English
Default : No
Forced : No
Text
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 21 min 7 s
Compression mode : Lossless
Title : Full English Subtitles
Language : English
Default : No
Forced : No