stops encoding prematurely

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
kav
Posts: 5
Joined: Fri May 28, 2010 4:09 am

stops encoding prematurely

Post by kav »

Handbrake only encodes the first six or so minutes of a full 2+ hour movie.
It's a 1080 .mkv source file to .m4v (ATV3 Preset).
Tried it a couple of times, same result exactly each time.

Back in the ATV2 days, I had converted the same .mkv source down to 720 and it worked/played fine.

There are two "warnings" in the code but I don't know what they imply or even if they're relevant:

Code: Select all

[12:58:11] hb_init: starting libhb thread
[12:58:11] macgui: Handbrake Version: 0.9.8 x86_64 (2012071800)
[12:58:11] hb_init: starting libhb thread
[12:58:11] hb_init: starting libhb thread
[12:58:11] macgui: hbInstances path to this instance: /Applications/video processing/HandBrake.app
[12:58:11] macgui: hbInstance found instance pidnum:23354 at path: /Applications/video processing/HandBrake.app
[12:58:11] macgui: hbInstance MATCH FOUND, our pidnum is:23354
[12:58:11] macgui: Pid for this instance:23354
[12:58:11] macgui: HBQueueController : My Pidnum is 23354
[12:58:18] macgui: trying to open video_ts folder (parent directory chosen)
[12:58:18] macgui: Preview: Disabling HUD Controls
[12:58:18] macgui: Minimum length of title for scan: 900000
[12:58:18] hb_scan: path=/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv) failed (0x103021000)
[12:58:18] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:58:18] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv':
  Duration: 02:26:05.29, start: 0.000000, bitrate: 1984 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : hp7part1-1080p
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Metadata:
      title           : hp7part1-1080p
    Stream #0.2: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Metadata:
      title           : hp7part1-1080p
[12:58:18] scan: decoding previews for title 1
[12:58:18] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[12:58:18] scan: audio 0x1: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[12:58:19] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[12:58:19] scan: title (0) job->width:1920, job->height:800
[12:58:19] libhb: scan thread found 1 valid title(s)
[12:58:20] macgui: showNewScan: This is a new source item scan
[12:58:20] macgui: Preview: Enabling HUD Controls
[12:58:39] macgui: Rip: Pending queue count is 0
[12:58:39] macgui: createQueueFileItem: Getting Audio from prepareAudioForQueueFileJob ...
[12:58:39] macgui: createQueueFileItem: Returned getting audio from prepareAudioForQueueFileJob
[12:58:39] macgui: getNextPendingQueueIndex next pending encode index is:0
[12:58:39] macgui: scanning specifically for title: 1
[12:58:39] hb_scan: path=/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv) failed (0x10386be00)
[12:58:39] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:58:39] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv':
  Duration: 02:26:05.29, start: 0.000000, bitrate: 1984 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : hp7part1-1080p
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Metadata:
      title           : hp7part1-1080p
    Stream #0.2: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Metadata:
      title           : hp7part1-1080p
[12:58:39] scan: decoding previews for title 1
[12:58:39] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=448000 Unknown (AC3) (5.1 ch)
[12:58:39] scan: audio 0x1: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[12:58:40] scan: 10 previews, 1920x800, 23.976 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[12:58:40] scan: title (0) job->width:1920, job->height:800
[12:58:40] libhb: scan thread found 1 valid title(s)
[12:58:40] macgui: ScanDone state received from fQueueEncodeLibhb
[12:58:40] macgui: Preset: AppleTV 3
[12:58:40] macgui: processNewQueueEncode number of passes expected is: 1
[12:58:40] macgui: Start / Stop set to chapters
[12:58:40] macgui: prepareJob exiting
[12:58:40] 1 job(s) to process
[12:58:40] starting job
[12:58:40] sync: expecting 210156 video frames
[12:58:40] job configuration:
[12:58:40]  * source
[12:58:40]    + /Volumes/Media/1080/Harry Potter and the Deathly Hallows (Part 1).mkv
[12:58:40]    + title 1, chapter(s) 1 to 1
[12:58:40]    + container: matroska,webm
[12:58:40]    + data rate: 1984 kbps
[12:58:40]  * destination
[12:58:40]    + /Volumes/Media/Harry Potter and the Deathly Hallows (Part 1).m4v
[12:58:40]    + container: MPEG-4 (.mp4 and .m4v)
[12:58:40]      + 64-bit formatting
[12:58:40]  * video track
[12:58:40]    + decoder: h264
[12:58:40]    + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[12:58:40]    + loose anamorphic
[12:58:40]      + storage dimensions: 1920 * 800 -> 1920 * 800, crop 0/0/0/0, mod 2
[12:58:40]      + pixel aspect ratio: 1 / 1
[12:58:40]      + display dimensions: 1920 * 800
[12:58:40]    + filter
[12:58:40]      + Decomb (7:2:6:9:1:80)
[12:58:40]    + encoder: H.264 (x264)
[12:58:40]      + options: b-adapt=2
[12:58:40]      + quality: 20.00 (RF)
[12:58:40]  * audio track 1
[12:58:40]    + decoder: Unknown (AC3) (5.1 ch) (track 2, id 0x2)
[12:58:40]      + bitrate: 448 kbps, samplerate: 48000 Hz
[12:58:40]    + mixdown: Dolby Pro Logic II
[12:58:40]    + encoder: AAC (CoreAudio)
[12:58:40]      + bitrate: 160 kbps, samplerate: 48000 Hz
[12:58:40]  * audio track 2
[12:58:40]    + decoder: Unknown (AC3) (5.1 ch) (track 2, id 0x2)
[12:58:40]      + bitrate: 448 kbps, samplerate: 48000 Hz
[12:58:40]    + AC3 Passthru
[12:58:40] reader: first SCR 0 id 0x0 DTS 0
[12:58:40] yadif thread started for segment 1
[12:58:40] yadif thread started for segment 0
[12:58:40] yadif thread started for segment 2
[12:58:40] yadif thread started for segment 3
[12:58:40] decomb thread started for segment 0
[12:58:40] decomb thread started for segment 1
[12:58:40] decomb thread started for segment 2
[12:58:40] decomb thread started for segment 3
[12:58:40] encx264: min-keyint: 24, keyint: 240
[12:58:40] encx264: encoding with stored aspect 1/1
[12:58:40] encx264: Encoding at constant RF 20.000000
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=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
[13:07:27] reader: done. 1 scr changes
[13:07:34] work: average encoding speed for job is 16.584156 fps
[13:07:34] sync: got 8790 frames, 210156 expected
[13:07:34] h264-decoder done: 8790 frames, 0 decoder errors, 0 drops
[13:07:34] render: 8789 frames output, 0 dropped and 0 duped for CFR/PFR
[13:07:34] render: lost time: 0 (0 frames)
[13:07:34] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:63    Avg QP:14.53  size:142489  PSNR Mean Y:50.82 U:58.04 V:56.53 Avg:52.05 Global:50.88
x264 [info]: frame P:2476  Avg QP:18.06  size: 31390  PSNR Mean Y:49.14 U:56.39 V:54.80 Avg:50.22 Global:47.99
x264 [info]: frame B:6250  Avg QP:20.14  size: 10410  PSNR Mean Y:47.71 U:55.21 V:53.64 Avg:48.90 Global:47.63
x264 [info]: consecutive B-frames:  2.3%  3.3% 15.7% 78.6%
x264 [info]: mb I  I16..4: 11.3% 70.2% 18.5%
x264 [info]: mb P  I16..4:  2.4%  6.3%  0.5%  P16..4: 46.8% 15.7%  8.6%  0.0%  0.0%    skip:19.7%
x264 [info]: mb B  I16..4:  0.2%  0.6%  0.0%  B16..8: 49.3%  2.6%  0.4%  direct: 2.2%  skip:44.7%  L0:45.7% L1:51.9% BI: 2.4%
x264 [info]: 8x8 transform intra:69.7% inter:75.8%
x264 [info]: coded y,uvDC,uvAC intra: 62.3% 54.4% 23.3% inter: 19.2% 15.8% 0.2%
x264 [info]: i16 v,h,dc,p: 56% 16% 15% 14%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 13% 44%  4%  5%  5%  5%  5%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 18% 19%  7%  8%  7%  7%  6%  6%
x264 [info]: i8c dc,h,v,p: 68% 15% 15%  2%
x264 [info]: Weighted P-Frames: Y:3.1% UV:1.3%
x264 [info]: ref P L0: 58.5%  8.3% 22.8% 10.3%  0.1%
x264 [info]: ref B L0: 84.7% 12.4%  2.9%
x264 [info]: ref B L1: 93.4%  6.6%
x264 [info]: SSIM Mean Y:0.9815094 (17.330db)
x264 [info]: PSNR Mean Y:48.136 U:55.567 V:53.990 Avg:49.294 Global:47.748 kb/s:3311.99
[13:07:34] mux: track 0, 8789 frames, 151759189 bytes, 3311.19 kbps, fifo 1024
[13:07:34] mux: track 1, 17188 frames, 7400750 bytes, 161.47 kbps, fifo 2048
[13:07:34] mux: track 2, 11458 frames, 20532736 bytes, 448.00 kbps, fifo 2048
[13:07:34] decomb: deinterlaced 0 | blended 21 | unfiltered 8768 | total 8789
[13:07:34] libhb: work result = 0
[13:07:34] macgui: incrementQueueItemDone there are no more pending encodes
User avatar
Rodeo
HandBrake Team
Posts: 12679
Joined: Tue Mar 03, 2009 8:55 pm

Re: stops encoding prematurely

Post by Rodeo »

kav
Posts: 5
Joined: Fri May 28, 2010 4:09 am

Re: stops encoding prematurely

Post by kav »

got it
thanks
Post Reply