Encoding stops before end of DVD

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
danhi
Posts: 23
Joined: Fri Nov 28, 2008 5:00 pm

Encoding stops before end of DVD

Post by danhi »

So I'm trying to encode The Master. I rip it to disk with DVDFab and I'm using Handbrake 0.9.8 encoding for Apple TV. I can play the video files with VLC (the VOB's) but when I encode it stops before the end. I've have two results: one just stops, and the other continues to the end but with no video. Here is the log of the case where it just stops:

Code: Select all

HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
Ram: 6135 MB, Screen: 1680x1050
Temp Dir: C:\Users\DanHi\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\DanHi\AppData\Roaming\HandBrake\HandBrake\0.9.8.4861

-------------------------------------------
CLI Query:  -i "C:\DVDs\MainMovie\THE_MASTER" -t 1 -c 1-9 -o "C:\Downloads\The Master.m4v"  -f mp4 -4  -w 720 --loose-anamorphic  -e x264 -q 20 --vfr  -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0,0 --gain=0,0 --audio-copy-mask none --audio-fallback ffac3 --markers="C:\Users\DanHi\AppData\Local\Temp\The Master-1-chapters.csv" -x cabac=0:ref=2:me=umh:b-pyramid=none:b-adapt=2:weightb=0:trellis=0:weightp=0:vbv-maxrate=9500:vbv-bufsize=9500 --verbose=2
User Query: False

[20:24:59] hb_init: starting libhb thread
[20:24:59] thread 1e1dae0 started ("libhb")
HandBrake 0.9.8 (2012071700) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\DVDs\MainMovie\THE_MASTER...
[20:24:59] hb_scan: path=C:\DVDs\MainMovie\THE_MASTER, title_index=1
[20:24:59] thread 1e1dfd0 started ("scan")
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\DVDs\MainMovie\THE_MASTER/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(C:\DVDs\MainMovie\THE_MASTER) failed (0000000001E1E730)
[20:24:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[20:24:59] scan: DVD has 1 title(s)
[20:24:59] scan: scanning title 1
[20:24:59] scan: opening IFO for VTS 1
[20:24:59] scan: duration is 02:17:22 (8242133 ms)
[20:24:59] pgc_id: 1, pgn: 1: pgc: 0000000001E21290
[20:24:59] scan: vts=1, ttn=1, cells=0->9, blocks=7->6, 2201511 blocks
[20:24:59] scan: checking audio 1
[20:24:59] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[20:24:59] scan: checking subtitle 1
[20:24:59] scan: id=0x20bd, lang=English (Closed Caption), 3cc=eng
[20:24:59] scan: title 1 has 9 chapters
[20:24:59] scan: chap 1 c=0->0, b=7->270568 (270562), 1049403 ms
[20:24:59] scan: chap 2 c=1->1, b=270569->553302 (282734), 1145537 ms
[20:24:59] scan: chap 3 c=2->2, b=553303->872097 (318795), 1094586 ms
[20:24:59] scan: chap 4 c=3->4, b=872098->1213393 (341296), 1301645 ms
[20:24:59] scan: chap 5 c=5->5, b=1213394->1489539 (276146), 1090695 ms
[20:24:59] scan: chap 6 c=6->6, b=1489540->1683930 (194391), 743482 ms
[20:24:59] scan: chap 7 c=7->7, b=1683931->1822979 (139049), 513201 ms
[20:24:59] scan: chap 8 c=8->8, b=1822980->2201510 (378531), 1303503 ms
[20:24:59] scan: chap 9 c=9->9, b=0->6 (7), 76 ms
[20:24:59] scan: aspect = 0
[20:24:59] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[20:24:59] scan: title angle(s) 1
[20:24:59] scan: preview 1
[20:24:59] fifo_close: trashing 0 buffer(s)
[20:24:59] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[20:24:59] scan: preview 2
[20:24:59] scan: preview 3
[20:24:59] scan: preview 4
[20:24:59] scan: preview 5
[20:24:59] scan: preview 6
[20:24:59] scan: preview 7
[20:24:59] scan: preview 8
[20:24:59] scan: preview 9
[20:24:59] scan: preview 10
[20:24:59] scan: 10 previews, 720x480, 23.976 fps, autocrop = 10/10/0/0, aspect 16:9, PAR 32:27
[20:24:59] scan: title (0) job->width:720, job->height:384
[20:24:59] thread 1e1dfd0 exited ("scan")
[20:25:00] thread 1e1dfd0 joined ("scan")
[20:25:00] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->9 (2201511 blocks)
  + duration: 02:17:22
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 10/10/0/0
  + chapters:
    + 1: cells 0->0, 270562 blocks, duration 00:17:29
    + 2: cells 1->1, 282734 blocks, duration 00:19:06
    + 3: cells 2->2, 318795 blocks, duration 00:18:15
    + 4: cells 3->4, 341296 blocks, duration 00:21:42
    + 5: cells 5->5, 276146 blocks, duration 00:18:11
    + 6: cells 6->6, 194391 blocks, duration 00:12:23
    + 7: cells 7->7, 139049 blocks, duration 00:08:33
    + 8: cells 8->8, 378531 blocks, duration 00:21:44
    + 9: cells 9->9, 7 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\DanHi\AppData\Local\Temp\The Master-1-chapters.csv
[20:25:00] thread 1e1dfd0 started ("work")
[20:25:00] 1 job(s) to process
[20:25:00] starting job
[20:25:00] sync: expecting 197613 video frames
[20:25:00] job configuration:
[20:25:00]  * source
[20:25:00]    + C:\DVDs\MainMovie\THE_MASTER
[20:25:00]    + title 1, chapter(s) 1 to 9
[20:25:00]  * destination
[20:25:00]    + C:\Downloads\The Master.m4v
[20:25:00]    + container: MPEG-4 (.mp4 and .m4v)
[20:25:00]      + 64-bit formatting
[20:25:00]      + chapter markers
[20:25:00]  * video track
[20:25:00]    + decoder: mpeg2
[20:25:00]      + bitrate 9800 kbps
[20:25:00]    + frame rate: same as source (around 23.976 fps)
[20:25:00]    + loose anamorphic
[20:25:00]      + storage dimensions: 720 * 480 -> 720 * 464, crop 10/10/0/0, mod 0
[20:25:00]      + pixel aspect ratio: 3712 / 3105
[20:25:00]      + display dimensions: 860 * 464
[20:25:00]    + encoder: H.264 (x264)
[20:25:00]      + options: cabac=0:ref=2:me=umh:b-pyramid=none:b-adapt=2:weightb=0:trellis=0:weightp=0:vbv-maxrate=9500:vbv-bufsize=9500
[20:25:00]      + quality: 20.00 (RF)
[20:25:00]  * audio track 1
[20:25:00]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[20:25:00]      + bitrate: 448 kbps, samplerate: 48000 Hz
[20:25:00]    + mixdown: Dolby Pro Logic II
[20:25:00]    + encoder: AAC (faac)
[20:25:00]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:25:00]  * audio track 2
[20:25:00]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[20:25:00]      + bitrate: 448 kbps, samplerate: 48000 Hz
[20:25:00]    + AC3 Passthru
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[20:25:00] thread 1e8fba0 started ("Reader")
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1[20:25:00] thread 1e8fd40 started ("AudioSynchronization")
 2 3 4 5 6 7 8
[20:25:00] thread 2b66dc0 started ("AudioSynchronization")
[20:25:00] thread 2b67660 started ("MPEG-2 decoder (libmpeg2)")
[20:25:00] thread 2b74720 started ("Renderer")
[20:25:00] encx264: min-keyint: 24, keyint: 240
[20:25:00] encx264: encoding with stored aspect 3712/3105
[20:25:00] encx264: Encoding at constant RF 20.000000
[20:25:00] encx264: opening libx264 (pass 0)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=3712/3105
[20:25:00] reader: first SCR 146 id 0xe0 DTS 22254
[20:25:00] mpeg2: "Chapter 1" (1) at frame 0 time 3003
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 3.0
[20:25:00] thread 2b50d60 started ("H.264/AVC encoder (libx264)")
[20:25:00] thread 2b50f00 started ("AC3 decoder")
[20:25:00] thread 2b510a0 started ("AAC encoder (libfaac)")
[20:25:00] thread 2b51240 started ("AC3 decoder")
[20:25:00] thread 2b513e0 started ("Video Synchronization")
[20:25:00] sync: first pts is 3003
[20:25:00] sync: video time didn't advance - dropped 5 frames (delta 200 ms, current 49546, next 51045, dur 1499)
[20:25:00] muxmp4: using 64-bit MP4 formatting.
[20:25:00] muxmp4: track 0, chunk duration 15015
[20:25:00] muxmp4: track 1, chunk duration 8008
[20:25:00] muxmp4: track 2, chunk duration 8008
[20:25:00] muxmp4: disabled extra audio track 2
[20:25:00] thread 2b51c00 started ("Muxer")
[20:25:00] thread 2b51da0 started ("Muxer")
[20:25:00] sync: video time didn't advance - dropped 6 frames (delta 216 ms, current 73566, next 76566, dur 3000)
[20:25:00] sync: video time didn't advance - dropped 5 frames (delta 175 ms, current 88577, next 92327, dur 3750)
[20:25:00] sync: video time didn't advance - dropped 2 frames (delta 50 ms, current 114848, next 117846, dur 2998)
[20:25:00] sync: adding 5312 ms of silence to audio 0x80bd  start 478136, next 0
[20:25:00] sync: adding 5312 ms of silence to audio 0x80bd  start 478136, next 0
[20:30:12] mpeg2: "Chapter 2" (2) at frame 25179 time 94575639
[20:35:17] mpeg2: "Chapter 3" (3) at frame 52660 time 197733194
[20:40:03] mpeg2: "Chapter 4" (4) at frame 78922 time 296314176
[20:46:02] mpeg2: "Chapter 5" (5) at frame 110168 time 413599344
[20:50:54] mpeg2: "Chapter 6" (6) at frame 136343 time 511854501
[20:54:20] mpeg2: "Chapter 7" (7) at frame 154196 time 578869449
[20:56:47] mpeg2: "Chapter 8" (8) at frame 166522 time 625138170
[20:57:18] reader: done. 15 scr changes
[20:57:18] thread 1e8fba0 exited ("Reader")
[20:57:18] mpeg2: "Chapter 9" (9) at frame 197803 time 117454582
[20:57:18] work: average encoding speed for job is 87.261696 fps
[20:57:18] thread 2b51240 exited ("AC3 decoder")
[20:57:18] thread 2b51da0 exited ("Muxer")
[20:57:18] thread 1e8fd40 exited ("AudioSynchronization")
[20:57:18] thread 2b510a0 exited ("AAC encoder (libfaac)")
[20:57:18] thread 2b51c00 exited ("Muxer")
[20:57:18] thread 2b50f00 exited ("AC3 decoder")
[20:57:18] thread 2b66dc0 exited ("AudioSynchronization")
[20:57:18] thread 2b67660 exited ("MPEG-2 decoder (libmpeg2)")
[20:57:18] thread 2b74720 exited ("Renderer")
[20:57:18] thread 2b513e0 exited ("Video Synchronization")
[20:57:18] thread 2b513e0 joined ("Video Synchronization")
[20:57:18] sync: got 166518 frames, 197613 expected
[20:57:18] thread 1e8fd40 joined ("AudioSynchronization")
[20:57:18] thread 2b66dc0 joined ("AudioSynchronization")
[20:57:18] thread 2b67660 joined ("MPEG-2 decoder (libmpeg2)")
[20:57:18] mpeg2 done: 197815 frames
[20:57:18] thread 2b74720 joined ("Renderer")
[20:57:18] render: lost time: 0 (0 frames)
[20:57:18] render: gained time: 0 (0 frames) (0 not accounted for)
[20:57:18] fifo_close: trashing 0 buffer(s)
[20:57:18] fifo_close: trashing 0 buffer(s)
[20:57:19] thread 2b50d60 exited ("H.264/AVC encoder (libx264)")
[20:57:19] thread 2b50d60 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:943   Avg QP:15.74  size: 38511  PSNR Mean Y:48.23 U:51.50 V:51.73 Avg:49.07 Global:48.48
x264 [info]: frame P:65159 Avg QP:19.31  size:  8788  PSNR Mean Y:45.12 U:48.94 V:49.28 Avg:46.05 Global:45.30
x264 [info]: frame B:100416 Avg QP:23.71  size:  1522  PSNR Mean Y:44.00 U:48.34 V:48.75 Avg:45.03 Global:44.51
x264 [info]: consecutive B-frames:  4.0% 26.5% 60.7%  8.8%
x264 [info]: mb I  I16..4: 12.6% 59.4% 28.0%
x264 [info]: mb P  I16..4:  2.1%  3.8%  1.1%  P16..4: 42.2% 19.0%  7.6%  0.0%  0.0%    skip:24.2%
x264 [info]: mb B  I16..4:  0.2%  0.3%  0.1%  B16..8: 32.6%  4.2%  0.6%  direct: 1.4%  skip:60.6%  L0:35.0% L1:55.7% BI: 9.2%
x264 [info]: 8x8 transform intra:55.4% inter:55.6%
x264 [info]: coded y,uvDC,uvAC intra: 61.9% 67.4% 39.9% inter: 11.3% 11.7% 1.4%
x264 [info]: i16 v,h,dc,p: 54% 16%  7% 24%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 15% 24%  5%  6%  8%  6%  7%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 15% 11%  6%  8% 10%  7%  8%  5%
x264 [info]: i8c dc,h,v,p: 53% 15% 25%  7%
x264 [info]: ref P L0: 75.8% 24.2%
x264 [info]: SSIM Mean Y:0.9849966 (18.238db)
x264 [info]: PSNR Mean Y:44.464 U:48.589 V:48.973 Avg:45.450 Global:44.818 kb/s:877.23
[20:57:19] thread 2b50f00 joined ("AC3 decoder")
[20:57:19] thread 2b510a0 joined ("AAC encoder (libfaac)")
[20:57:19] thread 2b51240 joined ("AC3 decoder")
[20:57:19] thread 2b51c00 joined ("Muxer")
[20:57:19] thread 2b51da0 joined ("Muxer")
[20:57:21] mux: file size, 1295085905 bytes
[20:57:21] mux: track 0, 166518 frames, 761669103 bytes, 877.19 kbps, fifo 2048
[20:57:21] mux: track 1, 325582 frames, 138901053 bytes, 159.97 kbps, fifo 4096
[20:57:21] mux: track 2, 217054 frames, 388960768 bytes, 447.95 kbps, fifo 4096
[20:57:21] mux: overhead, 7.83 bytes per frame
[20:57:21] thread 1e8fba0 joined ("Reader")
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] fifo_close: trashing 0 buffer(s)
[20:57:21] Freed 32 buffers of size 1024
[20:57:21] Freed 32 buffers of size 2048
[20:57:21] Freed 32 buffers of size 4096
[20:57:21] Freed 32 buffers of size 8192
[20:57:21] Freed 32 buffers of size 16384
[20:57:21] Freed 32 buffers of size 32768
[20:57:21] Freed 32 buffers of size 65536
[20:57:21] Freed 32 buffers of size 524288
[20:57:21] Allocated 20938752 bytes of buffers on this pass and Freed 20938752 bytes, 0 bytes leaked
[20:57:21] thread 1e1dfd0 exited ("work")
[20:57:21] thread 1e1dfd0 joined ("work")
[20:57:21] libhb: work result = 0
Encode done!
[20:57:21] thread 1e1dae0 exited ("libhb")
[20:57:21] thread 1e1dae0 joined ("libhb")
HandBrake has exited.
Last edited by Rodeo on Sat May 04, 2013 4:26 pm, edited 1 time in total.
Reason: Logs must be placed in between [code] [/code] blocks
mduell
Veteran User
Posts: 7364
Joined: Sat Apr 21, 2007 8:54 pm

Re: Encoding stops before end of DVD

Post by mduell »

1) Try the nightly.

2) Try ripping with something else, like AnyDVD or MakeMKV.
Post Reply