Handbrake only recoding 30 minutes of a 90 minute episode

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.
Locked
Artryx

Handbrake only recoding 30 minutes of a 90 minute episode

Post by Artryx »

Hi guys and girls. Wondered if any of you helpful lot could point me in the right direction for a solution.

The issue I have been having is trying to recode Battlestar Galactica Blood & Chrome. The original file is a 7Gb .MKV file that plays perfectly in VLC, but my collection is all based in iTunes and as such I convert all to .m4v

I have been doing this a few years now and have never had a problem, until 2 days ago :)

The original file is 90 ish minutes long, every time I put it through handbrake it completes with no errors that I can see but the output file is only 34 minutes long. I have double checked that all chapters are selected in the source file, and even changed to seconds and have the same results.

Below is a copy of the output log, hoping that somebody can see what I am doing wrong.

Oh, I have tried it on high, normal and apple tv3 presets, all do the same thing. I have also tried it with stripping out the chapter information, all to no avail.

Code: Select all

[09:12:48] hb_init: starting libhb thread
[09:12:48] macgui: Handbrake Version: 0.9.8 x86_64 (2012071800)
[09:12:48] hb_init: starting libhb thread
[09:12:48] hb_init: starting libhb thread
[09:12:48] macgui: hbInstances path to this instance: /Applications/HandBrake.app
[09:12:48] macgui: hbInstance found instance pidnum:384 at path: /Applications/HandBrake.app
[09:12:48] macgui: hbInstance MATCH FOUND, our pidnum is:384
[09:12:48] macgui: Pid for this instance:384
[09:12:48] macgui: HBQueueController : My Pidnum is 384
[09:12:52] macgui: built in presets updated to build number: 2012071800
[09:13:19] macgui: trying to open video_ts folder (parent directory chosen)
[09:13:19] macgui: Preview: Disabling HUD Controls
[09:13:19] macgui: Minimum length of title for scan: 900000
[09:13:19] hb_scan: path=/Users/scott/Downloads/Prequel - Blood & Chrome.mkv, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/scott/Downloads/Prequel - Blood & Chrome.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Users/scott/Downloads/Prequel - Blood & Chrome.mkv) failed (0x1028c4a00)
[09:13:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
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
[09:13:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/scott/Downloads/Prequel - Blood & Chrome.mkv':
  Duration: 01:33:32.19, start: 0.000000, bitrate: 1536 kb/s
    Chapter #0.0: start 0.000000, end 324.199000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 324.199000, end 694.360000
    Metadata:
      title           : 00:05:24.199
    Chapter #0.2: start 694.360000, end 928.928000
    Metadata:
      title           : 00:11:34.360
    Chapter #0.3: start 928.928000, end 1311.602000
    Metadata:
      title           : 00:15:28.928
    Chapter #0.4: start 1311.602000, end 1605.604000
    Metadata:
      title           : 00:21:51.602
    Chapter #0.5: start 1605.604000, end 2031.613000
    Metadata:
      title           : 00:26:45.604
    Chapter #0.6: start 2031.613000, end 2211.334000
    Metadata:
      title           : 00:33:51.613
    Chapter #0.7: start 2211.334000, end 2472.762000
    Metadata:
      title           : 00:36:51.334
    Chapter #0.8: start 2472.762000, end 2797.753000
    Metadata:
      title           : 00:41:12.762
    Chapter #0.9: start 2797.753000, end 2988.277000
    Metadata:
      title           : 00:46:37.753
    Chapter #0.10: start 2988.277000, end 3195.192000
    Metadata:
      title           : 00:49:48.277
    Chapter #0.11: start 3195.192000, end 3498.453000
    Metadata:
      title           : 00:53:15.192
    Chapter #0.12: start 3498.453000, end 3944.899000
    Metadata:
      title           : 00:58:18.453
    Chapter #0.13: start 3944.899000, end 4153.733000
    Metadata:
      title           : 01:05:44.899
    Chapter #0.14: start 4153.733000, end 4387.008000
    Metadata:
      title           : 01:09:13.733
    Chapter #0.15: start 4387.008000, end 4540.995000
    Metadata:
      title           : 01:13:07.008
    Chapter #0.16: start 4540.995000, end 4814.727000
    Metadata:
      title           : 01:15:40.995
    Chapter #0.17: start 4814.727000, end 5066.979000
    Metadata:
      title           : 01:20:14.727
    Chapter #0.18: start 5066.979000, end 5381.251000
    Metadata:
      title           : 01:24:26.979
    Chapter #0.19: start 5381.251000, end 5612.190000
    Metadata:
      title           : 01:29:41.251
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Metadata:
      title           : DTS
    Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : English
[09:13:20] scan: decoding previews for title 1
[09:13:20] scan: audio 0x1: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[09:13:20] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:13:20] scan: title (0) job->width:1920, job->height:1072
[09:13:20] libhb: scan thread found 1 valid title(s)
[09:13:21] macgui: showNewScan: This is a new source item scan
[09:13:21] macgui: Preview: Enabling HUD Controls
[09:14:51] macgui: Rip: Pending queue count is 0
[09:14:51] macgui: createQueueFileItem: Getting Audio from prepareAudioForQueueFileJob ...
[09:14:51] macgui: createQueueFileItem: Returned getting audio from prepareAudioForQueueFileJob
[09:14:51] macgui: getNextPendingQueueIndex next pending encode index is:0
[09:14:51] macgui: scanning specifically for title: 1
[09:14:51] hb_scan: path=/Users/scott/Downloads/Prequel - Blood & Chrome.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/scott/Downloads/Prequel - Blood & Chrome.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Users/scott/Downloads/Prequel - Blood & Chrome.mkv) failed (0x106119600)
[09:14:51] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
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
[09:14:51] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/scott/Downloads/Prequel - Blood & Chrome.mkv':
  Duration: 01:33:32.19, start: 0.000000, bitrate: 1536 kb/s
    Chapter #0.0: start 0.000000, end 324.199000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 324.199000, end 694.360000
    Metadata:
      title           : 00:05:24.199
    Chapter #0.2: start 694.360000, end 928.928000
    Metadata:
      title           : 00:11:34.360
    Chapter #0.3: start 928.928000, end 1311.602000
    Metadata:
      title           : 00:15:28.928
    Chapter #0.4: start 1311.602000, end 1605.604000
    Metadata:
      title           : 00:21:51.602
    Chapter #0.5: start 1605.604000, end 2031.613000
    Metadata:
      title           : 00:26:45.604
    Chapter #0.6: start 2031.613000, end 2211.334000
    Metadata:
      title           : 00:33:51.613
    Chapter #0.7: start 2211.334000, end 2472.762000
    Metadata:
      title           : 00:36:51.334
    Chapter #0.8: start 2472.762000, end 2797.753000
    Metadata:
      title           : 00:41:12.762
    Chapter #0.9: start 2797.753000, end 2988.277000
    Metadata:
      title           : 00:46:37.753
    Chapter #0.10: start 2988.277000, end 3195.192000
    Metadata:
      title           : 00:49:48.277
    Chapter #0.11: start 3195.192000, end 3498.453000
    Metadata:
      title           : 00:53:15.192
    Chapter #0.12: start 3498.453000, end 3944.899000
    Metadata:
      title           : 00:58:18.453
    Chapter #0.13: start 3944.899000, end 4153.733000
    Metadata:
      title           : 01:05:44.899
    Chapter #0.14: start 4153.733000, end 4387.008000
    Metadata:
      title           : 01:09:13.733
    Chapter #0.15: start 4387.008000, end 4540.995000
    Metadata:
      title           : 01:13:07.008
    Chapter #0.16: start 4540.995000, end 4814.727000
    Metadata:
      title           : 01:15:40.995
    Chapter #0.17: start 4814.727000, end 5066.979000
    Metadata:
      title           : 01:20:14.727
    Chapter #0.18: start 5066.979000, end 5381.251000
    Metadata:
      title           : 01:24:26.979
    Chapter #0.19: start 5381.251000, end 5612.190000
    Metadata:
      title           : 01:29:41.251
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Metadata:
      title           : DTS
    Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : English
[09:14:51] scan: decoding previews for title 1
[09:14:51] scan: audio 0x1: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[09:14:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:14:51] scan: title (0) job->width:1920, job->height:1072
[09:14:51] libhb: scan thread found 1 valid title(s)
[09:14:52] macgui: ScanDone state received from fQueueEncodeLibhb
[09:14:52] macgui: Preset: AppleTV 3
[09:14:52] macgui: processNewQueueEncode number of passes expected is: 1
[09:14:52] macgui: Start / Stop set to chapters
[09:14:52] macgui: prepareJob exiting
[09:14:52] 1 job(s) to process
[09:14:52] starting job
[09:14:52] sync: expecting 134558 video frames
[09:14:52] job configuration:
[09:14:52]  * source
[09:14:52]    + /Users/scott/Downloads/Prequel - Blood & Chrome.mkv
[09:14:52]    + title 1, chapter(s) 1 to 20
[09:14:52]    + container: matroska,webm
[09:14:52]    + data rate: 1536 kbps
[09:14:52]  * destination
[09:14:52]    + /Volumes/My Passport/Handbrake/Handbrake Output/Prequel - Blood & Chrome.m4v
[09:14:52]    + container: MPEG-4 (.mp4 and .m4v)
[09:14:52]      + 64-bit formatting
[09:14:52]  * video track
[09:14:52]    + decoder: h264
[09:14:52]    + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[09:14:52]    + loose anamorphic
[09:14:52]      + storage dimensions: 1920 * 1080 -> 1920 * 1080, crop 0/0/0/0, mod 2
[09:14:52]      + pixel aspect ratio: 1 / 1
[09:14:52]      + display dimensions: 1920 * 1080
[09:14:52]    + filter
[09:14:52]      + Decomb (7:2:6:9:1:80)
[09:14:52]    + encoder: H.264 (x264)
[09:14:52]      + options: b-adapt=2
[09:14:52]      + quality: 20.00 (RF)
[09:14:52]  * audio track 1
[09:14:52]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x1)
[09:14:52]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[09:14:52]    + mixdown: Dolby Pro Logic II
[09:14:52]    + encoder: AAC (CoreAudio)
[09:14:52]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:14:52]  * audio track 2
[09:14:52]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x1)
[09:14:52]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[09:14:52]    + mixdown: 6-channel discrete
[09:14:52]    + encoder: AC3 (ffmpeg)
[09:14:52]      + bitrate: 640 kbps, samplerate: 48000 Hz
[09:14:52] reader: first SCR 0 id 0x0 DTS 0
[09:14:52] yadif thread started for segment 0
[09:14:52] yadif thread started for segment 1
[09:14:52] yadif thread started for segment 3
[09:14:52] yadif thread started for segment 2
[09:14:52] yadif thread started for segment 4
[09:14:52] yadif thread started for segment 5
[09:14:52] yadif thread started for segment 6
[09:14:52] yadif thread started for segment 7
[09:14:52] decomb thread started for segment 0
[09:14:52] decomb thread started for segment 1
[09:14:52] decomb thread started for segment 2
[09:14:52] decomb thread started for segment 3
[09:14:52] decomb thread started for segment 4
[09:14:52] decomb thread started for segment 5
[09:14:52] decomb thread started for segment 6
[09:14:52] decomb thread started for segment 7
[09:14:52] encx264: min-keyint: 24, keyint: 240
[09:14:52] encx264: encoding with stored aspect 1/1
[09:14:52] 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 AVX
x264 [info]: profile High, level 4.0
Stream with high frequencies VQ coding
Stream with high frequencies VQ coding
[09:24:10] h264: "00:05:24.199" (2) at frame 7781 time 29177910
[09:34:18] h264: "00:11:34.360" (3) at frame 16656 time 62492400
[09:40:47] h264: "00:15:28.928" (4) at frame 22280 time 83603520
[09:51:12] h264: "00:21:51.602" (5) at frame 31455 time 118044180
[09:59:55] h264: "00:26:45.604" (6) at frame 38504 time 144504360
[10:11:32] h264: "00:33:51.613" (7) at frame 48720 time 182852640
[10:12:34] reader: done. 1 scr changes
[10:12:45] work: average encoding speed for job is 14.392885 fps
[10:12:45] sync: got 49896 frames, 134558 expected
[10:12:45] h264-decoder done: 49896 frames, 0 decoder errors, 0 drops
[10:12:45] render: 49895 frames output, 0 dropped and 0 duped for CFR/PFR
[10:12:45] render: lost time: 0 (0 frames)
[10:12:45] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:387   Avg QP:16.79  size:129400  PSNR Mean Y:50.44 U:51.90 V:53.67 Avg:51.00 Global:50.46
x264 [info]: frame P:17969 Avg QP:19.90  size: 64539  PSNR Mean Y:49.21 U:50.81 V:52.58 Avg:49.77 Global:48.67
x264 [info]: frame B:31539 Avg QP:20.82  size: 42906  PSNR Mean Y:47.15 U:48.97 V:50.74 Avg:47.80 Global:47.35
x264 [info]: consecutive B-frames:  8.1%  9.7% 39.3% 42.8%
x264 [info]: mb I  I16..4: 14.4% 81.5%  4.1%
x264 [info]: mb P  I16..4:  9.4% 39.3%  0.9%  P16..4: 31.2%  8.0%  2.9%  0.0%  0.0%    skip: 8.2%
x264 [info]: mb B  I16..4:  1.5%  9.8%  0.1%  B16..8: 42.2%  7.6%  1.1%  direct:12.8%  skip:24.8%  L0:49.7% L1:43.9% BI: 6.3%
x264 [info]: 8x8 transform intra:81.0% inter:85.5%
x264 [info]: coded y,uvDC,uvAC intra: 62.6% 87.4% 57.5% inter: 32.6% 51.8% 7.2%
x264 [info]: i16 v,h,dc,p: 43% 16%  7% 34%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 16% 29%  6%  7%  6%  7%  6%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 21% 14%  6% 10%  8%  8%  5%  4%
x264 [info]: i8c dc,h,v,p: 58% 18% 17%  7%
x264 [info]: Weighted P-Frames: Y:2.3% UV:1.7%
x264 [info]: ref P L0: 58.8%  9.9% 21.3%  9.9%  0.1%
x264 [info]: ref B L0: 82.0% 15.0%  3.0%
x264 [info]: ref B L1: 93.3%  6.7%
x264 [info]: SSIM Mean Y:0.9869771 (18.853db)
x264 [info]: PSNR Mean Y:47.919 U:49.653 V:51.423 Avg:48.538 Global:47.800 kb/s:9852.81
[10:12:45] mux: track 0, 49895 frames, 2562993636 bytes, 9852.36 kbps, fifo 512
[10:12:45] mux: track 1, 97553 frames, 42709671 bytes, 164.18 kbps, fifo 2048
[10:12:45] mux: track 2, 65034 frames, 166487040 bytes, 639.99 kbps, fifo 1024
[10:12:45] decomb: deinterlaced 0 | blended 13 | unfiltered 49882 | total 49895
[10:12:45] libhb: work result = 0
[10:12:46] macgui: incrementQueueItemDone there are no more pending encodes
Last edited by Artryx on Sat Mar 16, 2013 8:39 pm, edited 1 time in total.
Reason: Logs must be placed in between [code] [/code] blocks
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Handbrake only recoding 30 minutes of a 90 minute episod

Post by mduell »

Artryx wrote:

Code: Select all

[10:12:34] reader: done. 1 scr changes
[10:12:45] work: average encoding speed for job is 14.392885 fps
[10:12:45] sync: got 49896 frames, 134558 expected
[10:12:45] h264-decoder done: 49896 frames, 0 decoder errors, 0 drops
Something weird with the source, how'd you get it?
Artryx

Re: Handbrake only recoding 30 minutes of a 90 minute episod

Post by Artryx »

I may have "found" it online :)

Trying to grab a second source to check. Just seems really odd as the original .mkv appears to play the whole thing, could just be that VLC is able to cope with a semi corrupt source.
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Handbrake only recoding 30 minutes of a 90 minute episod

Post by mduell »

Artryx wrote:I may have "found" it online :)
Rule 3.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: Handbrake only recoding 30 minutes of a 90 minute episod

Post by dynaflash »

Locked and Banned.
Locked