What encoding settings to use for interlaced SD cartoons?
Posted: Sat Jul 20, 2019 2:27 am
Description of problem or question:
Haven't seen something on this topic recently. What are the best settings for cartoons or animation, Standard def if it is interlaced? I'm trying to rip some old peanuts - it's cartoon mixed with live interviews, special.
I try to do it and get weird vertical lines, like dotted or something when there is movement. I tried a few settings but can't seem to figure it out. The best seems to be the defaults.
The original I have to admit is pretty messy. It's truly interlaced - NOT telecined, every frame looks like this.
Before:
https://i1147.photobucket.com/albums/o5 ... 4datuf.jpg
Here's how it looks after encoding:
https://i1147.photobucket.com/albums/o5 ... lmsxly.jpg
https://i1147.photobucket.com/albums/o5 ... het7gd.jpg
That might be the best I can expect... but I thought I'd ask!
Steps to reproduce the problem (If Applicable):
I ripped with MakeMKV to MKV. I encode with handbrake, detelecine: off, interlace detect: default, deinterlace: decomb preset:default
Denoise, sharpen, deblock, etc. all off
Video settings: H.264, framerate: same as source, Const quality: 20, Encoder preset: Fast, Encoder Tune: Animation, Fast decode unchecked, Encoder profile: Main, Level: 3.1, no extra options
HandBrake version (e.g., 1.0.0):
1.2.2 (2019022300)
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 7 pro SP1
HandBrake Activity Log
Haven't seen something on this topic recently. What are the best settings for cartoons or animation, Standard def if it is interlaced? I'm trying to rip some old peanuts - it's cartoon mixed with live interviews, special.
I try to do it and get weird vertical lines, like dotted or something when there is movement. I tried a few settings but can't seem to figure it out. The best seems to be the defaults.
The original I have to admit is pretty messy. It's truly interlaced - NOT telecined, every frame looks like this.
Before:
https://i1147.photobucket.com/albums/o5 ... 4datuf.jpg
Here's how it looks after encoding:
https://i1147.photobucket.com/albums/o5 ... lmsxly.jpg
https://i1147.photobucket.com/albums/o5 ... het7gd.jpg
That might be the best I can expect... but I thought I'd ask!
Steps to reproduce the problem (If Applicable):
I ripped with MakeMKV to MKV. I encode with handbrake, detelecine: off, interlace detect: default, deinterlace: decomb preset:default
Denoise, sharpen, deblock, etc. all off
Video settings: H.264, framerate: same as source, Const quality: 20, Encoder preset: Fast, Encoder Tune: Animation, Fast decode unchecked, Encoder profile: Main, Level: 3.1, no extra options
HandBrake version (e.g., 1.0.0):
1.2.2 (2019022300)
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 7 pro SP1
HandBrake Activity Log
Code: Select all
HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
Ram: 8133 MB,
GPU Information:
NVIDIA NVS 5200M - 23.21.13.9077
Screen: 1920x1200
Temp Dir: C:\Users\dgowans\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\dgowans\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[19:07:39] hb_init: starting libhb thread
[19:07:39] 1 job(s) to process
[19:07:39] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\VideoMaster\\Ripping\\Handbrake\\Unlucky in Love-featurette-intlcd.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 6,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 8,
"Den": 9
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 3,
"Path": "C:\\VideoMaster\\Ripping\\Handbrake\\Be My Valentine, Charlie Brown (1975)\\Unlucky in Love-featurette-intlcd.mkv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "3.1",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 20.0,
"Tune": "animation",
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[19:07:39] CPU: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
[19:07:39] - Intel microarchitecture Ivy Bridge
[19:07:39] - logical processor count: 8
[19:07:39] Intel Quick Sync Video support: no
[19:07:39] hb_scan: path=C:\VideoMaster\Ripping\Handbrake\Be My Valentine, Charlie Brown (1975)\Unlucky in Love-featurette-intlcd.mkv, title_index=3
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\VideoMaster\Ripping\Handbrake\Be My Valentine, Charlie Brown (1975)\Unlucky in Love-featurette-intlcd.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[19:07:39] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:07:39] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\VideoMaster\Ripping\Handbrake\Be My Valentine, Charlie Brown (1975)\Unlucky in Love-featurette-intlcd.mkv':
Metadata:
title : BE MY VALENTINE CHARLIE BROWN
encoder : libmakemkv v1.14.4 (1.3.5/1.4.7) win(x64-release)
creation_time : 2019-07-18T07:34:43.000000Z
Duration: 00:15:03.24, start: 0.000000, bitrate: 5189 kb/s
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Metadata:
BPS-eng : 4986857
DURATION-eng : 00:15:03.235666666
NUMBER_OF_FRAMES-eng: 27070
NUMBER_OF_BYTES-eng: 563038020
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2019-07-18 07:34:43
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 00:15:03.232000000
NUMBER_OF_FRAMES-eng: 28226
NUMBER_OF_BYTES-eng: 21677568
SOURCE_ID-eng : 0182BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2019-07-18 07:34:43
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(spa): Subtitle: dvd_subtitle, 720x480
Metadata:
BPS-eng : 5201
DURATION-eng : 00:14:24.820877777
NUMBER_OF_FRAMES-eng: 266
NUMBER_OF_BYTES-eng: 562260
SOURCE_ID-eng : 0121BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2019-07-18 07:34:43
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[19:07:39] scan: decoding previews for title 3
[19:07:39] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:07:39] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[19:07:39] libhb: scan thread found 1 valid title(s)
[19:07:39] Skipping subtitle scan. No suitable subtitle tracks.
[19:07:39] starting job
[19:07:39] decomb filter thread started for segment 0
[19:07:39] decomb filter thread started for segment 1
[19:07:39] decomb filter thread started for segment 2
[19:07:39] decomb filter thread started for segment 3
[19:07:39] decomb filter thread started for segment 4
[19:07:39] decomb filter thread started for segment 5
[19:07:39] decomb filter thread started for segment 6
[19:07:39] decomb filter thread started for segment 7
[19:07:39] decomb check thread started for segment 0
[19:07:39] decomb check thread started for segment 1
[19:07:39] decomb check thread started for segment 2
[19:07:39] decomb check thread started for segment 3
[19:07:39] decomb check thread started for segment 4
[19:07:39] decomb check thread started for segment 5
[19:07:39] decomb check thread started for segment 6
[19:07:39] decomb check thread started for segment 7
[19:07:39] mask filter thread started for segment 0
[19:07:39] mask filter thread started for segment 1
[19:07:39] mask filter thread started for segment 2
[19:07:39] mask filter thread started for segment 3
[19:07:39] mask filter thread started for segment 4
[19:07:39] mask filter thread started for segment 5
[19:07:39] mask filter thread started for segment 6
[19:07:39] mask filter thread started for segment 7
[19:07:39] mask erode thread started for segment 0
[19:07:39] mask erode thread started for segment 1
[19:07:39] mask erode thread started for segment 2
[19:07:39] mask erode thread started for segment 3
[19:07:39] mask erode thread started for segment 4
[19:07:39] mask erode thread started for segment 5
[19:07:39] mask erode thread started for segment 6
[19:07:39] mask erode thread started for segment 7
[19:07:39] mask dilate thread started for segment 0
[19:07:39] mask dilate thread started for segment 1
[19:07:39] mask dilate thread started for segment 2
[19:07:39] mask dilate thread started for segment 3
[19:07:39] mask dilate thread started for segment 4
[19:07:39] mask dilate thread started for segment 5
[19:07:39] mask dilate thread started for segment 6
[19:07:39] mask dilate thread started for segment 7
[19:07:39] yadif thread started for segment 0
[19:07:39] yadif thread started for segment 1
[19:07:39] yadif thread started for segment 2
[19:07:39] yadif thread started for segment 3
[19:07:39] yadif thread started for segment 4
[19:07:39] yadif thread started for segment 5
[19:07:39] yadif thread started for segment 6
[19:07:39] yadif thread started for segment 7
[19:07:39] work: only 1 chapter, disabling chapter markers
[19:07:39] job configuration:
[19:07:39] * source
[19:07:39] + C:\VideoMaster\Ripping\Handbrake\Be My Valentine, Charlie Brown (1975)\Unlucky in Love-featurette-intlcd.mkv
[19:07:39] + title 3, chapter(s) 1 to 1
[19:07:39] + container: matroska,webm
[19:07:39] + data rate: 5189 kbps
[19:07:39] * destination
[19:07:39] + C:\VideoMaster\Ripping\Handbrake\Unlucky in Love-featurette-intlcd.mkv
[19:07:39] + container: Matroska (libavformat)
[19:07:39] * video track
[19:07:39] + decoder: mpeg2video
[19:07:39] + filters
[19:07:39] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[19:07:39] + Decomb (mode=39)
[19:07:39] + Framerate Shaper (mode=0)
[19:07:39] + frame rate: same as source (around 29.970 fps)
[19:07:39] + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:07:39] + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[19:07:39] + Output geometry
[19:07:39] + storage dimensions: 720 x 480
[19:07:39] + pixel aspect ratio: 8 : 9
[19:07:39] + display dimensions: 640 x 480
[19:07:39] + encoder: H.264 (libx264)
[19:07:39] + preset: fast
[19:07:39] + tune: animation
[19:07:39] + profile: main
[19:07:39] + level: 3.1
[19:07:39] + quality: 20.00 (RF)
[19:07:39] + color profile: 6-1-6
[19:07:39] * audio track 1
[19:07:39] + decoder: English (AC3) (2.0 ch) (track 1, id 0x1)
[19:07:39] + bitrate: 192 kbps, samplerate: 48000 Hz
[19:07:39] + mixdown: Stereo
[19:07:39] + dither: none
[19:07:39] + encoder: AAC (libavcodec)
[19:07:39] + bitrate: 160 kbps, samplerate: 48000 Hz
[19:07:39] sync: expecting 27069 video frames
[19:07:39] encx264: min-keyint: 30, keyint: 300
[19:07:39] encx264: encoding at constant RF 20.000000
[19:07:39] encx264: unparsed options: level=3.1:ref=4:bframes=5:deblock=1,1:8x8dct=0:weightp=1:subme=6:psy-rd=0.4,0:vbv-bufsize=14000:vbv-maxrate=14000:aq-strength=0.6:rc-lookahead=30
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 3.1, 4:2:0, 8-bit
[19:07:39] sync: first pts video is 0
[19:07:39] sync: first pts audio 0x1 is 0
[19:07:39] sync: "Chapter 1" (1) at frame 3 time 6006
[19:10:28] reader: done. 1 scr changes
[19:10:28] work: average encoding speed for job is 160.366318 fps
[19:10:28] comb detect: heavy 13582 | light 3680 | uncombed 9808 | total 27070
[19:10:28] decomb: deinterlaced 13582 | blended 3680 | unfiltered 9808 | total 27070
[19:10:28] vfr: lost time: 0 (0 frames)
[19:10:28] vfr: gained time: 0 (0 frames) (0 not accounted for)
[19:10:28] ac3-decoder done: 28226 frames, 0 decoder errors
[19:10:28] mpeg2video-decoder done: 27070 frames, 0 decoder errors
[19:10:28] sync: got 27070 frames, 27069 expected
[19:10:28] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:200 Avg QP:17.37 size: 44075
x264 [info]: frame P:5922 Avg QP:20.93 size: 12612
x264 [info]: frame B:20948 Avg QP:24.37 size: 2429
x264 [info]: consecutive B-frames: 2.9% 3.9% 6.6% 7.5% 14.9% 64.1%
x264 [info]: mb I I16..4: 42.4% 0.0% 57.6%
x264 [info]: mb P I16..4: 3.4% 0.0% 3.2% P16..4: 38.8% 12.9% 9.1% 0.0% 0.0% skip:32.6%
x264 [info]: mb B I16..4: 1.9% 0.0% 0.3% B16..8: 13.7% 3.9% 0.7% direct:12.1% skip:67.5% L0:40.0% L1:43.0% BI:17.0%
x264 [info]: coded y,uvDC,uvAC intra: 43.6% 50.7% 25.6% inter: 10.7% 19.2% 2.7%
x264 [info]: i16 v,h,dc,p: 38% 32% 23% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 28% 14% 5% 6% 6% 6% 6% 7%
x264 [info]: i8c dc,h,v,p: 64% 19% 14% 3%
x264 [info]: Weighted P-Frames: Y:4.8% UV:1.6%
x264 [info]: ref P L0: 62.0% 24.2% 13.4% 0.4%
x264 [info]: ref B L0: 78.0% 17.9% 4.0%
x264 [info]: ref B L1: 92.6% 7.4%
x264 [info]: kb/s:1190.23
[19:10:28] mux: track 0, 27070 frames, 134374725 bytes, 1190.12 kbps, fifo 4096
[19:10:28] mux: track 1, 42340 frames, 18127874 bytes, 160.55 kbps, fifo 8192
[19:10:28] libhb: work result = 0
# Encode Completed ...