subtitles are out of sync

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
288enzo
Posts: 21
Joined: Mon Nov 30, 2009 5:41 am

subtitles are out of sync

Post by 288enzo »

This is my process -

MakeMKV
eac3to (PC software) to extract subtitles
SUP2SUB
MKVMerge - combine MKV with idx file from SUP2SUB
Handbrake

My question is - are my subtitles off because my framerate is off? When I use SUP2SUB I select the source framerate of 23.976 which is the same as the original MKV. When I load the final MKV into HB and choose the iPad setting HB will change the output framerate to 29.97. Should I change my framerate in SUP2SUB to 29.97 first? I think I've tried a few different options and they all end with a final result of out of sync subtitles.

When I look at the time in SUP2SUB, it seems to match the correct time in the movie when I should see the subtitles.

BTW, I've only been encoding one chapter via HB to test it out. Could that be my problem, should I encode the entire movie? If so, what are the suggestions for my framerate question? I just don't want to spend hours and hours of encoding the entire movie only to find out the subtitles are out of sync.

Thanks for the help.
Deleted User 11865

Re: subtitles are out of sync

Post by Deleted User 11865 »

Encode log please.
288enzo
Posts: 21
Joined: Mon Nov 30, 2009 5:41 am

Re: subtitles are out of sync

Post by 288enzo »

Code: Select all

HandBrake Activity Log for /Volumes/Disc 2/Shared OS Folder/Anchorman 23976.m4v: 2011-07-18 11:27:23 -0700
Handbrake Version: 4116svn x86_64 (2011071701)

[11:27:23] macgui: Rip: Pending queue count is 0
[11:27:23] macgui: createQueueFileItem: Getting Audio from prepareAudioForQueueFileJob ...
[11:27:23] macgui: createQueueFileItem: Returned getting audio from prepareAudioForQueueFileJob
[11:27:23] macgui: getNextPendingQueueIndex next pending encode index is:4
[11:27:23] macgui: scanning specifically for title: 1
[11:27:23] hb_scan: path=/Volumes/Disc 2/Shared OS Folder/Anchorman (1).mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/Disc 2/Shared OS Folder/Anchorman (1).mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/Volumes/Disc 2/Shared OS Folder/Anchorman (1).mkv) failed (0x10286d800)
[11:27:23] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 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
[11:27:23] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Disc 2/Shared OS Folder/Anchorman (1).mkv':
  Duration: 01:34:05.34, start: 0.000000, bitrate: 1536 kb/s
    Chapter #0.0: start 0.000000, end 220.136556
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 220.136556, end 347.889178
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 347.889178, end 675.216178
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 675.216178, end 773.606133
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 773.606133, end 1034.283200
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 1034.283200, end 1214.504911
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 1214.504911, end 1491.031156
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 1491.031156, end 1851.224311
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 1851.224311, end 2173.087533
    Metadata:
      title           : Chapter 08
    Chapter #0.9: start 2173.087533, end 2313.728022
    Metadata:
      title           : Chapter 09
    Chapter #0.10: start 2313.728022, end 2597.094444
    Metadata:
      title           : Chapter 10
    Chapter #0.11: start 2597.094444, end 2823.528978
    Metadata:
      title           : Chapter 11
    Chapter #0.12: start 2823.528978, end 3046.960511
    Metadata:
      title           : Chapter 12
    Chapter #0.13: start 3046.960511, end 3542.789156
    Metadata:
      title           : Chapter 13
    Chapter #0.14: start 3542.789156, end 3911.782778
    Metadata:
      title           : Chapter 14
    Chapter #0.15: start 3911.782778, end 4101.680822
    Metadata:
      title           : Chapter 15
    Chapter #0.16: start 4101.680822, end 4300.170778
    Metadata:
      title           : Chapter 16
    Chapter #0.17: start 4300.170778, end 4807.135556
    Metadata:
      title           : Chapter 17
    Chapter #0.18: start 4807.135556, end 5361.481022
    Metadata:
      title           : Chapter 18
    Chapter #0.19: start 5361.481022, end 5645.348000
    Metadata:
      title           : Chapter 19
    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           : 3/2+1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[11:27:23] scan: decoding previews for title 1
[11:27:23] scan: audio 0x1: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[11:27:26] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:27:26] scan: title (0) job->width:1920, job->height:1072
[11:27:26] libhb: scan thread found 1 valid title(s)
[11:27:26] macgui: ScanDone state received from fQueueEncodeLibhb
[11:27:26] macgui: Preset: Custom
[11:27:26] macgui: processNewQueueEncode number of passes expected is: 1
[11:27:26] macgui: Start / Stop set to chapters
[11:27:26] macgui: prepareJob exiting
[11:27:26] 1 job(s) to process
[11:27:26] starting job
[11:27:26] sync: expecting 135377 video frames
[11:27:26] job configuration:
[11:27:26]  * source
[11:27:26]    + /Volumes/Disc 2/Shared OS Folder/Anchorman (1).mkv
[11:27:26]    + title 1, chapter(s) 1 to 20
[11:27:26]    + container: matroska,webm
[11:27:26]    + data rate: 1536 kbps
[11:27:26]  * destination
[11:27:26]    + /Volumes/Disc 2/Shared OS Folder/Anchorman 23976.m4v
[11:27:26]    + container: MPEG-4 (.mp4 and .m4v)
[11:27:26]      + 64-bit formatting
[11:27:26]      + chapter markers
[11:27:26]  * video track
[11:27:26]    + decoder: h264
[11:27:26]    + frame rate: same as source (around 23.976 fps)
[11:27:26]    + loose anamorphic
[11:27:26]      + storage dimensions: 1920 * 1080 -> 1024 * 576, crop 0/0/0/0, mod 16
[11:27:26]      + pixel aspect ratio: 1 / 1
[11:27:26]      + display dimensions: 1024 * 576
[11:27:26]    + encoder: x264
[11:27:26]      + quality: 18.00 (RF)
[11:27:26]  * subtitle track 0, English (id 0x2) Picture [VOBSUB] -> Render/Burn in
[11:27:26]  * audio track 0
[11:27:26]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x1)
[11:27:26]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:27:26]    + mixdown: Dolby Pro Logic II
[11:27:26]    + encoder: faac
[11:27:26]      + bitrate: 160 kbps, samplerate: 48000 Hz
[11:27:26] encx264: min-keyint: 24, keyint: 240
[11:27:26] encx264: encoding with stored aspect 1/1
[11:27:26] encx264: Encoding at constant RF 18.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 3.1
[11:27:26] reader: first SCR 0 id 0x0 DTS 0
Stream with high frequencies VQ coding
[11:31:51] h264: "Chapter 01" (2) at frame 5286 time 19812330
[11:35:05] h264: "Chapter 02" (3) at frame 8352 time 31321260
[11:42:44] h264: "Chapter 03" (4) at frame 16200 time 60780690
[11:44:50] h264: "Chapter 04" (5) at frame 18559 time 69635790
[11:51:21] h264: "Chapter 05" (6) at frame 24808 time 93093030
[11:56:07] h264: "Chapter 06" (7) at frame 29127 time 109305450
[12:02:37] h264: "Chapter 07" (8) at frame 35759 time 134200350
[12:10:56] h264: "Chapter 08" (9) at frame 44395 time 166617720
[12:18:06] h264: "Chapter 09" (10) at frame 52110 time 195577920
[12:21:22] h264: "Chapter 10" (11) at frame 55484 time 208243080
[12:28:14] h264: "Chapter 11" (12) at frame 62276 time 233738550
[12:31:11] sync: audio 0x1 time went backwards 0 ms, dropped 5 frames (next 244774080, current 244774080)
[12:33:40] h264: "Chapter 12" (13) at frame 67705 time 254117610
[12:39:16] h264: "Chapter 13" (14) at frame 73062 time 274226490
[12:51:34] h264: "Chapter 14" (15) at frame 84953 time 318862260
[13:00:46] h264: "Chapter 15" (16) at frame 93797 time 352060470
[13:05:39] h264: "Chapter 16" (17) at frame 98350 time 369151290
[13:10:42] h264: "Chapter 17" (18) at frame 103109 time 387015390
[13:22:02] h264: "Chapter 18" (19) at frame 115264 time 432642240
[13:34:25] h264: "Chapter 19" (20) at frame 128556 time 482537070
[13:38:08] reader: done. 1 scr changes
[13:38:11] work: average encoding speed for job is 17.256697 fps
[13:38:11] sync: got 135353 frames, 135377 expected
[13:38:11] h264-decoder done: 135353 frames, 0 decoder errors, 0 drops
[13:38:11] render: lost time: 0 (0 frames)
[13:38:11] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1388  Avg QP:16.57  size:107221  PSNR Mean Y:46.21 U:48.72 V:50.40 Avg:47.03 Global:46.71
x264 [info]: frame P:58951 Avg QP:19.73  size: 33355  PSNR Mean Y:43.28 U:46.89 V:48.79 Avg:44.27 Global:43.91
x264 [info]: frame B:75014 Avg QP:22.03  size: 10078  PSNR Mean Y:42.18 U:46.27 V:48.54 Avg:43.25 Global:42.81
x264 [info]: consecutive B-frames:  7.7% 46.2% 27.3% 18.8%
x264 [info]: mb I  I16..4:  6.0% 71.8% 22.2%
x264 [info]: mb P  I16..4:  0.5%  6.6%  1.4%  P16..4: 36.6% 29.4% 18.0%  0.0%  0.0%    skip: 7.4%
x264 [info]: mb B  I16..4:  0.0%  1.1%  0.1%  B16..8: 47.5%  9.3%  2.6%  direct: 4.9%  skip:34.4%  L0:41.0% L1:45.1% BI:14.0%
x264 [info]: 8x8 transform intra:77.9% inter:60.5%
x264 [info]: coded y,uvDC,uvAC intra: 92.7% 88.3% 62.2% inter: 40.0% 38.7% 7.9%
x264 [info]: i16 v,h,dc,p: 55% 17%  6% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 13% 24%  6%  9%  9%  8%  9%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 12%  7% 11% 11%  9%  8%  7%
x264 [info]: i8c dc,h,v,p: 52% 18% 20%  9%
x264 [info]: Weighted P-Frames: Y:3.8% UV:1.0%
x264 [info]: ref P L0: 51.2% 16.8% 21.3% 10.4%  0.3%
x264 [info]: ref B L0: 73.6% 22.6%  3.8%
x264 [info]: ref B L1: 93.3%  6.7%
x264 [info]: SSIM Mean Y:0.9721369 (15.550db)
x264 [info]: PSNR Mean Y:42.702 U:46.566 V:48.668 Avg:43.732 Global:43.288 kb/s:4068.70
[13:38:12] mux: track 0, 135353 frames, 2871095223 bytes, 4068.59 kbps, fifo 8
[13:38:12] mux: track 1, 264627 frames, 112711037 bytes, 159.72 kbps, fifo 512
[13:38:12] libhb: work result = 0
Deleted User 11865

Re: subtitles are out of sync

Post by Deleted User 11865 »

If you select MKV instead of MP4, and pass the subtitles through instead of burning them in, are they also out of sync?
288enzo
Posts: 21
Joined: Mon Nov 30, 2009 5:41 am

Re: subtitles are out of sync

Post by 288enzo »

Rodeo wrote:If you select MKV instead of MP4, and pass the subtitles through instead of burning them in, are they also out of sync?
I don't know, I select M4V because MKV doesn't play on the iPad or ATV. I don't have an option to play an MKV on any of my devices.

Do you see anything from my log you asked for?
288enzo
Posts: 21
Joined: Mon Nov 30, 2009 5:41 am

Re: subtitles are out of sync

Post by 288enzo »

bump
mcmt
Posts: 1
Joined: Sun Jul 24, 2011 4:27 pm

Re: subtitles are out of sync

Post by mcmt »

Hello, I also encountered a problem (two DVD's from the same set) where MKV works fine, but MP4 not (tested on OSX 10.6.7). The audio is out of sync (delayed). Other DVD's did not cause any problems. Enclosed the logs for both cases.

Regards,

mcmt

===
MP4
===

Code: Select all

HandBrake Activity Log for /Users/me/HandBrake/Encoded/FT_1_1.m4v: 2011-07-24 16:47:23 +0200
Handbrake Version: 0.9.5 x86_64 (2011010300)

[16:47:23] macgui: Rip: Pending queue count is 0
[16:47:23] macgui: getNextPendingQueueIndex next pending encode index is:0
[16:47:23] macgui: scanning specifically for title: 1
[16:47:23] hb_scan: path=/Users/me/HandBrake/Source/FT_1_1, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/me/HandBrake/Source/FT_1_1/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Users/me/HandBrake/Source/FT_1_1) failed (0x1022d2e00)
[16:47:23] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/me/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[16:47:23] scan: DVD has 1 title(s)
[16:47:23] scan: scanning title 1
[16:47:23] scan: opening IFO for VTS 1
[16:47:23] scan: duration is 00:30:21 (1821010 ms)
[16:47:23] pgc_id: 1, pgn: 1: pgc: 0x101ce3fd0
[16:47:23] scan: vts=1, ttn=1, cells=0->7, blocks=0->589102, 589103 blocks
[16:47:23] scan: checking audio 1
[16:47:23] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[16:47:23] scan: checking subtitle 1
[16:47:23] scan: id=20bd, lang=English, 3cc=eng
[16:47:23] scan: checking subtitle 2
[16:47:23] scan: id=23bd, lang=Nederlands, 3cc=nld
[16:47:23] scan: title 1 has 8 chapters
[16:47:23] scan: chap 1 c=0->0, b=0->6426 (6427), 21171 ms
[16:47:23] scan: chap 2 c=1->1, b=6427->117655 (111229), 349614 ms
[16:47:23] scan: chap 3 c=2->2, b=117656->221493 (103838), 336514 ms
[16:47:23] scan: chap 4 c=3->3, b=221494->322984 (101491), 309483 ms
[16:47:23] scan: chap 5 c=4->4, b=322985->409253 (86269), 264636 ms
[16:47:23] scan: chap 6 c=5->5, b=409254->506197 (96944), 288802 ms
[16:47:23] scan: chap 7 c=6->6, b=506198->573689 (67492), 207390 ms
[16:47:23] scan: chap 8 c=7->7, b=573690->589102 (15413), 43395 ms
[16:47:23] scan: aspect = 0
[16:47:23] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[16:47:23] scan: title angle(s) 1
[16:47:23] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[16:47:24] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/8/20, aspect 4:3, PAR 16:15
[16:47:24] scan: title (0) job->width:688, job->height:528
[16:47:24] libhb: scan thread found 1 valid title(s)
[16:47:24] macgui: ScanDone state received from fQueueEncodeLibhb
[16:47:24] macgui: Preset: DVD Decomb (2 threads)
[16:47:24] macgui: processNewQueueEncode number of passes expected is: 1
[16:47:24] macgui: Start / Stop set to chapters
[16:47:24] macgui: prepareJob exiting
[16:47:24] 1 job(s) to process
[16:47:24] starting job
[16:47:24] sync: expecting 9294 video frames
[ac3 @ 0x10283dc00] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[16:47:24] job configuration:
[16:47:24]  * source
[16:47:24]    + /Users/me/HandBrake/Source/FT_1_1
[16:47:24]    + title 1, chapter(s) 1 to 2
[16:47:24]  * destination
[16:47:24]    + /Users/me/HandBrake/Encoded/FT_1_1.m4v
[16:47:24]    + container: MPEG-4 (.mp4 and .m4v)
[16:47:24]      + chapter markers
[16:47:24]  * video track
[16:47:24]    + decoder: mpeg2
[16:47:24]      + bitrate 7500 kbps
[16:47:24]    + frame rate: same as source (around 25.000 fps)
[16:47:24]    + strict anamorphic
[16:47:24]      + storage dimensions: 720 * 576 -> 686 * 570, crop 2/4/10/24, mod 16
[16:47:24]      + pixel aspect ratio: 16 / 15
[16:47:24]      + display dimensions: 731 * 570
[16:47:24]    + filter
[16:47:24]      + Decomb (default settings)
[16:47:24]    + encoder: x264
[16:47:24]      + options: b-adapt=2:rc-lookahead=50:threads=2
[16:47:24]      + quality: 17.00 (RF)
[16:47:24]  * subtitle track 1, English (id 20bd) Picture [VOBSUB] -> Pass-Through
[16:47:24]  * audio track 0
[16:47:24]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[16:47:24]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:47:24]    + mixdown: Stereo
[16:47:24]    + encoder: ca_aac
[16:47:24]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:47:24]  * audio track 1
[16:47:24]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[16:47:24]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:47:24]    + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/me/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1[16:47:24] yadif thread started for segment 0
[16:47:24] yadif thread started for segment 1
[16:47:24] decomb thread started for segment 0
[16:47:24] decomb thread started for segment 1
 2 3 4 5 6
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[16:47:24] reader: first SCR 146 id 224 DTS 3567
[16:47:25] mpeg2: "Chapter  1" (1) at frame 0 time 10800
[16:47:25] encx264: encoding with stored aspect 16/15
[16:47:25] encx264: Encoding at constant RF 17.000000
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[16:47:25] sync: first pts is 7200
[16:47:48] mpeg2: "Chapter  2" (2) at frame 546 time 1976400
[16:59:23] reader: end of chapter 2 (media 2) reached at media chapter 3
[16:59:23] reader: done. 0 scr changes
[16:59:31] work: average encoding speed for job is 12.891254 fps
[16:59:31] sync: got 9281 frames, 9294 expected
[16:59:31] mpeg2 done: 9281 frames
[16:59:31] render: lost time: 0 (0 frames)
[16:59:31] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:69    Avg QP:15.73  size: 85203  PSNR Mean Y:47.12 U:49.87 V:50.26 Avg:47.88 Global:47.65
x264 [info]: frame P:2490  Avg QP:18.51  size: 37794  PSNR Mean Y:44.00 U:47.10 V:47.66 Avg:44.84 Global:44.70
x264 [info]: frame B:6721  Avg QP:21.74  size: 12413  PSNR Mean Y:41.66 U:45.31 V:45.97 Avg:42.60 Global:42.45
x264 [info]: consecutive B-frames:  0.6%  2.1% 12.8% 84.5%
x264 [info]: mb I  I16..4:  4.5% 63.3% 32.2%
x264 [info]: mb P  I16..4:  0.7% 14.4%  4.7%  P16..4: 30.2% 30.8% 17.8%  0.0%  0.0%    skip: 1.4%
x264 [info]: mb B  I16..4:  0.1%  1.7%  0.5%  B16..8: 38.6% 12.3%  3.7%  direct:14.2%  skip:28.9%  L0:34.7% L1:40.5% BI:24.8%
x264 [info]: 8x8 transform intra:71.9% inter:58.9%
x264 [info]: coded y,uvDC,uvAC intra: 95.2% 92.7% 72.1% inter: 48.4% 50.9% 16.5%
x264 [info]: i16 v,h,dc,p: 32% 27%  5% 37%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 15% 14%  5%  7%  9%  7%  9%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 16% 10%  6% 10% 10%  9%  8%  8%
x264 [info]: i8c dc,h,v,p: 49% 18% 23%  9%
x264 [info]: Weighted P-Frames: Y:4.5% UV:1.8%
x264 [info]: ref P L0: 47.9% 18.1% 26.5%  7.3%  0.2%
x264 [info]: ref B L0: 87.5% 10.8%  1.7%
x264 [info]: ref B L1: 96.0%  4.0%
x264 [info]: SSIM Mean Y:0.9801370 (17.020db)
x264 [info]: PSNR Mean Y:42.331 U:45.824 V:46.455 Avg:43.240 Global:42.979 kb/s:3952.07
[16:59:31] mux: track 0, 9280 frames, 183412597 bytes, 3951.15 kbps, fifo 8
[16:59:31] mux: track 1, 17408 frames, 15971253 bytes, 344.06 kbps, fifo 256
[16:59:31] mux: track 2, 11605 frames, 8912640 bytes, 192.00 kbps, fifo 256
[16:59:31] mux: track 3, 153 frames, 278556 bytes, 6.00 kbps, fifo 8
[16:59:31] decomb: deinterlaced 5596 | blended 1521 | unfiltered 2163 | total 9280
[16:59:31] libhb: work result = 0
===
MKV
===

Code: Select all

HandBrake Activity Log for /Users/me/HandBrake/Encoded/FT_1_1.mkv: 2011-07-24 16:59:31 +0200
Handbrake Version: 0.9.5 x86_64 (2011010300)

[16:59:31] macgui: getNextPendingQueueIndex next pending encode index is:1
[16:59:31] macgui: incrementQueueItemDone new pending items found: 1
[16:59:31] macgui: scanning specifically for title: 1
[16:59:31] hb_scan: path=/Users/me/HandBrake/Source/FT_1_1, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Users/me/HandBrake/Source/FT_1_1/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Users/me/HandBrake/Source/FT_1_1) failed (0x102c48200)
[16:59:31] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/me/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[16:59:32] scan: DVD has 1 title(s)
[16:59:32] scan: scanning title 1
[16:59:32] scan: opening IFO for VTS 1
[16:59:32] scan: duration is 00:30:21 (1821010 ms)
[16:59:32] pgc_id: 1, pgn: 1: pgc: 0x11ab784b0
[16:59:32] scan: vts=1, ttn=1, cells=0->7, blocks=0->589102, 589103 blocks
[16:59:32] scan: checking audio 1
[16:59:32] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[16:59:32] scan: checking subtitle 1
[16:59:32] scan: id=20bd, lang=English, 3cc=eng
[16:59:32] scan: checking subtitle 2
[16:59:32] scan: id=23bd, lang=Nederlands, 3cc=nld
[16:59:32] scan: title 1 has 8 chapters
[16:59:32] scan: chap 1 c=0->0, b=0->6426 (6427), 21171 ms
[16:59:32] scan: chap 2 c=1->1, b=6427->117655 (111229), 349614 ms
[16:59:32] scan: chap 3 c=2->2, b=117656->221493 (103838), 336514 ms
[16:59:32] scan: chap 4 c=3->3, b=221494->322984 (101491), 309483 ms
[16:59:32] scan: chap 5 c=4->4, b=322985->409253 (86269), 264636 ms
[16:59:32] scan: chap 6 c=5->5, b=409254->506197 (96944), 288802 ms
[16:59:32] scan: chap 7 c=6->6, b=506198->573689 (67492), 207390 ms
[16:59:32] scan: chap 8 c=7->7, b=573690->589102 (15413), 43395 ms
[16:59:32] scan: aspect = 0
[16:59:32] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[16:59:32] scan: title angle(s) 1
[16:59:32] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[16:59:32] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/8/20, aspect 4:3, PAR 16:15
[16:59:32] scan: title (0) job->width:688, job->height:528
[16:59:32] libhb: scan thread found 1 valid title(s)
[16:59:32] macgui: ScanDone state received from fQueueEncodeLibhb
[16:59:32] macgui: Preset: Custom
[16:59:32] macgui: processNewQueueEncode number of passes expected is: 1
[16:59:32] macgui: Start / Stop set to chapters
[16:59:32] macgui: prepareJob exiting
[16:59:32] 1 job(s) to process
[16:59:32] starting job
[16:59:32] sync: expecting 9294 video frames
[ac3 @ 0x10283f600] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[16:59:32] job configuration:
[16:59:32]  * source
[16:59:32]    + /Users/me/HandBrake/Source/FT_1_1
[16:59:32]    + title 1, chapter(s) 1 to 2
[16:59:32]  * destination
[16:59:32]    + /Users/me/HandBrake/Encoded/FT_1_1.mkv
[16:59:32]    + container: Matroska (.mkv)
[16:59:32]      + chapter markers
[16:59:32]  * video track
[16:59:32]    + decoder: mpeg2
[16:59:32]      + bitrate 7500 kbps
[16:59:32]    + frame rate: same as source (around 25.000 fps)
[16:59:32]    + strict anamorphic
[16:59:32]      + storage dimensions: 720 * 576 -> 686 * 570, crop 2/4/10/24, mod 16
[16:59:32]      + pixel aspect ratio: 16 / 15
[16:59:32]      + display dimensions: 731 * 570
[16:59:32]    + filter
[16:59:32]      + Decomb (default settings)
[16:59:32]    + encoder: x264
[16:59:32]      + options: b-adapt=2:rc-lookahead=50:threads=2
[16:59:32]      + quality: 17.00 (RF)
[16:59:32]  * subtitle track 1, English (id 20bd) Picture [VOBSUB] -> Pass-Through
[16:59:32]  * audio track 0
[16:59:32]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[16:59:32]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:59:32]    + mixdown: Stereo
[16:59:32]    + encoder: ca_aac
[16:59:32]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:59:32]  * audio track 1
[16:59:32]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[16:59:32]      + bitrate: 192 kbps, samplerate: 48000 Hz
[16:59:32]    + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: Unable to find map file '/Users/me/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[16:59:32] reader: first SCR 146 id 224 DTS 3567
[16:59:32] yadif thread started for segment 0
[16:59:32] yadif thread started for segment 1
[16:59:32] decomb thread started for segment 0
[16:59:32] decomb thread started for segment 1
[16:59:32] encx264: encoding with stored aspect 16/15
[16:59:32] encx264: Encoding at constant RF 17.000000
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[16:59:32] mpeg2: "Chapter  1" (1) at frame 0 time 10800
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[16:59:32] sync: first pts is 7200
[17:00:01] mpeg2: "Chapter  2" (2) at frame 546 time 1976400
[17:13:11] reader: end of chapter 2 (media 2) reached at media chapter 3
[17:13:11] reader: done. 0 scr changes
[17:13:20] work: average encoding speed for job is 11.312479 fps
[17:13:20] sync: got 9281 frames, 9294 expected
[17:13:20] mpeg2 done: 9281 frames
[17:13:20] render: lost time: 0 (0 frames)
[17:13:20] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:69    Avg QP:15.73  size: 85203  PSNR Mean Y:47.12 U:49.87 V:50.26 Avg:47.88 Global:47.65
x264 [info]: frame P:2490  Avg QP:18.51  size: 37794  PSNR Mean Y:44.00 U:47.10 V:47.66 Avg:44.84 Global:44.70
x264 [info]: frame B:6721  Avg QP:21.74  size: 12413  PSNR Mean Y:41.66 U:45.31 V:45.97 Avg:42.60 Global:42.45
x264 [info]: consecutive B-frames:  0.6%  2.1% 12.8% 84.5%
x264 [info]: mb I  I16..4:  4.5% 63.3% 32.2%
x264 [info]: mb P  I16..4:  0.7% 14.4%  4.7%  P16..4: 30.2% 30.8% 17.8%  0.0%  0.0%    skip: 1.4%
x264 [info]: mb B  I16..4:  0.1%  1.7%  0.5%  B16..8: 38.6% 12.3%  3.7%  direct:14.2%  skip:28.9%  L0:34.7% L1:40.5% BI:24.8%
x264 [info]: 8x8 transform intra:71.9% inter:58.9%
x264 [info]: coded y,uvDC,uvAC intra: 95.2% 92.7% 72.1% inter: 48.4% 50.9% 16.5%
x264 [info]: i16 v,h,dc,p: 32% 27%  5% 37%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 15% 14%  5%  7%  9%  7%  9%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 16% 10%  6% 10% 10%  9%  8%  8%
x264 [info]: i8c dc,h,v,p: 49% 18% 23%  9%
x264 [info]: Weighted P-Frames: Y:4.5% UV:1.8%
x264 [info]: ref P L0: 47.9% 18.1% 26.5%  7.3%  0.2%
x264 [info]: ref B L0: 87.5% 10.8%  1.7%
x264 [info]: ref B L1: 96.0%  4.0%
x264 [info]: SSIM Mean Y:0.9801370 (17.020db)
x264 [info]: PSNR Mean Y:42.331 U:45.824 V:46.455 Avg:43.240 Global:42.979 kb/s:3952.07
[17:13:20] mux: track 0, 9280 frames, 183412597 bytes, 3951.15 kbps, fifo 8
[17:13:20] mux: track 1, 17408 frames, 15971253 bytes, 344.06 kbps, fifo 256
[17:13:20] mux: track 2, 11605 frames, 8912640 bytes, 192.00 kbps, fifo 256
[17:13:20] mux: track 3, 153 frames, 278556 bytes, 6.00 kbps, fifo 8
[17:13:20] decomb: deinterlaced 5596 | blended 1521 | unfiltered 2163 | total 9280
[17:13:20] libhb: work result = 0
Last edited by Anonymous on Mon Jul 25, 2011 8:20 pm, edited 1 time in total.
Reason: Activity Logs should be enclosed in [code] blocks
288enzo
Posts: 21
Joined: Mon Nov 30, 2009 5:41 am

Re: subtitles are out of sync

Post by 288enzo »

Rodeo wrote:If you select MKV instead of MP4, and pass the subtitles through instead of burning them in, are they also out of sync?
I used HB and made an MKV and M4V using the same iPad default setting. The only difference is that I changed it to AC3 with 6 channel, and added the VOB subtitles. Both MKV and M4V are out of sync.
Post Reply