Nyaa archive 1195181

[Tess] Great Teacher Onizuka - GTO [DVD 720x480 AVC AC3]

Saved on 2020-02-24 19:20:10. This copy includes the description and comments available at capture.

Description

Video Source: Discotek DVD
Subs: Discotek DVD Vobsub
Audio: Muxed from DVD

Uploader Notes:
I began this encode due to a lack of high quality encodes of this amazing show. The source DVDs were pretty bad quality and contained a large amount of artifacts. To combat this the video has been filtered by waifu2x-converter-cpp on denoise mode at noise level 3 and deinterlaced using QTGMC using settings 'TFF=True, Preset="Slower", FPSDivisor=2, SourceMatch=3, TR2=3, Lossless=2, Sharpness=0.6'. QTGMC was used over IVTC because IVTC introduced a lot of combing artifacts presumably because of the low quality of the source DVDs. This ends up looking much better than the source DVD, however, don't expect an artifact free/flawless encode, the source DVDs contain a lot of artifacts that are unfixable without frame by frame edits. For those wondering, the included subtitles on the Discotek DVD appear to be the same source as the Crunchyroll subs. Below are some loseless screenshot comparisons between various releases.

*Click to view full image

Source Encode Crunchyroll Urotsuki
ivRO8b.th.png ivRMZq.th.png ivRBT2.th.png ivRUTx.th.png
ivRHQ7.th.png ivRYsA.th.png ivRdy9.th.png ivRcOH.th.png
ivRlnr.th.png ivRouM.th.png ivRm7v.th.png ivRXc1.th.png
ivRzyF.th.png ivRDAQ.th.png ivRsUC.th.png ivRwZc.th.png
ivReT3.th.png ivRNQa.th.png ivR4I5.th.png ivRxsK.th.png
ivRnO0.th.png ivRPne.th.png ivRKmz.th.png ivRyDZ.th.png
ivRvUD.th.png ivRf5k.th.png ivRpuT.th.png ivRGAP.th.png
*Note: The "Source" screenshots are deinterlaced with QTGMC at the same aforementioned settings and were encoded loselessly at crf 0 as QTGMC was far higher quality than mpv's default deinterlacer.
*Another Note: Crunchyroll is stretched out not because of anything on my end but because Crunchyroll is too incompetent to properly preserve DAR when encoding.

Mediainfo:

General
Unique ID : 7607046716832193265026517555675384851 (0x5B9105C2544C06E68D2FC9A4B7BCC13)
Complete name : [Tess] Great Teacher Onizuka - 01 [DVD 720x480 AVC AC3][C3A09634].mkv
Format : Matroska
Format version : Version 4
File size : 462 MiB
Duration : 48 min 24 s
Overall bit rate : 1 334 kb/s
Encoded date : UTC 2019-11-15 21:37:36
Writing application : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
Writing library : libebml v1.3.9 + libmatroska v1.5.2

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High [email protected]
Format settings : CABAC / 8 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 48 min 24 s
Bit rate : 1 138 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.110
Stream size : 394 MiB (85%)
Writing library : x264 core 157 r2969 d4099dd
Encoding settings : cabac=1 / ref=8 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=15 / lookahead_threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=250 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=720000 / vbv_bufsize=720000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 48 min 24 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 66.5 MiB (14%)
Language : Japanese
Service kind : Complete Main
Default : Yes
Forced : No

Text
ID : 3
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Duration : 48 min 20 s
Bit rate : 5 005 b/s
Count of elements : 600
Stream size : 1.73 MiB (0%)
Language : English
Default : Yes
Forced : No

Menu
00:00:00.000 : en:Chapter 01
00:03:06.386 : en:Chapter 02
00:04:44.017 : en:Chapter 03
00:14:06.378 : en:Chapter 04
00:29:16.721 : en:Chapter 05
00:39:47.284 : en:Chapter 06
00:46:22.746 : en:Chapter 07
00:48:02.779 : en:Chapter 08

Comments 22

It depends one thing I really disliked about Urotsuki's encode was it looked like the colors were washed out and I preferred the brighter colors that the Discotek DVD had. This release was also denoised with waifu2x which removed a massive amount of both noise and blocking artifacts that were on the DVD and are also still present in Urotsuki's release. So if you're like me and hate video noise in older anime this encode is much better and does look much cleaner and at a 1/3 the file size of Urotsuki. You can also consult the included screenshot comparison in the description to see which you prefer.

Urotsuki is way better judging by the screenshots. Your encode seems to wipe away a lot of the detail. In the first shot alone, you've lost pretty much all of the lines for the ceiling.

You've also encoded it into the wrong framerate.

The loss of detail is actually caused by the source. The brighter colors on the Discotek DVD wipes away a handful of background lines. You can notice it in the source screenshots as well. I personally don't see it as that big of a problem. As for the DVD being 30fps IVTC was initially used but this ended up creating a large number of combing artifacts I found QTGMC deinterlacing produced better results.

The loss of detail is actually caused by the source. The brighter colors on the Discotek DVD wipes away a handful of background lines.

Except the lines I was referring to are still in the source screenshot. So it's only your encode that removed it.

I apologize upon re-reviewing I do notice what you're talking about unfortunately small detail loss like that just comes with denoising. I tired to retain the most amount of quality by using waifu2x to denoise. Personally I don't find the removal of a handful of background lines all that detrimental to watchability or even overall quality. Of course I understand denoising isn't everyone's preference but I personally prefer it over noisy video.

As for the DVD being 30fps IVTC was initially used but this ended up creating a large number of combing artifacts I found QTGMC deinterlacing produced better results.

IVTC is composed of two steps: deinterlacing and decimating. you don't have to do them at the same time. you can definitely use QTGMC for deinterlacting then decimate afterwards with another filter. there's no reason to leave it at 30 fps.

herkz, can you direct me to some guides for correctly encoding an interlaced 29.97 fps BD to 23.976 fps?

tfm.tdecimate(mode=1) or the vapoursynth equivalent

you only need to do weird stuff for old DVDs like this show

Oddly enough I have tried decimating this video using core.vivtc.VDecimate(cycle=5, chroma=False) in vapoursynth and this ends up introducing a lot of judder I've included the clips below of the two outputs
deint+decimated: https://anonfile.com/C8a1W5Aan4/ivtc_mp4
deinterlaced: https://anonfile.com/I1a7W2A3n4/deint_mp4
I'm unsure if it has to do with the decimate filter I'm using or the source, either way this is my first time dealing with a DVD so any feedback or advice is more than appreciated. I did try using IVTC when first starting this project but couldn't find anyway to remedy this judder. I spent hours reading through vapoursynth documentation and couldn't find any type of solution I'm assuming it's the source and that's why I left it at 30 but I could be wrong and probably am.

i'd probably have to see the raw DVD to see what exactly went wrong there, but it definitely looks like it's supposed to be 24 fps based on the pans in the first two scenes.

also there's a lot of ghosting and other issues. looks like quite a fucked up source.

Interestingly enough upon comparing the framerates of various releases I've found most of them are at 30fps, Reaktor's release is at a variable 29.970, Crunchyroll is at 29.970 constant, Urotsuki's release is the most interesting using a variable 24.188 framerate at least according to mediainfo whereas ffmpeg reports a variable 29.970. Judging by the other encodes I think this may have to do with the source and it doesn't surprise me as you said the source is pretty fucked up. I had access to both the PAL and NTSC versions of the DVD set and both seem to exhibit the same issues while decimating and both suffer ghosting issues. This show in particular hasn't been an easy one to encode mainly because the source was so poor.

read some stuff on AB, looks like the source is garbage and the officialsubs suck too (with no fansubs available)

shame such a great show is left in such a poor state thanks to the outdated techniques for bringing anime to the west back then

i assume japanese DVDs aren't available online? if they even exist

I tried to source the JP DVDs to see if the quality was any better and unfortunately couldn't source them anywhere and yes the source is absolute garbage. I tired my best to clean up a large portion of it using waifu2x to denoise. The end result cleaned up a lot of lines and a big portion of rainbowing on edges.
This had a large impact on more convoluted scenes and you can see the difference very clearly in the fifth screenshot. Waifu2x also cleaned up most of these weird checkboard artifacts present in some frames, you can see them in the sixth screenshot on the right-hand inside edge of the picture frame. Waifu2x cleaned most of these up to a pretty much unnoticeable level. Unfortunately waifu2x had the side effect of removing some background lines, however, in most frames I think it still looks better than the source DVD. Plus it's not really all that noticeable without direct comparison to another source and during playback I doubt anyone could notice it.
I also completely agree it's a shame such a great show is condemned to such an awful DVD. The subs are passable I suppose they give you the gist of what's going on but they're filled with questionable translations. I can only imagine what other more advanced translation errors the subs have, as I don't even speak Japanese.
I've tried my best to clean up the source as much as physically possible but until this show gets a remaster or re-release this is about as much as I can do. The framerate of this DVD is also fucked I've been digging into more encodes on rutracker and virtually every single one is at 30fps.

Update pertaining to the framerate issues I have found an encode that does use 24fps. Yurasyk's release on rutracker is set at a constant 24fps however exhibits the exact same judder I noted when attempting to IVTC my source based on this I'm led to assume the judder is just something inherent to the source and not something on my end. Based on this I ultimately believe leaving the video deinterlaced at 30fps seems to be the best option at least with this particular DVD.