Suddenly Handbrake fails to encode H.265

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
nohellforme
New User
Posts: 1
Joined: Sat May 22, 2021 4:12 pm

Suddenly Handbrake fails to encode H.265

Post by nohellforme »

Description of problem or question:

I used to be able to encode all movie files to 10-bit H.265 on fast setting like clockwork. Suddenly I can't get any file to encode on those settings. I can't think of any change that I have made on any level that would effect that.


Steps to reproduce the problem (If Applicable):




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):
High Sierra 10.13.6



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

Here is my activity log:

HandBrake Activity Log for Session: 2021-05-22T02:57:50Z
Handbrake Version: 1.3.3 (2020061300)
Raya and the Last Dragon.mp4
Preset: Apple 2160p60 4K HEVC Surround (Modified)
[21:57:50] macgui: QueueCore scanning specifically for title: 1
[21:57:50] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[21:57:50] - Intel microarchitecture Skylake
[21:57:50] - logical processor count: 8
[21:57:50] hb_scan: path=/Volumes/Ext./Raya and the Last Dragon 1_t08.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Volumes/Ext./Raya and the Last Dragon 1_t08.mkv
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(/Volumes/Ext./Raya and the Last Dragon 1_t08.mkv/) failed
[21:57:50] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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:57:50] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Ext./Raya and the Last Dragon 1_t08.mkv':
Metadata:
title : Raya and the Last Dragon 1
encoder : libmakemkv v1.15.1 (1.3.5/1.4.7) darwin(x64-release)
creation_time : 2021-05-22T00:12:34.000000Z
Duration: 01:47:29.19, start: 0.000000, bitrate: 32394 kb/s
Chapter #0:0: start 0.000000, end 488.696542
Metadata:
title : Chapter 01
Chapter #0:1: start 488.696542, end 660.159500
Metadata:
title : Chapter 02
Chapter #0:2: start 660.159500, end 916.415500
Metadata:
title : Chapter 03
Chapter #0:3: start 916.415500, end 1215.339125
Metadata:
title : Chapter 04
Chapter #0:4: start 1215.339125, end 1708.748708
Metadata:
title : Chapter 05
Chapter #0:5: start 1708.748708, end 2156.904750
Metadata:
title : Chapter 06
Chapter #0:6: start 2156.904750, end 2263.261000
Metadata:
title : Chapter 07
Chapter #0:7: start 2263.261000, end 2472.595125
Metadata:
title : Chapter 08
Chapter #0:8: start 2472.595125, end 2599.388458
Metadata:
title : Chapter 09
Chapter #0:9: start 2599.388458, end 2936.391792
Metadata:
title : Chapter 10
Chapter #0:10: start 2936.391792, end 3091.505083
Metadata:
title : Chapter 11
Chapter #0:11: start 3091.505083, end 3193.732208
Metadata:
title : Chapter 12
Chapter #0:12: start 3193.732208, end 3321.067750
Metadata:
title : Chapter 13
Chapter #0:13: start 3321.067750, end 3548.044500
Metadata:
title : Chapter 14
Chapter #0:14: start 3548.044500, end 3717.380333
Metadata:
title : Chapter 15
Chapter #0:15: start 3717.380333, end 3874.579042
Metadata:
title : Chapter 16
Chapter #0:16: start 3874.579042, end 4007.294958
Metadata:
title : Chapter 17
Chapter #0:17: start 4007.294958, end 4281.819208
Metadata:
title : Chapter 18
Chapter #0:18: start 4281.819208, end 4551.213333
Metadata:
title : Chapter 19
Chapter #0:19: start 4551.213333, end 4721.007958
Metadata:
title : Chapter 20
Chapter #0:20: start 4721.007958, end 5306.217583
Metadata:
title : Chapter 21
Chapter #0:21: start 5306.217583, end 5708.285917
Metadata:
title : Chapter 22
Chapter #0:22: start 5708.285917, end 6449.192750
Metadata:
title : Chapter 23
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
BPS-eng : 23893744
DURATION-eng : 01:47:29.192750000
NUMBER_OF_FRAMES-eng: 154626
NUMBER_OF_BYTES-eng: 19261917956
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default)
Metadata:
title : Surround 7.1
BPS-eng : 5285048
DURATION-eng : 01:47:29.194666666
NUMBER_OF_FRAMES-eng: 604612
NUMBER_OF_BYTES-eng: 4260537956
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 1509000
DURATION-eng : 01:47:29.194666666
NUMBER_OF_FRAMES-eng: 604612
NUMBER_OF_BYTES-eng: 1216479344
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s
Metadata:
title : Stereo
BPS-eng : 320000
DURATION-eng : 01:47:29.216000000
NUMBER_OF_FRAMES-eng: 201538
NUMBER_OF_BYTES-eng: 257968640
SOURCE_ID-eng : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(fra): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 640000
DURATION-eng : 01:47:29.216000000
NUMBER_OF_FRAMES-eng: 201538
NUMBER_OF_BYTES-eng: 515937280
SOURCE_ID-eng : 001102
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 640000
DURATION-eng : 01:47:29.216000000
NUMBER_OF_FRAMES-eng: 201538
NUMBER_OF_BYTES-eng: 515937280
SOURCE_ID-eng : 001103
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 44718
DURATION-eng : 01:46:16.891354166
NUMBER_OF_FRAMES-eng: 3840
NUMBER_OF_BYTES-eng: 35645862
SOURCE_ID-eng : 001200
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(fra): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 26741
DURATION-eng : 01:45:46.194020833
NUMBER_OF_FRAMES-eng: 2320
NUMBER_OF_BYTES-eng: 21213287
SOURCE_ID-eng : 001201
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 28640
DURATION-eng : 01:45:46.194020833
NUMBER_OF_FRAMES-eng: 2326
NUMBER_OF_BYTES-eng: 22719732
SOURCE_ID-eng : 001202
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:9(fra): Subtitle: hdmv_pgs_subtitle, 1920x1080
Metadata:
BPS-eng : 1078
DURATION-eng : 01:46:50.758520833
NUMBER_OF_FRAMES-eng: 104
NUMBER_OF_BYTES-eng: 864397
SOURCE_ID-eng : 001203
_STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-22 00:12:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[21:57:50] scan: decoding previews for title 1
[21:57:50] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[21:57:50] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[21:57:50] scan: audio 0x3: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch) (320 kbps)
[21:57:50] scan: audio 0x4: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch) (640 kbps)
[21:57:50] scan: audio 0x5: ac3, rate=48000Hz, bitrate=640000 español (AC3) (5.1 ch) (640 kbps)
[21:57:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[21:57:51] libhb: scan thread found 1 valid title(s)
[21:57:51] macgui: QueueCore scan done
[21:57:51] macgui: QueueCore started encoding Raya and the Last Dragon.mp4
[21:57:51] macgui: QueueCore with preset Apple 2160p60 4K HEVC Surround (Modified)
[21:57:51] Starting work at: Fri May 21 21:57:51 2021

[21:57:51] 1 job(s) to process
[21:57:51] Starting Task: Subtitle Scan
[21:57:51] job configuration:
[21:57:51] * source
[21:57:51] + /Volumes/Ext./Raya and the Last Dragon 1_t08.mkv
[21:57:51] + title 1, chapter(s) 1 to 23
[21:57:51] + container: matroska,webm
[21:57:51] + data rate: 32394 kbps
[21:57:51] * destination
[21:57:51] + /Volumes/Plex/Plex Library/Movies/Raya and The Last Dragon/Raya and the Last Dragon.mp4
[21:57:51] + container: MPEG-4 (libavformat)
[21:57:51] + chapter markers
[21:57:51] * video track
[21:57:51] + decoder: h264
[21:57:51] + filters
[21:57:51] + 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)
[21:57:51] + Decomb (mode=39)
[21:57:51] + Framerate Shaper (mode=2:rate=27000000/450000)
[21:57:51] + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[21:57:51] + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[21:57:51] + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[21:57:51] + Output geometry
[21:57:51] + storage dimensions: 1920 x 804
[21:57:51] + pixel aspect ratio: 1 : 1
[21:57:51] + display dimensions: 1920 x 804
[21:57:51] * Foreign Audio Search: Render/Burn-in, Forced Only
[21:57:51] + subtitle, English [PGS] (track 0, id 0x6, Picture)
[21:57:51] sync: expecting 154625 video frames
[22:09:02] reader: done. 1 scr changes
[22:09:02] work: average encoding speed for job is 0.000000 fps
[22:09:02] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[22:09:02] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[22:09:02] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[22:09:02] vfr: lost time: 0 (0 frames)
[22:09:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:09:02] h264-decoder done: 0 frames, 0 decoder errors
[22:09:02] sync: got 0 frames, 154625 expected
[22:09:02] Subtitle track 0 (id 0x6) 'English [PGS]': 1919 hits (0 forced)
[22:09:02] No candidate detected during subtitle scan
[22:09:02] Starting Task: Encoding Pass
[22:09:02] job configuration:
[22:09:02] * source
[22:09:02] + /Volumes/Ext./Raya and the Last Dragon 1_t08.mkv
[22:09:02] + title 1, chapter(s) 1 to 23
[22:09:02] + container: matroska,webm
[22:09:02] + data rate: 32394 kbps
[22:09:02] * destination
[22:09:02] + /Volumes/Plex/Plex Library/Movies/Raya and The Last Dragon/Raya and the Last Dragon.mp4
[22:09:02] + container: MPEG-4 (libavformat)
[22:09:02] + chapter markers
[22:09:02] * video track
[22:09:02] + decoder: h264
[22:09:02] + filters
[22:09:02] + 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)
[22:09:02] + Decomb (mode=39)
[22:09:02] + Framerate Shaper (mode=2:rate=27000000/450000)
[22:09:02] + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[22:09:02] + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[22:09:02] + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[22:09:02] + Output geometry
[22:09:02] + storage dimensions: 1920 x 804
[22:09:02] + pixel aspect ratio: 1 : 1
[22:09:02] + display dimensions: 1920 x 804
[22:09:02] + encoder: H.265 10-bit (libx265)
[22:09:02] + preset: fast
[22:09:02] + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[22:09:02] + profile: auto
[22:09:02] + level: auto
[22:09:02] + quality: 24.00 (RF)
[22:09:02] + color profile: 1-1-1
[22:09:02] * audio track 1
[22:09:02] + name: Surround 7.1
[22:09:02] + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[22:09:02] + samplerate: 48000 Hz
[22:09:02] + mixdown: Stereo
[22:09:02] + dither: triangular
[22:09:02] + encoder: AAC (Apple AudioToolbox)
[22:09:02] + bitrate: 160 kbps, samplerate: 48000 Hz
[22:09:02] * audio track 2
[22:09:02] + name: Surround 7.1
[22:09:02] + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[22:09:02] + samplerate: 48000 Hz
[22:09:02] + mixdown: 5.1 Channels
[22:09:02] + dither: triangular
[22:09:02] + encoder: AC3 (libavcodec)
[22:09:02] + bitrate: 640 kbps, samplerate: 48000 Hz
[22:09:03] sync: expecting 154625 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 11.0.3][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(13 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 : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-24.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra lslices=5
x265 [info]: tools: deblock sao
[22:09:03] sync: first pts video is 0
[22:09:03] sync: "Chapter 1" (1) at frame 1 time 0
[22:09:03] sync: first pts audio 0x1 is 0
[22:09:03] sync: first pts audio 0x1 is 0
[22:17:24] sync: "Chapter 2" (2) at frame 11718 time 43982688
[22:20:26] sync: "Chapter 3" (3) at frame 15829 time 59414355
[22:24:09] sync: "Chapter 4" (4) at frame 21973 time 82477395
[22:29:16] sync: "Chapter 5" (5) at frame 29142 time 109388028
[22:36:52] sync: "Chapter 6" (6) at frame 40970 time 153787383
[22:44:15] sync: "Chapter 7" (7) at frame 51715 time 194121427
[22:46:11] sync: "Chapter 8" (8) at frame 54265 time 203693490
[22:49:55] sync: "Chapter 9" (9) at frame 59285 time 222537315
XPC: Service did report an error



Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Suddenly Handbrake fails to encode H.265

Post by Ritsuka »

That's weird. Can you check if there are some crash logs in ~/Library/Logs/DiagnosticReports , or if HandBrake crash if you try to encode a preview in the preview window.
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: Suddenly Handbrake fails to encode H.265

Post by Ritsuka »

The Activity Window might have some additional text after "XPC: Service did report an error" that could be useful to debug this.
Post Reply