H.265 videotoolbox not reading external sources

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
rotitrash
Posts: 1
Joined: Mon Jul 19, 2021 11:50 am

H.265 videotoolbox not reading external sources

Post by rotitrash »

Description of problem or question:

When attempting to encode a source to .mkv using the H.265 Videotoolbox encoder that is on an external drive or network drive (i.e. not on my local SSD), the encode starts normally (around 350 fps) but then slows down to about 0.2 fps anywhere between 0% and 5% completion.


Steps to reproduce the problem (If Applicable):

Open a source file on an external or network drive, and set destination to local drive or the source file path. Select the H.265 Videotoolbox encoder and start the encode. Source file can be any format such as .mp4, .m4v, .mkv or even .bdmv file.


HandBrake version (e.g., 1.0.0):

1.3.3; 1.4.0 and 1.4.0 beta 1


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

macOS Catalina 10.15.7


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

Code: Select all

HandBrake Activity Log for Session: 2021-07-19T12:35:43Z
Handbrake Version: 1.4.0 (2021071800)
Ocean's Eleven.mkv
Preset: Fast 1080p30 (Modified)
[14:35:43] Compile-time hardening features are enabled
[14:35:44] hb_init: starting libhb thread
[14:35:44] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[14:35:44] CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
[14:35:44]  - Intel microarchitecture Kaby Lake
[14:35:44]  - logical processor count: 16
[14:35:44] hb_scan: path=/Volumes/Downloads/incomplete/OCEANS_ELEVEN, title_index=1
[14:35:44] scan: BD has 18 title(s)
[14:35:44] bd: scanning title 1
[14:35:44] bd: playlist 00000.MPLS
[14:35:44] bd: duration is 01:56:34 (6994195 ms)
[14:35:44] bd: video id=0x1011, stream type=VC-1, format 1080p
[14:35:44] bd: aspect = 16:9
[14:35:44] bd: audio id=0x1100, lang=English (AC3), 3cc=eng
[14:35:44] bd: audio id=0x1101, lang=čeština (AC3), 3cc=ces
[14:35:44] bd: audio id=0x1102, lang=magyar (AC3), 3cc=hun
[14:35:44] bd: audio id=0x1103, lang=polski (AC3), 3cc=pol
[14:35:44] bd: audio id=0x1104, lang=русский (AC3), 3cc=rus
[14:35:44] bd: audio id=0x1105, lang=ไทย (AC3), 3cc=tha
[14:35:44] bd: audio id=0x1106, lang=Türkçe (AC3), 3cc=tur
[14:35:44] bd: audio id=0x1107, lang=English (AC3), 3cc=eng
[14:35:44] bd: audio id=0x1108, lang=English (AC3), 3cc=eng
[14:35:44] bd: subtitle id=0x1200, lang=English [PGS], 3cc=eng
[14:35:44] bd: subtitle id=0x1201, lang=中文 [PGS], 3cc=zho
[14:35:44] bd: subtitle id=0x1202, lang=한국어 [PGS], 3cc=kor
[14:35:44] bd: subtitle id=0x1203, lang=العربية [PGS], 3cc=ara
[14:35:44] bd: subtitle id=0x1204, lang=български [PGS], 3cc=bul
[14:35:44] bd: subtitle id=0x1205, lang=hrvatski [PGS], 3cc=hrv
[14:35:44] bd: subtitle id=0x1213, lang=čeština [PGS], 3cc=ces
[14:35:44] bd: subtitle id=0x1206, lang=eesti [PGS], 3cc=est
[14:35:44] bd: subtitle id=0x1207, lang=עברית [PGS], 3cc=heb
[14:35:44] bd: subtitle id=0x1208, lang=magyar [PGS], 3cc=hun
[14:35:44] bd: subtitle id=0x1209, lang=íslenska [PGS], 3cc=isl
[14:35:44] bd: subtitle id=0x120a, lang=latviešu [PGS], 3cc=lav
[14:35:44] bd: subtitle id=0x120b, lang=lietuvių [PGS], 3cc=lit
[14:35:44] bd: subtitle id=0x120c, lang=polski [PGS], 3cc=pol
[14:35:44] bd: subtitle id=0x120d, lang=Portugues [PGS], 3cc=por
[14:35:44] bd: subtitle id=0x120e, lang=română [PGS], 3cc=ron
[14:35:44] bd: subtitle id=0x120f, lang=русский [PGS], 3cc=rus
[14:35:44] bd: subtitle id=0x1210, lang=srpski [PGS], 3cc=srp
[14:35:44] bd: subtitle id=0x1211, lang=slovenščina [PGS], 3cc=slv
[14:35:44] bd: subtitle id=0x1212, lang=ไทย [PGS], 3cc=tha
[14:35:44] bd: subtitle id=0x1214, lang=Türkçe [PGS], 3cc=tur
[14:35:44] bd: subtitle id=0x1215, lang=українська [PGS], 3cc=ukr
[14:35:44] bd: subtitle id=0x1216, lang=中文 [PGS], 3cc=zho
[14:35:44] bd: subtitle id=0x1217, lang=中文 [PGS], 3cc=zho
[14:35:44] bd: chap 1, 126960 ms
[14:35:44] bd: chap 2, 183349 ms
[14:35:44] bd: chap 3, 366032 ms
[14:35:44] bd: chap 4, 190690 ms
[14:35:44] bd: chap 5, 239906 ms
[14:35:44] bd: chap 6, 120620 ms
[14:35:44] bd: chap 7, 162662 ms
[14:35:44] bd: chap 8, 167000 ms
[14:35:44] bd: chap 9, 139806 ms
[14:35:44] bd: chap 10, 318151 ms
[14:35:44] bd: chap 11, 364364 ms
[14:35:44] bd: chap 12, 175175 ms
[14:35:44] bd: chap 13, 115281 ms
[14:35:44] bd: chap 14, 254754 ms
[14:35:44] bd: chap 15, 316149 ms
[14:35:44] bd: chap 16, 155321 ms
[14:35:44] bd: chap 17, 102268 ms
[14:35:44] bd: chap 18, 214214 ms
[14:35:44] bd: chap 19, 129796 ms
[14:35:44] bd: chap 20, 84751 ms
[14:35:44] bd: chap 21, 184017 ms
[14:35:44] bd: chap 22, 288955 ms
[14:35:44] bd: chap 23, 183349 ms
[14:35:44] bd: chap 24, 186519 ms
[14:35:44] bd: chap 25, 184517 ms
[14:35:44] bd: chap 26, 156990 ms
[14:35:44] bd: chap 27, 262428 ms
[14:35:44] bd: chap 28, 228561 ms
[14:35:44] bd: chap 29, 125291 ms
[14:35:44] bd: chap 30, 228228 ms
[14:35:44] bd: chap 31, 135969 ms
[14:35:44] bd: chap 32, 158158 ms
[14:35:44] bd: chap 33, 302302 ms
[14:35:44] bd: chap 34, 141307 ms
[14:35:44] bd: chap 35, 300091 ms
[14:35:44] bd: chap 36, 250 ms
[14:35:44] bd: title 1 has 36 chapters
[14:35:44] scan: decoding previews for title 1
[14:35:44] scan: title angle(s) 1
[14:35:44] scan: audio 0x1106: ac3, rate=48000Hz, bitrate=192000 Türkçe (AC3) (1.0 ch) (192 kbps)
[14:35:44] scan: audio 0x1107: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[14:35:44] scan: audio 0x1108: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[14:35:44] scan: audio 0x1100: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[14:35:44] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 čeština (AC3) (5.1 ch) (640 kbps)
[14:35:44] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=640000 magyar (AC3) (5.1 ch) (640 kbps)
[14:35:44] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 polski (AC3) (5.1 ch) (640 kbps)
[14:35:44] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=640000 русский (AC3) (5.1 ch) (640 kbps)
[14:35:44] scan: audio 0x1105: ac3, rate=48000Hz, bitrate=640000 ไทย (AC3) (5.1 ch) (640 kbps)
[14:35:46] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[14:35:46] stream: 7 good frames, 0 errors (0%)
[14:35:46] libhb: scan thread found 1 valid title(s)
[14:35:46] macgui: fr.handbrake.HandBrakeXPCService scan done
[14:35:46] macgui: fr.handbrake.HandBrakeXPCService started encoding Ocean's Eleven.mkv
[14:35:46] macgui: fr.handbrake.HandBrakeXPCService with preset Fast 1080p30 (Modified)
[14:35:46] Starting work at: Mon Jul 19 14:35:46 2021

[14:35:46] 1 job(s) to process
[14:35:46] Starting Task: Encoding Pass
[14:35:46] Skipping vfr filter
[14:35:46] job configuration:
[14:35:46]  * source
[14:35:46]    + /Volumes/Downloads/incomplete/OCEANS_ELEVEN
[14:35:46]    + title 1, chapter(s) 1 to 36
[14:35:46]  * destination
[14:35:46]    + /Volumes/Temp/Ocean's Eleven.mkv
[14:35:46]    + container: Matroska (libavformat)
[14:35:46]      + chapter markers
[14:35:46]  * video track
[14:35:46]    + decoder: vc1 8-bit
[14:35:46]      + bitrate 200 kbps
[14:35:46]    + filters
[14:35:46]      + 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)
[14:35:46]      + Decomb (mode=39)
[14:35:46]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[14:35:46]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[14:35:46]    + Output geometry
[14:35:46]      + storage dimensions: 1920 x 800
[14:35:46]      + pixel aspect ratio: 1 : 1
[14:35:46]      + display dimensions: 1920 x 800
[14:35:46]    + encoder: H.265 (libavcodec)
[14:35:46]      + preset:  default
[14:35:46]      + profile: auto
[14:35:46]      + bitrate: 25074 kbps, pass: 0
[14:35:46]      + color profile: 1-1-1
[14:35:46]  * subtitle track 1, English [PGS] (track 0, id 0x1200, Picture) -> Passthrough, Default
[14:35:46]  * subtitle track 2, 中文 [PGS] (track 1, id 0x1201, Picture) -> Passthrough
[14:35:46]  * subtitle track 3, 한국어 [PGS] (track 2, id 0x1202, Picture) -> Passthrough
[14:35:46]  * subtitle track 4, العربية [PGS] (track 3, id 0x1203, Picture) -> Passthrough
[14:35:46]  * subtitle track 5, български [PGS] (track 4, id 0x1204, Picture) -> Passthrough
[14:35:46]  * subtitle track 6, hrvatski [PGS] (track 5, id 0x1205, Picture) -> Passthrough
[14:35:46]  * subtitle track 7, čeština [PGS] (track 6, id 0x1213, Picture) -> Passthrough
[14:35:46]  * subtitle track 8, eesti [PGS] (track 7, id 0x1206, Picture) -> Passthrough
[14:35:46]  * subtitle track 9, עברית [PGS] (track 8, id 0x1207, Picture) -> Passthrough
[14:35:46]  * subtitle track 10, magyar [PGS] (track 9, id 0x1208, Picture) -> Passthrough
[14:35:46]  * subtitle track 11, íslenska [PGS] (track 10, id 0x1209, Picture) -> Passthrough
[14:35:46]  * subtitle track 12, latviešu [PGS] (track 11, id 0x120a, Picture) -> Passthrough
[14:35:46]  * subtitle track 13, lietuvių [PGS] (track 12, id 0x120b, Picture) -> Passthrough
[14:35:46]  * subtitle track 14, polski [PGS] (track 13, id 0x120c, Picture) -> Passthrough
[14:35:46]  * subtitle track 15, Portugues [PGS] (track 14, id 0x120d, Picture) -> Passthrough
[14:35:46]  * subtitle track 16, română [PGS] (track 15, id 0x120e, Picture) -> Passthrough
[14:35:46]  * subtitle track 17, русский [PGS] (track 16, id 0x120f, Picture) -> Passthrough
[14:35:46]  * subtitle track 18, srpski [PGS] (track 17, id 0x1210, Picture) -> Passthrough
[14:35:46]  * subtitle track 19, slovenščina [PGS] (track 18, id 0x1211, Picture) -> Passthrough
[14:35:46]  * subtitle track 20, ไทย [PGS] (track 19, id 0x1212, Picture) -> Passthrough
[14:35:46]  * subtitle track 21, Türkçe [PGS] (track 20, id 0x1214, Picture) -> Passthrough
[14:35:46]  * subtitle track 22, українська [PGS] (track 21, id 0x1215, Picture) -> Passthrough
[14:35:46]  * subtitle track 23, 中文 [PGS] (track 22, id 0x1216, Picture) -> Passthrough
[14:35:46]  * subtitle track 24, 中文 [PGS] (track 23, id 0x1217, Picture) -> Passthrough
[14:35:46]  * audio track 1
[14:35:46]    + decoder: English (AC3) (5.1 ch) (640 kbps) (track 1, id 0x1100)
[14:35:46]      + bitrate: 640 kbps, samplerate: 48000 Hz
[14:35:46]    + mixdown: 5.1 Channels
[14:35:46]    + encoder: AAC (Apple AudioToolbox)
[14:35:46]      + bitrate: 640 kbps, samplerate: 48000 Hz
[14:35:46]  * audio track 2
[14:35:46]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (track 8, id 0x1107)
[14:35:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:35:46]    + mixdown: Dolby Surround
[14:35:46]    + encoder: AAC (Apple AudioToolbox)
[14:35:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:35:46]  * audio track 3
[14:35:46]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (track 9, id 0x1108)
[14:35:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:35:46]    + mixdown: Dolby Surround
[14:35:46]    + encoder: AAC (Apple AudioToolbox)
[14:35:46]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:35:46] sync: expecting 167692 video frames
[14:35:46] encavcodecInit: H.265 (VideoToolbox)
[14:35:46] encavcodec: encoding with stored aspect 1/1
[14:35:47] sync: first pts video is 0
[14:35:47] sync: "Chapter 1" (1) at frame 1 time 0
[14:35:47] sync: first pts audio 0x1100 is 0
[14:35:47] sync: first pts audio 0x1107 is 0
[14:35:47] sync: first pts audio 0x1108 is 0
[14:35:48] sync: first pts subtitle 0x1217 is 356606
[14:35:48] sync: first pts subtitle 0x1200 is 375375
[14:35:48] sync: first pts subtitle 0x1201 is 375375
[14:35:48] sync: first pts subtitle 0x1202 is 375375
[14:35:48] sync: first pts subtitle 0x1203 is 375375
[14:35:48] sync: first pts subtitle 0x1204 is 375375
[14:35:48] sync: first pts subtitle 0x1205 is 375375
[14:35:48] sync: first pts subtitle 0x1213 is 375375
[14:35:48] sync: first pts subtitle 0x1206 is 375375
[14:35:48] sync: first pts subtitle 0x1207 is 375375
[14:35:48] sync: first pts subtitle 0x1208 is 375375
[14:35:48] sync: first pts subtitle 0x1209 is 375375
[14:35:48] sync: first pts subtitle 0x120a is 375375
[14:35:48] sync: first pts subtitle 0x120b is 375375
[14:35:48] sync: first pts subtitle 0x120d is 375375
[14:35:48] sync: first pts subtitle 0x120e is 375375
[14:35:48] sync: first pts subtitle 0x120f is 375375
[14:35:48] sync: first pts subtitle 0x1210 is 375375
[14:35:48] sync: first pts subtitle 0x1211 is 375375
[14:35:48] sync: first pts subtitle 0x1212 is 375375
[14:35:48] sync: first pts subtitle 0x1214 is 375375
[14:35:48] sync: first pts subtitle 0x1215 is 375375
[14:35:49] sync: first pts subtitle 0x1216 is 457957
[14:35:51] sync: first pts subtitle 0x120c is 968467
[hevc_videotoolbox @ 0x7fc54615ba00] Error encoding frame: -536870212
[14:36:02] encavcodec: avcodec_send_frame failed
[14:36:07] encavcodec: avcodec_send_frame failed
[14:36:12] encavcodec: avcodec_send_frame failed
[14:36:17] encavcodec: avcodec_send_frame failed
[14:36:22] encavcodec: avcodec_send_frame failed
[14:36:27] encavcodec: avcodec_send_frame failed
[14:36:32] encavcodec: avcodec_send_frame failed
[14:36:37] encavcodec: avcodec_send_frame failed
[14:36:42] encavcodec: avcodec_send_frame failed
[14:36:47] encavcodec: avcodec_send_frame failed
[14:36:52] encavcodec: avcodec_send_frame failed
[14:36:57] encavcodec: avcodec_send_frame failed
[14:37:02] encavcodec: avcodec_send_frame failed
[14:37:07] encavcodec: avcodec_send_frame failed
[14:37:12] encavcodec: avcodec_send_frame failed
[14:37:17] encavcodec: avcodec_send_frame failed
[14:37:22] encavcodec: avcodec_send_frame failed
[14:37:27] encavcodec: avcodec_send_frame failed
[14:37:32] encavcodec: avcodec_send_frame failed
[14:37:37] encavcodec: avcodec_send_frame failed
[14:37:42] encavcodec: avcodec_send_frame failed
[14:37:47] encavcodec: avcodec_send_frame failed
[14:37:52] encavcodec: avcodec_send_frame failed
[14:37:57] encavcodec: avcodec_send_frame failed
[14:38:02] encavcodec: avcodec_send_frame failed
[14:38:07] encavcodec: avcodec_send_frame failed
[14:38:12] encavcodec: avcodec_send_frame failed
[14:38:17] encavcodec: avcodec_send_frame failed
[14:38:22] encavcodec: avcodec_send_frame failed
[14:38:27] encavcodec: avcodec_send_frame failed
[14:38:32] encavcodec: avcodec_send_frame failed
[14:38:37] encavcodec: avcodec_send_frame failed
[14:38:42] encavcodec: avcodec_send_frame failed
[14:38:47] encavcodec: avcodec_send_frame failed
[14:38:52] encavcodec: avcodec_send_frame failed
[14:38:57] encavcodec: avcodec_send_frame failed
[14:39:02] encavcodec: avcodec_send_frame failed
[14:39:07] encavcodec: avcodec_send_frame failed
Post Reply