Quality issue with end credits

HandBrake for Mac support
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
fontessa
Posts: 2
Joined: Fri Feb 18, 2022 7:47 am

Quality issue with end credits

Post by fontessa »

Description of problem or question:

I ripped the movie "Zombie for sale" from Blu-ray and converted it with the H.265 encoder and and RF value of 22 of my HandBrake Version 1.5.1 (2022011000). About 20 seconds after the end credit start, I noticed that the picture oscillates between good and bad. About 15 seconds later, it stabilizes again. I reproduced this with just a short sequenze of the end credits. I put both, the original and the encoded version, plus two stills of the enoded version at a "good" moment and e few frames different at a "bad" moment. See here: http://hoes.li/handbrake/


Steps to reproduce the problem (If Applicable):

Use the sequence from the original (http://hoes.li/handbrake/Blu-ray-original.mkv) with HandBrake and the H.265 encoder with an RF value of 22.


HandBrake version (e.g., 1.0.0):

HandBrake Version 1.5.1 (2022011000)


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

Mac OS 12.1


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

Code: Select all

HandBrake Activity Log for Session: 2022-02-18T08:00:56Z
Handbrake Version: 1.5.1 (2022011000)
ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv
Preset: x465 (Modified)
[09:00:56] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[09:00:56] CPU: Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
[09:00:56]  - Intel microarchitecture Comet Lake
[09:00:56]  - logical processor count: 12
[09:00:56] hb_scan: path=/Users/stef/Movies/ZOMBIE FOR SALE/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/stef/Movies/ZOMBIE FOR SALE/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Users/stef/Movies/ZOMBIE FOR SALE/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv/) failed
[09:00:56] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[09:00:56] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/stef/Movies/ZOMBIE FOR SALE/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv':
  Metadata:
    title           : ZOMBIE FOR SALE
    creation_time   : 2022-02-17T17:25:42.000000Z
    ENCODER         : Lavf58.45.100
  Duration: 00:00:41.96, start: 0.083000, bitrate: 20461 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 40.915880
      Metadata:
        title           : Chapter 11
  Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 33903209
      DURATION-eng    : 01:51:58.044666666
      NUMBER_OF_FRAMES-eng: 161072
      NUMBER_OF_BYTES-eng: 28470406792
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:41.957000000
  Stream #0:1(kor): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3739395
      DURATION-eng    : 01:51:58.048000000
      NUMBER_OF_FRAMES-eng: 629817
      NUMBER_OF_BYTES-eng: 3140179640
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:41.881000000
  Stream #0:2(kor): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 01:51:58.048000000
      NUMBER_OF_FRAMES-eng: 629817
      NUMBER_OF_BYTES-eng: 1267191804
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:41.881000000
  Stream #0:3(kor): Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 2304000
      DURATION-eng    : 01:51:58.045000000
      NUMBER_OF_FRAMES-eng: 201542
      NUMBER_OF_BYTES-eng: 1934796960
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:41.886000000
  Stream #0:4(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 2304000
      DURATION-eng    : 01:51:58.045000000
      NUMBER_OF_FRAMES-eng: 201542
      NUMBER_OF_BYTES-eng: 1934796960
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:41.886000000
  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 22618
      DURATION-eng    : 01:47:12.822229166
      NUMBER_OF_FRAMES-eng: 2466
      NUMBER_OF_BYTES-eng: 18187780
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-02-17 17:25:42
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:00.000000000
[09:00:56] scan: decoding previews for title 1
[09:00:56] scan: audio 0x3: pcm_s24le, rate=48000Hz, bitrate=2304000 한국어 (pcm_s24le) (2.0 ch) (2304 kbps)
[09:00:56] scan: audio 0x4: pcm_s24le, rate=48000Hz, bitrate=2304000 English (pcm_s24le) (2.0 ch) (2304 kbps)
[09:00:56] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 한국어 (DTS-HD MA) (5.1 ch)
[09:00:56] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 한국어 (DTS) (5.1 ch) (1536 kbps)
[09:00:57] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[09:00:57] libhb: scan thread found 1 valid title(s)
[09:00:57] macgui: fr.handbrake.HandBrakeXPCService scan done
[09:00:57] macgui: fr.handbrake.HandBrakeXPCService started encoding ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv
[09:00:57] Starting work at: Fri Feb 18 09:00:57 2022

[09:00:57] 1 job(s) to process
[09:00:57] Skipping subtitle scan.  No suitable subtitle tracks.
[09:00:57] macgui: fr.handbrake.HandBrakeXPCService with preset x465 (Modified)
[09:00:57] Starting Task: Encoding Pass
[09:00:57] Skipping vfr filter
[09:00:57] Skipping crop/scale filter
[09:00:57] work: only 1 chapter, disabling chapter markers
[09:00:57] job configuration:
[09:00:57]  * source
[09:00:57]    + /Users/stef/Movies/ZOMBIE FOR SALE/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv
[09:00:57]    + title 1, chapter(s) 1 to 1
[09:00:57]    + container: matroska,webm
[09:00:57]    + data rate: 20461 kbps
[09:00:57]  * destination
[09:00:57]    + /Users/stef/Library/Containers/fr.handbrake.HandBrake/Data/Movies/ZOMBIE FOR SALE_t00-01.47.58.638-01.48.39.554.mkv
[09:00:57]    + container: Matroska (libavformat)
[09:00:57]  * video track
[09:00:57]    + decoder: h264 8-bit (yuv420p)
[09:00:57]    + filters
[09:00:57]      + 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)
[09:00:57]      + Decomb (mode=39)
[09:00:57]    + Output geometry
[09:00:57]      + storage dimensions: 1920 x 1080
[09:00:57]      + pixel aspect ratio: 1 : 1
[09:00:57]      + display dimensions: 1920 x 1080
[09:00:57]    + encoder: H.265 (libx265)
[09:00:57]      + preset:  fast
[09:00:57]      + profile: main
[09:00:57]      + level:   4.0
[09:00:57]      + quality: 22.00 (RF)
[09:00:57]      + color profile: 1-1-1
[09:00:57]      + chroma location: left
[09:00:57]  * subtitle track 1, English [PGS] (track 0, id 0x5, Picture) -> Passthrough
[09:00:57]  * audio track 1
[09:00:57]    + name: Surround 5.1
[09:00:57]    + decoder: 한국어 (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[09:00:57]      + samplerate: 48000 Hz
[09:00:57]    + mixdown: Stereo
[09:00:57]    + encoder: AAC (Apple AudioToolbox)
[09:00:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:00:57]  * audio track 2
[09:00:57]    + name: Surround 5.1
[09:00:57]    + decoder: 한국어 (DTS) (5.1 ch) (1536 kbps) (track 2, id 0x2)
[09:00:57]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[09:00:57]    + mixdown: 5.1 Channels
[09:00:57]    + encoder: AAC (Apple AudioToolbox)
[09:00:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:00:57]  * audio track 3
[09:00:57]    + decoder: 한국어 (pcm_s24le) (2.0 ch) (2304 kbps) (track 3, id 0x3)
[09:00:57]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[09:00:57]    + mixdown: Stereo
[09:00:57]    + encoder: AAC (Apple AudioToolbox)
[09:00:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:00:57]  * audio track 4
[09:00:57]    + decoder: English (pcm_s24le) (2.0 ch) (2304 kbps) (track 4, id 0x4)
[09:00:57]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[09:00:57]    + mixdown: Stereo
[09:00:57]    + encoder: AAC (Apple AudioToolbox)
[09:00:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:00:57] sync: expecting 1005 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Mac OS X][clang 13.0.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=30000kb vbv-maxrate=30000kbps. VBV outputs are non-deterministic!
x265 [info]: Main profile, Level-4 (High tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 30000 / 30000 / 0.900
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[09:00:57] sync: first pts video is 0
[09:00:57] sync: "Chapter 1" (1) at frame 1 time 0
[09:00:57] sync: first pts audio 0x3 is 360
[09:00:57] sync: first pts audio 0x4 is 360
[09:00:57] sync: first pts audio 0x1 is 720
[09:00:57] sync: first pts audio 0x2 is 720
[09:01:12] reader: done. 1 scr changes
[09:01:13] work: average encoding speed for job is 65.655174 fps
[09:01:13] comb detect: heavy 70 | light 623 | uncombed 311 | total 1004
[09:01:13] decomb: deinterlaced 70 | blended 623 | unfiltered 311 | total 1004
[09:01:13] dca-decoder done: 3918 frames, 0 decoder errors
[09:01:13] dca-decoder done: 3918 frames, 0 decoder errors
[09:01:13] pcm_s24le-decoder done: 1254 frames, 0 decoder errors
[09:01:13] pcm_s24le-decoder done: 1254 frames, 0 decoder errors
[09:01:13] h264-decoder done: 1004 frames, 0 decoder errors
[09:01:13] sync: got 1004 frames, 1005 expected
[09:01:13] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      5, Avg QP:22.26  kb/s: 7735.09 
x265 [info]: frame P:    197, Avg QP:23.67  kb/s: 3763.87 
x265 [info]: frame B:    802, Avg QP:28.59  kb/s: 965.19  
x265 [info]: Weighted P-Frames: Y:16.2% UV:6.6%
x265 [info]: consecutive B-frames: 0.5% 0.0% 0.5% 0.0% 99.0% 

encoded 1004 frames in 16.15s (62.18 fps), 1548.05 kb/s, Avg QP:27.59
[09:01:13] mux: track 0, 1004 frames, 8107115 bytes, 1548.82 kbps, fifo 1024
[09:01:13] mux: track 1, 1962 frames, 913851 bytes, 174.59 kbps, fifo 2048
[09:01:13] mux: track 2, 1962 frames, 848203 bytes, 162.04 kbps, fifo 2048
[09:01:13] mux: track 3, 1962 frames, 891385 bytes, 170.29 kbps, fifo 2048
[09:01:13] mux: track 4, 1962 frames, 860535 bytes, 164.40 kbps, fifo 2048
[09:01:13] mux: track 5, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[09:01:13] Finished work at: Fri Feb 18 09:01:13 2022

[09:01:13] libhb: work result = 0
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Quality issue with end credits

Post by Ritsuka »

Disable the Interlace detection and the deinterlace filters.
fontessa
Posts: 2
Joined: Fri Feb 18, 2022 7:47 am

Re: Quality issue with end credits

Post by fontessa »

That did the trick. Thanks a lot for your prompt help!
Post Reply