HD x265 encode failing part way through

HandBrake for Windows 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
gh975223
New User
Posts: 1
Joined: Sat Aug 06, 2016 11:06 am

HD x265 encode failing part way through

Post by gh975223 »

Please detail your question or problem in as much detail as possible:
Encode failing if file to encode is on Network NAS & USB HDD
as encode was failing from network nas was assumed due to io errors due to too much activity on NAS hence copied files to USB HDD (no issue) but still failing from USB HDD aka perhaps 30 minutes of video encoded! Encode ONLY works successfully from sata internal HDD

please note only video being encoded to H.265 audio is not being transcode or passed through as handbrake does not handle DTS-MA or Dobly Atmos etc properly. that gets done as a separate job afterwards with mkmerge!

Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.
Handbrake 0.10.50 64 bit
Windows 10 Sumer 2016 Update

If there was any exception or error displayed, please copy it and paste it here:
no errors!!!

Please include the scan or encode log:
HandBrake 0.10.5.0 - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0 - 64bit
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Ram: 8131 MB,
GPU Information:
AMD Radeon HD 7770 GHz Edition - 15.200.1045.0
Screen: 1920x1080
Temp Dir: C:\Users\MRGRAEME\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\MRGRAEME\AppData\Roaming\HandBrake Team\HandBrake\0.10.5.0

-------------------------------------------

CLI Query: -i "O:\Video\Australia (2008).mkv" -t 1 --angle 1 -c 1-26 -o "C:\Users\MRGRAEME\Desktop\Australia (2008).mkv" -f mkv --decomb -w 1920 --crop 132:132:0:0 --loose-anamorphic --modulus 2 -e x265 -q 20 --vfr -a none --audio-fallback ac3 --markers="C:\Users\MRGRAEME\AppData\Local\Temp\Australia (2008)-1-chapters.csv" --encoder-preset=veryfast --verbose=1

[07:55:41] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening O:\Video\Australia (2008).mkv...
[07:55:41] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[07:55:41] - Intel microarchitecture Ivy Bridge
[07:55:41] - logical processor count: 8
[07:55:41] OpenCL device #1: Advanced Micro Devices, Inc. Capeverde
[07:55:41] - OpenCL version: 1.2 AMD-APP (1800.5)
[07:55:41] - driver version: 1800.5 (VM)
[07:55:41] - device type: GPU
[07:55:41] - supported: YES
[07:55:41] Intel Quick Sync Video support: no
[07:55:41] hb_scan: path=O:\Video\Australia (2008).mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening O:\Video\Australia (2008).mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening O:\Video\Australia (2008).mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(O:\Video\Australia (2008).mkv) failed
[07:55:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[07:55:41] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'O:\Video\Australia (2008).mkv':
Metadata:
title : Australia
Duration: 02:45:28.99, start: 0.000000, bitrate: 28505 kb/s
Chapter #0.0: start 0.000000, end 304.887917
Metadata:
title : Chapter 01
Chapter #0.1: start 304.887917, end 369.786083
Metadata:
title : Chapter 02
Chapter #0.2: start 369.786083, end 978.894583
Metadata:
title : Chapter 03
Chapter #0.3: start 978.894583, end 1351.558542
Metadata:
title : Chapter 04
Chapter #0.4: start 1351.558542, end 1620.118500
Metadata:
title : Chapter 05
Chapter #0.5: start 1620.118500, end 1961.334375
Metadata:
title : Chapter 06
Chapter #0.6: start 1961.334375, end 2491.614125
Metadata:
title : Chapter 07
Chapter #0.7: start 2491.614125, end 3144.015875
Metadata:
title : Chapter 08
Chapter #0.8: start 3144.015875, end 3450.321875
Metadata:
title : Chapter 09
Chapter #0.9: start 3450.321875, end 3608.521583
Metadata:
title : Chapter 10
Chapter #0.10: start 3608.521583, end 4189.894042
Metadata:
title : Chapter 11
Chapter #0.11: start 4189.894042, end 4498.410583
Metadata:
title : Chapter 12
Chapter #0.12: start 4498.410583, end 4688.100083
Metadata:
title : Chapter 13
Chapter #0.13: start 4688.100083, end 5373.451417
Metadata:
title : Chapter 14
Chapter #0.14: start 5373.451417, end 5900.227667
Metadata:
title : Chapter 15
Chapter #0.15: start 5900.227667, end 6287.656375
Metadata:
title : Chapter 16
Chapter #0.16: start 6287.656375, end 6453.321875
Metadata:
title : Chapter 17
Chapter #0.17: start 6453.321875, end 6874.075542
Metadata:
title : Chapter 18
Chapter #0.18: start 6874.075542, end 6966.584625
Metadata:
title : Chapter 19
Chapter #0.19: start 6966.584625, end 7418.661250
Metadata:
title : Chapter 20
Chapter #0.20: start 7418.661250, end 7712.371333
Metadata:
title : Chapter 21
Chapter #0.21: start 7712.371333, end 8076.109708
Metadata:
title : Chapter 22
Chapter #0.22: start 8076.109708, end 8597.839250
Metadata:
title : Chapter 23
Chapter #0.23: start 8597.839250, end 9240.564667
Metadata:
title : Chapter 24
Chapter #0.24: start 9240.564667, end 9467.416292
Metadata:
title : Chapter 25
Chapter #0.25: start 9467.416292, end 9928.992000
Metadata:
title : Chapter 26
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 1k tbn, 47.95 tbc
Metadata:
BPS-eng : 22510297
DURATION-eng : 02:45:28.960708333
NUMBER_OF_FRAMES-eng: 238057
NUMBER_OF_BYTES-eng: 27937980978
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.1(eng): Audio: dca (DTS-HD MA), 48000 Hz, 5.1, fltp, 1536 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 3892002
DURATION-eng : 02:45:28.970666666
NUMBER_OF_FRAMES-eng: 930841
NUMBER_OF_BYTES-eng: 4830446488
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.2(eng): Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 1509000
DURATION-eng : 02:45:28.970666666
NUMBER_OF_FRAMES-eng: 930841
NUMBER_OF_BYTES-eng: 1872852092
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.3(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 02:45:28.992000000
NUMBER_OF_FRAMES-eng: 310281
NUMBER_OF_BYTES-eng: 556023552
SOURCE_ID-eng : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.4(eng): Subtitle: pgssub
Metadata:
BPS-eng : 37618
DURATION-eng : 02:40:23.426312500
NUMBER_OF_FRAMES-eng: 3960
NUMBER_OF_BYTES-eng: 45251856
SOURCE_ID-eng : 001200
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.5(dan): Subtitle: pgssub
Metadata:
BPS-eng : 32690
DURATION-eng : 02:37:43.141187500
NUMBER_OF_FRAMES-eng: 3502
NUMBER_OF_BYTES-eng: 38669059
SOURCE_ID-eng : 001201
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.6(fin): Subtitle: pgssub
Metadata:
BPS-eng : 25458
DURATION-eng : 02:37:43.141187500
NUMBER_OF_FRAMES-eng: 3324
NUMBER_OF_BYTES-eng: 30114368
SOURCE_ID-eng : 001202
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.7(swe): Subtitle: pgssub
Metadata:
BPS-eng : 25731
DURATION-eng : 02:37:45.351729166
NUMBER_OF_FRAMES-eng: 3193
NUMBER_OF_BYTES-eng: 30445132
SOURCE_ID-eng : 001203
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.8(nor): Subtitle: pgssub
Metadata:
BPS-eng : 25694
DURATION-eng : 02:37:43.141187500
NUMBER_OF_FRAMES-eng: 3522
NUMBER_OF_BYTES-eng: 30393264
SOURCE_ID-eng : 001204
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-08-04 12:14:21
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.9: Attachment: mjpeg
Metadata:
filename : cover.jpg
mimetype : image/jpeg
[07:55:41] scan: decoding previews for title 1
[07:55:41] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[07:55:41] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[07:55:41] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 7, 70.00 %
Scanning title 1 of 1, preview 9, 90.00 %
Scanning title 1 of 1, preview 10, 100.00 %[07:55:42] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 132/132/0/0, aspect 16:9, PAR 1:1
[07:55:42] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: O:\Video\Australia (2008).mkv
+ duration: 02:45:28
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 132/132/0/0
+ support opencl: yes
+ support hwd: yes
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:05:05
+ 2: cells 0->0, 0 blocks, duration 00:01:05
+ 3: cells 0->0, 0 blocks, duration 00:10:09
+ 4: cells 0->0, 0 blocks, duration 00:06:13
+ 5: cells 0->0, 0 blocks, duration 00:04:29
+ 6: cells 0->0, 0 blocks, duration 00:05:41
+ 7: cells 0->0, 0 blocks, duration 00:08:50
+ 8: cells 0->0, 0 blocks, duration 00:10:52
+ 9: cells 0->0, 0 blocks, duration 00:05:06
+ 10: cells 0->0, 0 blocks, duration 00:02:38
+ 11: cells 0->0, 0 blocks, duration 00:09:41
+ 12: cells 0->0, 0 blocks, duration 00:05:09
+ 13: cells 0->0, 0 blocks, duration 00:03:10
+ 14: cells 0->0, 0 blocks, duration 00:11:25
+ 15: cells 0->0, 0 blocks, duration 00:08:47
+ 16: cells 0->0, 0 blocks, duration 00:06:27
+ 17: cells 0->0, 0 blocks, duration 00:02:46
+ 18: cells 0->0, 0 blocks, duration 00:07:01
+ 19: cells 0->0, 0 blocks, duration 00:01:33
+ 20: cells 0->0, 0 blocks, duration 00:07:32
+ 21: cells 0->0, 0 blocks, duration 00:04:54
+ 22: cells 0->0, 0 blocks, duration 00:06:04
+ 23: cells 0->0, 0 blocks, duration 00:08:42
+ 24: cells 0->0, 0 blocks, duration 00:10:43
+ 25: cells 0->0, 0 blocks, duration 00:03:47
+ 26: cells 0->0, 0 blocks, duration 00:07:42
+ audio tracks:
+ 1, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
+ 2, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
+ 3, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
+ subtitle tracks:
+ 1, English (iso639-2: eng) (Bitmap)(PGS)
+ 2, Danish (iso639-2: dan) (Bitmap)(PGS)
+ 3, Finnish (iso639-2: fin) (Bitmap)(PGS)
+ 4, Swedish (iso639-2: swe) (Bitmap)(PGS)
+ 5, Norwegian (iso639-2: nor) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\MRGRAEME\AppData\Local\Temp\Australia (2008)-1-chapters.csv
[07:55:42] 1 job(s) to process
[07:55:42] starting job
[07:55:42] yadif thread started for segment 0
[07:55:42] yadif thread started for segment 2
[07:55:42] yadif thread started for segment 1
[07:55:42] decomb filter thread started for segment 4
[07:55:42] yadif thread started for segment 4
[07:55:42] yadif thread started for segment 5
[07:55:42] decomb check thread started for segment 0
[07:55:42] yadif thread started for segment 6
[07:55:42] decomb check thread started for segment 3
[07:55:42] decomb filter thread started for segment 0
[07:55:42] decomb filter thread started for segment 3
[07:55:42] mask filter thread started for segment 6
[07:55:42] yadif thread started for segment 3
[07:55:42] decomb filter thread started for segment 5
[07:55:42] decomb filter thread started for segment 6
[07:55:42] decomb filter thread started for segment 7
[07:55:42] mask dilate thread started for segment 0
[07:55:42] mask dilate thread started for segment 6
[07:55:42] sync: expecting 238057 video frames
[07:55:42] decomb check thread started for segment 2
[07:55:42] decomb check thread started for segment 4
[07:55:42] job configuration:
[07:55:42] * source
[07:55:42] decomb filter thread started for segment 1
[07:55:42] decomb check thread started for segment 6
[07:55:42] + O:\Video\Australia (2008).mkv
[07:55:42] decomb check thread started for segment 5
[07:55:42] + title 1, chapter(s) 1 to 26
[07:55:42] decomb check thread started for segment 7
[07:55:42] + container: matroska,webm
[07:55:42] mask filter thread started for segment 0
[07:55:42] + data rate: 28505 kbps
[07:55:42] mask filter thread started for segment 2
[07:55:42] * destination
[07:55:42] mask filter thread started for segment 1
[07:55:42] + C:\Users\MRGRAEME\Desktop\Australia (2008).mkv
[07:55:42] mask filter thread started for segment 3
[07:55:42] + container: Matroska (libavformat)
[07:55:42] mask filter thread started for segment 4
[07:55:42] + chapter markers
[07:55:42] mask filter thread started for segment 5
[07:55:42] * video track
[07:55:42] + decoder: h264
[07:55:42] decomb filter thread started for segment 2
[07:55:42] + filters
[07:55:42] mask filter thread started for segment 7
[07:55:42] + Decomb (default settings)
[07:55:42] mask erode thread started for segment 0
[07:55:42] + Framerate Shaper (0:27000000:1126125)
[07:55:42] mask erode thread started for segment 1
[07:55:42] + frame rate: same as source (around 23.976 fps)
[07:55:42] mask erode thread started for segment 2
[07:55:42] + Crop and Scale (1920:816:132:132:0:0)
[07:55:42] mask erode thread started for segment 3
[07:55:42] + source: 1920 * 1080, crop (132/132/0/0): 1920 * 816, scale: 1920 * 816
[07:55:42] mask erode thread started for segment 4
[07:55:42] + loose anamorphic
[07:55:42] mask erode thread started for segment 5
[07:55:42] + storage dimensions: 1920 * 816, mod 2
[07:55:42] mask erode thread started for segment 6
[07:55:42] + pixel aspect ratio: 1 / 1
[07:55:42] mask erode thread started for segment 7
[07:55:42] + display dimensions: 1920 * 816
[07:55:42] mask dilate thread started for segment 1
[07:55:42] + encoder: H.265 (libx265)
[07:55:42] + preset: veryfast
[07:55:42] + quality: 20.00 (RF)
[07:55:42] yadif thread started for segment 7
[07:55:42] mask dilate thread started for segment 2
[07:55:42] mask dilate thread started for segment 3
[07:55:42] mask dilate thread started for segment 4
[07:55:42] mask dilate thread started for segment 5
[07:55:42] decomb check thread started for segment 1
[07:55:42] mask dilate thread started for segment 7
[07:55:42] reader: first SCR 0 id 0x0 DTS 0
x265 [info]: HEVC encoder version 1.9
x265 [info]: build info [Windows][GCC 4.9.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
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 / 1 / 2
x265 [info]: Keyframe min / max / scenecut : 24 / 240 / 40
x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 2 / 1 / 1
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=5 deblock sao
[08:03:20] h264: "Chapter 2" (2) at frame 7318 time 27439920
[08:04:57] h264: "Chapter 3" (3) at frame 8875 time 33284520
[08:20:55] h264: "Chapter 4" (4) at frame 23478 time 88100550
[08:32:46] h264: "Chapter 5" (5) at frame 32413 time 121640310
[08:38:46] h264: "Chapter 6" (6) at frame 38852 time 145810710
[08:47:39] h264: "Chapter 7" (7) at frame 47034 time 176523840
[08:57:57] reader: done. 1 scr changes
[08:58:07] work: average encoding speed for job is 15.304398 fps
[08:58:07] mux: track 0, 57238 frames, 1076867235 bytes, 3608.65 kbps, fifo 2048
[08:58:07] sync: got 57239 frames, 238057 expected
[08:58:07] decomb: deinterlaced 0 | blended 1 | unfiltered 57237 | total 57238
[08:58:07] render: lost time: 0 (0 frames)
[08:58:07] render: gained time: 0 (0 frames) (0 not accounted for)
[08:58:07] h264-decoder done: 57239 frames, 0 decoder errors, 0 drops
x265 [info]: frame I: 960, Avg QP:19.83 kb/s: 21975.79
x265 [info]: frame P: 11635, Avg QP:21.17 kb/s: 8216.94
x265 [info]: frame B: 44643, Avg QP:25.14 kb/s: 2011.68
x265 [info]: Weighted P-Frames: Y:6.1% UV:4.3%
x265 [info]: consecutive B-frames: 9.1% 1.5% 1.6% 1.6% 86.3%
encoded 57238 frames in 3744.84s (15.28 fps), 3607.88 kb/s, Avg QP:24.25
[08:58:07] libhb: work result = 0
Encode done!
HandBrake has exited.

Code: Select all

 Paste a log of the scan or encode between these code brackets, or use a pastebin website and provide us with the URL it gives you. 
 Logs are required for all support requests.
Post Reply