Deinterlace not deinterlacing

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
TheOtherNiki
New User
Posts: 1
Joined: Sat Nov 14, 2020 1:26 am

Deinterlace not deinterlacing

Post by TheOtherNiki »

Description of problem or question:
Maybe I'm just not using the right settings, but since the update a while back with the new deinterlace settings, I can't get any videos to properly deinterlace. I used to be able to just select deinterlace and fast, and the video would come out looking perfect. Now I've played with various settings and can't get it to work. The tutorials I've found online all still have the old version.


Steps to reproduce the problem (If Applicable):

Settings attempted for this log:
Interlace Detection: Fast
Deinterlace: Decomb
Preset: EEDI2


HandBrake version (e.g., 1.0.0):

1.3.3


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

OS Catalina 10.15.7


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake Activity Log for Session: 2020-11-08T03:13:43Z
Handbrake Version: 1.3.3 (2020061300)
Test Video.mp4
Preset: Fast 1080p30 (Modified)
[21:13:43] macgui: QueueCore scanning specifically for title: 1
[21:13:43] CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
[21:13:43]  - Intel microarchitecture Kaby Lake
[21:13:43]  - logical processor count: 16
[21:13:43] hb_scan: path=/Users/niki/Downloads/Test Video.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/niki/Downloads/Test Video.mp4
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/niki/Downloads/Test Video.mp4/) failed
[21:13:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[21:13:43] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/niki/Downloads/Test Video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.20.100
  Duration: 00:03:34.48, start: 0.000000, bitrate: 4108 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3974 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[21:13:43] scan: decoding previews for title 1
[21:13:43] scan: audio 0x1: aac, rate=44100Hz, bitrate=128016 Unknown (AAC LC) (2.0 ch) (128 kbps)
[21:13:44] scan: 10 previews, 1920x1080, 30.005 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:13:44] libhb: scan thread found 1 valid title(s)
[21:13:44] macgui: QueueCore scan done
[21:13:44] macgui: QueueCore started encoding Test Video.mp4
[21:13:44] macgui: QueueCore with preset Fast 1080p30 (Modified)
[21:13:44] Starting work at: Sat Nov  7 21:13:44 2020

[21:13:44] 1 job(s) to process
[21:13:44] Starting Task: Encoding Pass
[21:13:44] Skipping crop/scale filter
[21:13:44] work: only 1 chapter, disabling chapter markers
[21:13:44] job configuration:
[21:13:44]  * source
[21:13:44]    + /Users/niki/Downloads/Test Video.mp4
[21:13:44]    + title 1, chapter(s) 1 to 1
[21:13:44]    + container: mov,mp4,m4a,3gp,3g2,mj2
[21:13:44]    + data rate: 4108 kbps
[21:13:44]  * destination
[21:13:44]    + /Users/niki/Desktop/Test Video.mp4
[21:13:44]    + container: MPEG-4 (libavformat)
[21:13:44]      + align initial A/V stream timestamps
[21:13:44]  * video track
[21:13:44]    + decoder: h264
[21:13:44]      + bitrate 3974 kbps
[21:13:44]    + filters
[21:13:44]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[21:13:44]      + Deinterlace (mode=39)
[21:13:44]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:13:44]        + frame rate: 30.005 fps -> peak rate limited to 30.000 fps
[21:13:44]    + Output geometry
[21:13:44]      + storage dimensions: 1920 x 1080
[21:13:44]      + pixel aspect ratio: 1 : 1
[21:13:44]      + display dimensions: 1920 x 1080
[21:13:44]    + encoder: H.264 (libx264)
[21:13:44]      + preset:  fast
[21:13:44]      + profile: main
[21:13:44]      + level:   4.0
[21:13:44]      + quality: 22.00 (RF)
[21:13:44]      + color profile: 1-1-1
[21:13:44]  * audio track 1
[21:13:44]    + decoder: Unknown (AAC LC) (2.0 ch) (128 kbps) (track 1, id 0x1)
[21:13:44]      + bitrate: 128 kbps, samplerate: 44100 Hz
[21:13:44]    + mixdown: Stereo
[21:13:44]    + dither: triangular
[21:13:44]    + encoder: AAC (Apple AudioToolbox)
[21:13:44]      + bitrate: 160 kbps, samplerate: 44100 Hz
[21:13:44] sync: expecting 6435 video frames
[21:13:44] encx264: min-keyint: 30, keyint: 300
[21:13:44] encx264: encoding at constant RF 22.000000
[21:13:44] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[21:13:44] sync: first pts video is 0
[21:13:44] sync: "Chapter 1" (1) at frame 1 time 0
[21:13:44] sync: first pts audio 0x1 is 0
[21:15:10] reader: done. 1 scr changes
[21:15:12] work: average encoding speed for job is 73.927162 fps
[21:15:12] comb detect: heavy 110 | light 1305 | uncombed 5018 | total 6433
[21:15:12] vfr: 6210 frames output, 1638 dropped and 0 duped for CFR/PFR
[21:15:12] vfr: lost time: 0 (0 frames)
[21:15:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:15:12] aac-decoder done: 9237 frames, 0 decoder errors
[21:15:12] h264-decoder done: 6433 frames, 0 decoder errors
[21:15:12] sync: got 6433 frames, 6435 expected
[21:15:12] sync: framerate min 30.000 fps, max 30.005 fps, avg 30.002 fps
x264 [info]: frame I:63    Avg QP:19.75  size: 62316
x264 [info]: frame P:1809  Avg QP:20.98  size: 38031
x264 [info]: frame B:4338  Avg QP:22.51  size: 17826
x264 [info]: consecutive B-frames:  2.5% 10.8%  7.1% 79.6%
x264 [info]: mb I  I16..4: 58.3%  0.0% 41.7%
x264 [info]: mb P  I16..4: 37.8%  0.0% 11.2%  P16..4: 32.0%  8.9%  2.6%  0.0%  0.0%    skip: 7.4%
x264 [info]: mb B  I16..4:  9.6%  0.0%  1.3%  B16..8: 34.5%  7.2%  0.4%  direct:14.2%  skip:32.9%  L0:51.8% L1:43.6% BI: 4.6%
x264 [info]: coded y,uvDC,uvAC intra: 17.6% 69.2% 7.0% inter: 9.5% 38.7% 0.2%
x264 [info]: i16 v,h,dc,p: 40% 28% 15% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 29% 22%  4%  5%  4%  4%  4%  3%
x264 [info]: i8c dc,h,v,p: 38% 24% 23% 15%
x264 [info]: Weighted P-Frames: Y:2.4% UV:2.3%
x264 [info]: ref P L0: 76.9% 23.1%
x264 [info]: ref B L0: 87.6% 12.4%
x264 [info]: ref B L1: 96.4%  3.6%
x264 [info]: kb/s:5598.34
[21:15:13] mux: track 0, 6210 frames, 150049155 bytes, 5595.37 kbps, fifo 1024
[21:15:13] mux: track 1, 9240 frames, 4402406 bytes, 164.17 kbps, fifo 1024
[21:15:13] Finished work at: Sat Nov  7 21:15:13 2020

[21:15:13] libhb: work result = 0

Woodstock
Veteran User
Posts: 3843
Joined: Tue Aug 27, 2013 6:39 am

Re: Deinterlace not deinterlacing

Post by Woodstock »

Code: Select all

[21:13:44]      + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
...
[21:15:12] comb detect: heavy 110 | light 1305 | uncombed 5018 | total 6433
Try it without comb detect. Comb detect attempts to speed things up by only putting frames that meet certain criteria through the decomb process. Some sources... that doesn't work so well. Shutting it off makes handbrake apply decomb to the whole source. It will be slower, but the results can be better.
Post Reply