Handbrake stopping too early

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
UnknownUser10
Posts: 1
Joined: Wed Jan 30, 2019 10:48 pm

Handbrake stopping too early

Post by UnknownUser10 »

Description of problem or question:
I have 4 ISO files which are all supposedly disc files from the same series. I've encoded the first two discs successfully but one of the chapters in the 3rd ISO file didn't fully encode. It said the chapter was 24.22 sec long but it only encoded to 18:59. I've tried to extend the time manually by changing from chapters to seconds but it still didn't work.

I have no idea why this is not working. If I open the disc with VLC Player I can access the episode just fine with no problems and it will display all 24 min and 22 sec.

Steps to reproduce the problem (If Applicable):

I do not know how to replicate this issue as it's the only one I've encountered so far.


HandBrake version (e.g., 1.0.0):

Version: 1.2.0 for Mac


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

macOS High Sierra Version: 10.13.6


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

Code: Select all

HandBrake Activity Log for Session: 2019-01-30T23:09:55Z
Handbrake Version: 1.2.0 (2018122200)
PYRUS_ALLETIDERS_D3.mp4
Preset: Fast 1080p30
[00:09:55] macgui: QueueCore prevented sleep
[00:09:55] macgui: QueueCore scanning specifically for title: 8
[00:09:55] CPU: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
[00:09:55]  - Intel microarchitecture Ivy Bridge
[00:09:55]  - logical processor count: 4
[00:09:55] hb_scan: path=/Users/username/Desktop/PYRUS_ALLETIDERS_D3.ISO, title_index=8
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[00:09:55] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: PYRUS_ALLETIDERS_D3
libdvdnav: DVD Serial Number: 06D4623EDVDSHRNK
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[00:09:55] scan: DVD has 16 title(s)
[00:09:55] scan: scanning title 8
[00:09:55] scan: opening IFO for VTS 6
[00:09:55] scan: duration is 00:24:22 (1462000 ms)
[00:09:55] pgc_id: 2, pgn: 1: pgc: 0x7f9abde86010
[00:09:55] scan: vts=6, ttn=2, cells=0->5, blocks=0->374719, 374720 blocks
[00:09:55] scan: checking audio 1
[00:09:55] scan: id=0x80bd, lang=dansk (AC3), 3cc=dan ext=0
[00:09:55] scan: checking subtitle 1
[00:09:55] scan: id=0x20bd, lang=dansk (4:3) [VOBSUB], 3cc=dan ext=0
[00:09:55] scan: title 8 has 6 chapters
[00:09:55] scan: chap 1 c=0->0, b=0->31939 (31940), 117600 ms
[00:09:55] scan: chap 2 c=1->1, b=31940->120150 (88211), 351840 ms
[00:09:55] scan: chap 3 c=2->2, b=120151->234589 (114439), 445920 ms
[00:09:55] scan: chap 4 c=3->3, b=234590->356517 (121928), 465120 ms
[00:09:55] scan: chap 5 c=4->4, b=356518->374670 (18153), 80520 ms
[00:09:55] scan: chap 6 c=5->5, b=374671->374719 (49), 1000 ms
[00:09:55] scan: aspect = 4:3
[00:09:55] scan: decoding previews for title 8
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[00:09:55] scan: title angle(s) 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000165
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000524c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0005c61f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0005c644
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0005eaa0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0005eabf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0005f450
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0005f475
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0005fcc8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0005fcee
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0005fe6d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0005fe93
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000bb67a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000bb6a2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0011a4dc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0011a508
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00175ead
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00175ed0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x001cffa4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001cffce
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
[00:09:55] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 dansk (AC3) (2.0 ch)
[00:09:55] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/10/10, aspect 4:3, PAR 16:15
[00:09:55] libhb: scan thread found 1 valid title(s)
[00:09:55] macgui: QueueCore scan done
[00:09:55] 1 job(s) to process
[00:09:55] starting job
[00:09:55] macgui: QueueCore started encoding PYRUS_ALLETIDERS_D3.mp4
[00:09:55] macgui: QueueCore with preset Fast 1080p30
[00:09:55] decomb filter thread started for segment 0
[00:09:55] decomb filter thread started for segment 1
[00:09:55] decomb filter thread started for segment 2
[00:09:55] decomb filter thread started for segment 3
[00:09:55] decomb check thread started for segment 0
[00:09:55] decomb check thread started for segment 1
[00:09:55] decomb check thread started for segment 2
[00:09:55] decomb check thread started for segment 3
[00:09:55] mask filter thread started for segment 0
[00:09:55] mask filter thread started for segment 1
[00:09:55] mask filter thread started for segment 3
[00:09:55] mask filter thread started for segment 2
[00:09:55] mask erode thread started for segment 0
[00:09:55] mask erode thread started for segment 1
[00:09:55] mask erode thread started for segment 2
[00:09:55] mask erode thread started for segment 3
[00:09:55] mask dilate thread started for segment 0
[00:09:55] mask dilate thread started for segment 1
[00:09:55] mask dilate thread started for segment 2
[00:09:55] mask dilate thread started for segment 3
[00:09:55] yadif thread started for segment 0
[00:09:55] yadif thread started for segment 1
[00:09:55] yadif thread started for segment 2
[00:09:55] yadif thread started for segment 3
[00:09:55] job configuration:
[00:09:55]  * source
[00:09:55]    + /Users/username/Desktop/PYRUS_ALLETIDERS_D3.ISO
[00:09:55]    + title 8, start 00:18:50.00 stop 00:19:20.00
[00:09:55]  * destination
[00:09:55]    + /Users/username/Desktop/Episodes/PYRUS_ALLETIDERS_D3.mp4
[00:09:55]    + container: MPEG-4 (libavformat)
[00:09:55]      + align initial A/V stream timestamps
[00:09:55]      + chapter markers
[00:09:55]  * video track
[00:09:55]    + decoder: mpeg2video
[00:09:55]      + bitrate 200 kbps
[00:09:55]    + filters
[00:09:55]      + 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)
[00:09:55]      + Decomb (mode=39)
[00:09:55]      + Framerate Shaper (mode=2:rate=27000000/900000)
[00:09:55]        + frame rate: 25.000 fps -> peak rate limited to 30.000 fps
[00:09:55]      + Crop and Scale (width=700:height=576:crop-top=0:crop-bottom=0:crop-left=10:crop-right=10)
[00:09:55]        + source: 720 * 576, crop (0/0/10/10): 700 * 576, scale: 700 * 576
[00:09:55]    + Output geometry
[00:09:55]      + storage dimensions: 700 x 576
[00:09:55]      + pixel aspect ratio: 16 : 15
[00:09:55]      + display dimensions: 746 x 576
[00:09:55]    + encoder: H.264 (libx264)
[00:09:55]      + preset:  fast
[00:09:55]      + profile: main
[00:09:55]      + level:   4.0
[00:09:55]      + quality: 22.00 (RF)
[00:09:55]      + color profile: 5-1-6
[00:09:55]  * audio track 1
[00:09:55]    + decoder: dansk (AC3) (2.0 ch) (track 1, id 0x80bd)
[00:09:55]      + bitrate: 192 kbps, samplerate: 48000 Hz
[00:09:55]    + mixdown: Stereo
[00:09:55]    + dither: triangular
[00:09:55]    + encoder: AAC (Apple AudioToolbox)
[00:09:55]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: PYRUS_ALLETIDERS_D3
libdvdnav: DVD Serial Number: 06D4623EDVDSHRNK
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[00:09:55] sync: expecting 775 video frames
[00:09:55] encx264: encoding at constant RF 22.000000
[00:09:55] 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=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000165
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000524c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0005c61f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0005c644
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0005eaa0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0005eabf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0005f450
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0005f475
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0005fcc8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0005fcee
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0005fe6d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0005fe93
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000bb67a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000bb6a2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0011a4dc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0011a508
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00175ead
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00175ed0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x001cffa4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x001cffce
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
[00:10:28] sync: first pts video is 0
[00:10:28] sync: first pts audio 0x80bd is 0

*** libdvdread: CHECK_VALUE failed in src/nav_read.c:147 ***
*** for pci->pci_gi.zero1 == 0 ***

error: dvdnav: Read Error, Error reading NAV packet.
error: dvdnav: Read Error, Error reading NAV packet.
[00:10:31] reader: done. 1 scr changes
[00:10:33] work: average encoding speed for job is 0.000000 fps
[00:10:33] comb detect: heavy 1 | light 8 | uncombed 216 | total 225
[00:10:33] decomb: deinterlaced 1 | blended 8 | unfiltered 216 | total 225
[00:10:33] vfr: 225 frames output, 0 dropped and 0 duped for CFR/PFR
[00:10:33] vfr: lost time: 0 (0 frames)
[00:10:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[00:10:33] ac3-decoder done: 35587 frames, 0 decoder errors
[00:10:33] mpeg2video-decoder done: 28475 frames, 0 decoder errors
[00:10:33] sync: got 225 frames, 775 expected
[00:10:33] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:1     Avg QP:20.47  size: 27442
x264 [info]: frame P:57    Avg QP:21.44  size:  9085
x264 [info]: frame B:167   Avg QP:24.08  size:  2333
x264 [info]: consecutive B-frames:  0.9%  0.0%  1.3% 97.8%
x264 [info]: mb I  I16..4: 34.3%  0.0% 65.7%
x264 [info]: mb P  I16..4:  3.7%  0.0%  3.6%  P16..4: 38.1% 19.4%  8.4%  0.0%  0.0%    skip:26.7%
x264 [info]: mb B  I16..4:  2.2%  0.0%  0.2%  B16..8: 28.8%  7.0%  0.3%  direct:11.2%  skip:50.2%  L0:39.0% L1:50.8% BI:10.2%
x264 [info]: coded y,uvDC,uvAC intra: 35.5% 66.6% 17.4% inter: 9.9% 21.5% 0.2%
x264 [info]: i16 v,h,dc,p: 57% 17% 13% 13%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 21% 15%  4%  5%  6%  6%  5%  5%
x264 [info]: i8c dc,h,v,p: 47% 15% 30%  7%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 64.7% 35.3%
x264 [info]: ref B L0: 89.8% 10.2%
x264 [info]: ref B L1: 96.7%  3.3%
x264 [info]: kb/s:831.05
[00:10:33] mux: track 0, 225 frames, 934882 bytes, 827.33 kbps, fifo 256
[00:10:33] mux: track 1, 414 frames, 140686 bytes, 124.50 kbps, fifo 512
[00:10:33] libhb: work result = 0
Note: I replaced my Mac's username with just "username" to stay more private. I hope it won't affect anything.
Also, before it said I had an encryption error so I tried to install libdvdcss and it appears to have helped but there are still some errors
Last edited by UnknownUser10 on Sun Feb 03, 2019 1:24 pm, edited 2 times in total.
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake stopping too early

Post by rollin_eng »

Try ripping your dvds with makemkv first.
Post Reply