getting subtitles to work

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
jkeep
Posts: 13
Joined: Mon Mar 23, 2009 7:33 pm

getting subtitles to work

Post by jkeep »

Hi,

I have converted all my precious DVD,s to MP4 format using handbrake. It has taken me about 6 weeks.

I have started to notice films like Kill Bill dont have any subtitles in them when they speak Japanease.

I want all my films to be in English without the option of subtitles but I do want to have subtitle whenever somebody speaks a different language & there should be subtitles there.

Is there an option in Handbrake to do this or should I use a different programme.

Regards,

Jeff
mkelley
Bright Spark User
Posts: 389
Joined: Fri Dec 25, 2009 2:00 am

Re: getting subtitles to work

Post by mkelley »

It's called "forced subtitles" and if there is a track that has only the forced subs you just select it and select it to be forced (In Handbrake).
CtrlAltDel
Posts: 2
Joined: Wed Oct 13, 2010 11:10 am

Re: getting subtitles to work

Post by CtrlAltDel »

I've also been trying to get forced subtitles to work in Kill Bill Volume 1 (and 2, but let's just deal with 1 first). I read that there was a bug in 0.9.4 that meant subtitles didn't work, so I downloaded the latest nightly build and tried again, still to no avail. If I open the video in VLC, Quicktime or iTunes, there are no subtitles, and VLC/Quicktime reckon there is no subtitle track either. Activity log is as follows (the original DVD was ripped via AnyDVDHD, in case you were wondering why it couldn't read the device name):

Code: Select all

[12:31:15] hb_init: checking cpu count
[12:31:15] hb_init: starting libhb thread
[12:31:15] macgui: Handbrake Version: svn3600 x86_64 (2010101301)
[12:31:15] hb_init: checking cpu count
[12:31:15] hb_init: starting libhb thread
[12:31:15] hb_init: checking cpu count
[12:31:15] hb_init: starting libhb thread
[12:31:17] macgui: hbInstances path to this instance: /Applications/HandBrake.app
[12:31:17] macgui: hbInstance found instance pidnum:21530 at path: /Applications/HandBrake.app
[12:31:17] macgui: hbInstance MATCH FOUND, our pidnum is:21530
[12:31:17] macgui: Pid for this instance:21530
[12:31:17] macgui: HBQueueController : My Pidnum is 21530
[12:31:24] macgui: trying to open video_ts folder (video_ts folder chosen)
[12:31:24] macgui: Preview: Disabling HUD Controls
[12:31:24] macgui: Minimum length of title for scan: 900000
[12:31:24] hb_scan: path=/Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS) failed (0x102896400)
[12:31:24] 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/david/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[12:31:24] scan: DVD has 7 title(s)
[12:31:24] scan: scanning title 1
[12:31:24] scan: opening IFO for VTS 1
[12:31:24] pgc_id: 1, pgn: 1: pgc: 0x116a0bb90
[12:31:24] scan: vts=1, ttn=1, cells=0->20, blocks=0->2484064, 2484065 blocks
[12:31:24] scan: duration is 01:46:11 (6371210 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: checking audio 2
[12:31:24] scan: id=89bd, lang=English (DTS), 3cc=eng ext=1
[12:31:24] scan: checking subtitle 1
[12:31:24] scan: id=20bd, lang=English, 3cc=eng
[12:31:24] scan: checking subtitle 2
[12:31:24] scan: id=21bd, lang=English, 3cc=eng
[12:31:24] scan: checking subtitle 3
[12:31:24] scan: id=22bd, lang=English, 3cc=eng
[12:31:24] scan: title 1 has 20 chapters
[12:31:24] scan: chap 1 c=0->0, b=0->58290 (58291), 141195 ms
[12:31:24] scan: chap 2 c=1->1, b=58291->83011 (24721), 152528 ms
[12:31:24] scan: chap 3 c=2->2, b=83012->201695 (118684), 271399 ms
[12:31:24] scan: chap 4 c=3->3, b=201696->357811 (156116), 361538 ms
[12:31:24] scan: chap 5 c=4->4, b=357812->444006 (86195), 215237 ms
[12:31:24] scan: chap 6 c=5->5, b=444007->554257 (110251), 306667 ms
[12:31:24] scan: chap 7 c=6->6, b=554258->726536 (172279), 409631 ms
[12:31:24] scan: chap 8 c=7->7, b=726537->801361 (74825), 209480 ms
[12:31:24] scan: chap 9 c=8->8, b=801362->1020851 (219490), 521674 ms
[12:31:24] scan: chap 10 c=9->9, b=1020852->1142868 (122017), 315517 ms
[12:31:24] scan: chap 11 c=10->10, b=1142869->1312549 (169681), 468566 ms
[12:31:24] scan: chap 12 c=11->11, b=1312550->1430599 (118050), 340395 ms
[12:31:24] scan: chap 13 c=12->13, b=1430600->1639277 (208678), 496907 ms
[12:31:24] scan: chap 14 c=14->14, b=1639278->1836676 (197399), 486586 ms
[12:31:24] scan: chap 15 c=15->15, b=1836677->2067249 (230573), 485705 ms
[12:31:24] scan: chap 16 c=16->16, b=2067250->2243490 (176241), 490550 ms
[12:31:24] scan: chap 17 c=17->17, b=2243491->2298506 (55016), 181239 ms
[12:31:24] scan: chap 18 c=18->18, b=2298507->2328348 (29842), 89468 ms
[12:31:24] scan: chap 19 c=19->19, b=2328349->2484059 (155711), 426710 ms
[12:31:24] scan: chap 20 c=20->20, b=2484060->2484064 (5), 210 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 2
[12:31:24] scan: opening IFO for VTS 2
[12:31:24] pgc_id: 1, pgn: 1: pgc: 0x116a0bd50
[12:31:24] scan: vts=2, ttn=1, cells=0->1, blocks=0->608548, 404154 blocks
[12:31:24] scan: duration is 00:22:06 (1326210 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: title 2 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=0->404148 (404149), 1326000 ms
[12:31:24] scan: chap 2 c=1->1, b=608544->608548 (5), 210 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 3
[12:31:24] scan: opening IFO for VTS 2
[12:31:24] pgc_id: 2, pgn: 1: pgc: 0x116a0c060
[12:31:24] scan: vts=2, ttn=2, cells=0->1, blocks=511287->608548, 33447 blocks
[12:31:24] scan: duration is 00:01:50 (110010 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: title 3 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=511287->544728 (33442), 109798 ms
[12:31:24] scan: chap 2 c=1->1, b=608544->608548 (5), 211 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 4
[12:31:24] scan: opening IFO for VTS 2
[12:31:24] pgc_id: 3, pgn: 1: pgc: 0x116a0c300
[12:31:24] scan: vts=2, ttn=3, cells=0->1, blocks=544729->608548, 46636 blocks
[12:31:24] scan: duration is 00:02:34 (154200 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: title 4 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=544729->591359 (46631), 153988 ms
[12:31:24] scan: chap 2 c=1->1, b=608544->608548 (5), 211 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 5
[12:31:24] scan: opening IFO for VTS 2
[12:31:24] pgc_id: 4, pgn: 1: pgc: 0x116a0c860
[12:31:24] scan: vts=2, ttn=4, cells=0->1, blocks=591360->608548, 17189 blocks
[12:31:24] scan: duration is 00:00:58 (58210 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: title 5 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=591360->608543 (17184), 58000 ms
[12:31:24] scan: chap 2 c=1->1, b=608544->608548 (5), 210 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 6
[12:31:24] scan: opening IFO for VTS 3
[12:31:24] pgc_id: 1, pgn: 1: pgc: 0x101af5d00
[12:31:24] scan: vts=3, ttn=1, cells=0->1, blocks=0->4849, 4850 blocks
[12:31:24] scan: duration is 00:00:13 (13330 ms)
[12:31:24] scan: title 6 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=0->4844 (4845), 13120 ms
[12:31:24] scan: chap 2 c=1->1, b=4845->4849 (5), 210 ms
[12:31:24] scan: aspect = 0
[12:31:24] scan: scanning title 7
[12:31:24] scan: opening IFO for VTS 4
[12:31:24] pgc_id: 1, pgn: 1: pgc: 0x101af69f0
[12:31:24] scan: vts=4, ttn=1, cells=0->1, blocks=0->107183, 107184 blocks
[12:31:24] scan: duration is 00:05:52 (352010 ms)
[12:31:24] scan: checking audio 1
[12:31:24] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:31:24] scan: checking subtitle 1
[12:31:24] scan: id=20bd, lang=English, 3cc=eng
[12:31:24] scan: title 7 has 2 chapters
[12:31:24] scan: chap 1 c=0->0, b=0->107178 (107179), 351799 ms
[12:31:24] scan: chap 2 c=1->1, b=107179->107183 (5), 210 ms
[12:31:24] scan: aspect = 0
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:25] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:25] scan: title angle(s) 1
[12:31:25] scan: audio 0x89bd: DCA, rate=48000Hz, bitrate=768000 English (DTS) (5.1 ch)
[12:31:25] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[12:31:25] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/0/0, aspect 16:9, PAR 64:45
[12:31:25] scan: decoding previews for title 2
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:25] scan: title angle(s) 1
[12:31:25] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:31:25] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/8/6, aspect 4:3, PAR 16:15
[12:31:25] scan: decoding previews for title 3
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:25] scan: title angle(s) 1
[12:31:25] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:31:26] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/88/2/2, aspect 4:3, PAR 16:15
[12:31:26] scan: decoding previews for title 4
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:26] scan: title angle(s) 1
[12:31:26] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:31:26] scan: 10 previews, 720x576, 25.000 fps, autocrop = 126/126/4/2, aspect 4:3, PAR 16:15
[12:31:26] scan: decoding previews for title 5
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:26] scan: title angle(s) 1
[12:31:26] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:31:26] scan: 10 previews, 720x576, 25.000 fps, autocrop = 80/80/2/2, aspect 4:3, PAR 16:15
[12:31:26] scan: decoding previews for title 6
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:26] scan: title angle(s) 1
[12:31:27] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/14/8, aspect 4:3, PAR 16:15
[12:31:27] scan: decoding previews for title 7
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:31:27] scan: title angle(s) 1
[12:31:27] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[12:31:27] scan: 10 previews, 720x576, 25.000 fps, autocrop = 130/128/8/6, aspect 4:3, PAR 16:15
[12:31:27] scan: title (0) job->width:720, job->height:304
[12:31:27] scan: title (1) job->width:704, job->height:544
[12:31:27] scan: title (2) job->width:720, job->height:384
[12:31:27] scan: title (3) job->width:720, job->height:304
[12:31:27] scan: title (4) job->width:720, job->height:384
[12:31:27] scan: title (5) job->width:704, job->height:544
[12:31:27] scan: title (6) job->width:704, job->height:304
[12:31:27] libhb: scan thread found 7 valid title(s)
[12:31:27] macgui: showNewScan: This is a new source item scan
[12:31:27] macgui: Preview: Enabling HUD Controls
[12:32:03] macgui: Rip: Pending queue count is 1
[12:32:03] macgui: getNextPendingQueueIndex next pending encod index is:0
[12:32:03] macgui: scanning specifically for title: 1
[12:32:03] hb_scan: path=/Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(/Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS) failed (0x10282fc00)
[12:32:03] 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/david/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Couldn't find device name.
[12:32:03] scan: DVD has 7 title(s)
[12:32:03] scan: scanning title 1
[12:32:03] scan: opening IFO for VTS 1
[12:32:03] pgc_id: 1, pgn: 1: pgc: 0x116a0ed90
[12:32:03] scan: vts=1, ttn=1, cells=0->20, blocks=0->2484064, 2484065 blocks
[12:32:03] scan: duration is 01:46:11 (6371210 ms)
[12:32:03] scan: checking audio 1
[12:32:03] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[12:32:03] scan: checking audio 2
[12:32:03] scan: id=89bd, lang=English (DTS), 3cc=eng ext=1
[12:32:03] scan: checking subtitle 1
[12:32:03] scan: id=20bd, lang=English, 3cc=eng
[12:32:03] scan: checking subtitle 2
[12:32:03] scan: id=21bd, lang=English, 3cc=eng
[12:32:03] scan: checking subtitle 3
[12:32:03] scan: id=22bd, lang=English, 3cc=eng
[12:32:03] scan: title 1 has 20 chapters
[12:32:03] scan: chap 1 c=0->0, b=0->58290 (58291), 141195 ms
[12:32:03] scan: chap 2 c=1->1, b=58291->83011 (24721), 152528 ms
[12:32:03] scan: chap 3 c=2->2, b=83012->201695 (118684), 271399 ms
[12:32:03] scan: chap 4 c=3->3, b=201696->357811 (156116), 361538 ms
[12:32:03] scan: chap 5 c=4->4, b=357812->444006 (86195), 215237 ms
[12:32:03] scan: chap 6 c=5->5, b=444007->554257 (110251), 306667 ms
[12:32:03] scan: chap 7 c=6->6, b=554258->726536 (172279), 409631 ms
[12:32:03] scan: chap 8 c=7->7, b=726537->801361 (74825), 209480 ms
[12:32:03] scan: chap 9 c=8->8, b=801362->1020851 (219490), 521674 ms
[12:32:03] scan: chap 10 c=9->9, b=1020852->1142868 (122017), 315517 ms
[12:32:03] scan: chap 11 c=10->10, b=1142869->1312549 (169681), 468566 ms
[12:32:03] scan: chap 12 c=11->11, b=1312550->1430599 (118050), 340395 ms
[12:32:03] scan: chap 13 c=12->13, b=1430600->1639277 (208678), 496907 ms
[12:32:03] scan: chap 14 c=14->14, b=1639278->1836676 (197399), 486586 ms
[12:32:03] scan: chap 15 c=15->15, b=1836677->2067249 (230573), 485705 ms
[12:32:03] scan: chap 16 c=16->16, b=2067250->2243490 (176241), 490550 ms
[12:32:03] scan: chap 17 c=17->17, b=2243491->2298506 (55016), 181239 ms
[12:32:03] scan: chap 18 c=18->18, b=2298507->2328348 (29842), 89468 ms
[12:32:03] scan: chap 19 c=19->19, b=2328349->2484059 (155711), 426710 ms
[12:32:03] scan: chap 20 c=20->20, b=2484060->2484064 (5), 210 ms
[12:32:03] scan: aspect = 0
[12:32:03] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:32:03] scan: title angle(s) 1
[12:32:03] scan: audio 0x89bd: DCA, rate=48000Hz, bitrate=768000 English (DTS) (5.1 ch)
[12:32:03] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[12:32:03] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/0/0, aspect 16:9, PAR 64:45
[12:32:03] scan: title (0) job->width:720, job->height:304
[12:32:03] libhb: scan thread found 1 valid title(s)
[12:32:03] macgui: ScanDone state received from fQueueEncodeLibhb
[12:32:03] macgui: Preset: iPhone & iPod Touch
[12:32:03] macgui: processNewQueueEncode number of passes expected is: 1
[12:32:03] macgui: Start / Stop set to chapters
[12:32:03] macgui: prepareJob exiting
[12:32:03] 1 job(s) to process
[12:32:03] starting job
[12:32:03] sync: expecting 159305 video frames
[12:32:03] job configuration:
[12:32:03]  * source
[12:32:03]    + /Volumes/My Passport/Movies/Kill Bill Volume 1 (2003)/VIDEO_TS
[12:32:03]    + title 1, chapter(s) 1 to 20
[12:32:03]  * destination
[12:32:03]    + /Users/david/Movies/Kill Bill Volume 1 (2003).iPhone.m4v
[12:32:03]    + container: MPEG-4 (.mp4 and .m4v)
[12:32:03]      + chapter markers
[12:32:03]  * video track
[12:32:03]    + decoder: mpeg2
[12:32:03]      + bitrate 9800 kbps
[12:32:03]    + frame rate: same as source (around 25.000 fps)
[12:32:03]    + dimensions: 720 * 576 -> 480 * 192, crop 74/74/0/0
[12:32:03]    + encoder: x264
[12:32:03]      + options: cabac=0:ref=2:me=umh:bframes=0:subq=6:8x8dct=0:trellis=0
[12:32:03]      + quality: 20.00 (RF)
[12:32:03]  * subtitle track 2, English (id 21bd) Picture [VOBSUB] -> Render/Burn in, Forced Only
[12:32:03]  * audio track 0
[12:32:03]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[12:32:03]      + bitrate: 448 kbps, samplerate: 48000 Hz
[12:32:03]    + mixdown: Dolby Pro Logic II
[12:32:03]    + encoder: ca_aac
[12:32:03]      + bitrate: 128 kbps, samplerate: 48000 Hz
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/david/.dvdnav/.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[12:32:03] encx264: no bframes, disabling weight-p unless told otherwise
[12:32:03] encx264: Encoding at constant RF 20.000000
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
libdvdread: Couldn't find device name.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[12:32:03] reader: first SCR 146 id 224 DTS 22254
[12:32:03] mpeg2: "Chapter  1" (1) at frame 0 time 3600
x264 [info]: profile Baseline, level 1.3
No accelerated IMDCT transform found
[12:32:35] mpeg2: "Chapter  2" (2) at frame 3526 time 12697200
[12:32:52] mpeg2: "Chapter  3" (3) at frame 7335 time 26409600
[12:34:00] mpeg2: "Chapter  4" (4) at frame 14132 time 50878800
[12:35:17] mpeg2: "Chapter  5" (5) at frame 23180 time 83451600
[12:36:07] mpeg2: "Chapter  6" (6) at frame 28555 time 102801600
[12:37:09] mpeg2: "Chapter  7" (7) at frame 36223 time 130406400
[12:38:47] mpeg2: "Chapter  8" (8) at frame 46472 time 167302800
[12:39:33] mpeg2: "Chapter  9" (9) at frame 51713 time 186170400
[12:41:38] mpeg2: "Chapter 10" (10) at frame 64760 time 233139600
[12:42:46] mpeg2: "Chapter 11" (11) at frame 72649 time 261540000
[12:44:28] mpeg2: "Chapter 12" (12) at frame 84360 time 303699600
[12:45:35] mpeg2: "Chapter 13" (13) at frame 92880 time 334371600
[12:47:51] mpeg2: "Chapter 14" (14) at frame 105289 time 379044000
[12:49:50] mpeg2: "Chapter 15" (15) at frame 117450 time 422823600
[12:52:11] mpeg2: "Chapter 16" (16) at frame 129589 time 466524000
[12:54:02] mpeg2: "Chapter 17" (17) at frame 141849 time 510660000
[12:54:37] mpeg2: "Chapter 18" (18) at frame 146375 time 526953600
[12:54:55] mpeg2: "Chapter 19" (19) at frame 148619 time 535032000
[12:56:06] reader: done. 1 scr changes
[12:56:06] mpeg2: "Chapter 20" (20) at frame 159275 time 573393600
[12:56:06] 6371.040039s: Video -> Film
[12:56:06] work: average encoding speed for job is 110.388077 fps
[12:56:06] sync: got 159276 frames, 159305 expected
[12:56:06] mpeg2 done: 159276 frames
[12:56:06] render: lost time: 0 (0 frames)
[12:56:06] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:2219  Avg QP:19.48  size: 13084  PSNR Mean Y:44.35 U:53.21 V:54.05 Avg:45.19 Global:44.17
x264 [info]: frame P:157057 Avg QP:22.10  size:  2211  PSNR Mean Y:42.86 U:52.02 V:53.95 Avg:43.80 Global:42.56
x264 [info]: mb I  I16..4: 20.8%  0.0% 79.2%
x264 [info]: mb P  I16..4:  0.7%  0.0%  2.1%  P16..4: 38.3% 15.2%  6.8%  0.0%  0.0%    skip:37.0%
x264 [info]: coded y,uvDC,uvAC intra: 73.4% 66.8% 51.5% inter: 21.2% 18.5% 4.2%
x264 [info]: i16 v,h,dc,p: 42% 23%  8% 26%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 20% 15%  7%  8%  8%  8%  7%  7%
x264 [info]: i8c dc,h,v,p: 58% 17% 17%  9%
x264 [info]: ref P L0: 74.5% 25.5%
x264 [info]: SSIM Mean Y:0.9829699 (17.688db)
x264 [info]: PSNR Mean Y:42.882 U:52.035 V:53.954 Avg:43.815 Global:42.579 kb/s:472.56
[12:56:07] mux: track 0, 159276 frames, 376280266 bytes, 472.49 kbps, fifo 16
[12:56:07] mux: track 1, 298639 frames, 105472404 bytes, 132.44 kbps, fifo 256
[12:56:07] libhb: work result = 0
[12:56:07] macgui: incrementQueueItemDone there are no more pending encodes
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: getting subtitles to work

Post by TedJ »

If your release of Kill Bill Volume 1 is like mine, then you want the third subtitle track without the forced only flag. The forced only flag is used to ensure that the foreign dialogue segments are displayed in an otherwise inactive full english subtitle track. This disc uses a separate track for this purpose.

Since you're running a nightly build, 99% of discs will be detected correctly by using foreign audio search in conjunction with forced only.
CtrlAltDel
Posts: 2
Joined: Wed Oct 13, 2010 11:10 am

Re: getting subtitles to work

Post by CtrlAltDel »

Third subtitle track without the forced flag was a winner for me - thanks, Ted3.

Apart from trying all the various combinations, what's the best way of figuring out beforehand which is the correct subtitle track to use? I've got BluRay discs of Kill Bill to rip as well, and I don't want have to spend 10 or so hours making a single video file only to find the subtitles didn't come out!
User avatar
Rodeo
HandBrake Team
Posts: 12679
Joined: Tue Mar 03, 2009 8:55 pm

Re: getting subtitles to work

Post by Rodeo »

CtrlAltDel wrote:Third subtitle track without the forced flag was a winner for me - thanks, Ted3.

Apart from trying all the various combinations, what's the best way of figuring out beforehand which is the correct subtitle track to use? I've got BluRay discs of Kill Bill to rip as well, and I don't want have to spend 10 or so hours making a single video file only to find the subtitles didn't come out!
For DVDs: Foreign Audio Search (with Forced Only checked). It will scan all subtitle tracks that match the first audio track's language, and select the first track that has forced subtitles; if no track has forced subs, it will select the first track with a duration of less than 10% of the movie duration. If neither are found, it assumes there are no forced subs and doesn't select any subtitle track. It tends to be pretty accurate and should be safe to leave on all the time.

Note: in 0.9.4, Foreign Audio Search is partially broken - it will successfully find forced subs with the 10% rule, but fails to detect subtitles with forced flags. You should use the nightly (see the announcement at the top of every subforum).

For Blu-Ray, no idea. But since HandBrake doesn't support Blu-Ray PGS subtitles, you'll have to extract them with other tools anyway.
Abulia
Posts: 47
Joined: Thu Feb 21, 2008 12:16 am

Re: getting subtitles to work

Post by Abulia »

CtrlAltDel wrote:Third subtitle track without the forced flag was a winner for me - thanks, Ted3.

Apart from trying all the various combinations, what's the best way of figuring out beforehand which is the correct subtitle track to use? I've got BluRay discs of Kill Bill to rip as well, and I don't want have to spend 10 or so hours making a single video file only to find the subtitles didn't come out!
I've spent the last several days researching Bluray and subtitles. First, read here about how Handbrake handles subtitles.

Blurays use PGS-type subtitles. They can be encoded in a .mkv file but not in an .m4v. In addition, for Handbrake to create an output would require a rendering engine to place the subtitles in the .m4v output. So if you put a .mkv with PGS into Handbrake your output will have no subs. (The devs are working on a solution, however.)

What you can do is export the PGS subtitles into .sup using mkvextract (part of mkvtoolnix). It's manual and involves using the CLI, so you've been warned. Your output from this will be a VOBSUB (SUB/IDX) bitmap of the subtitles. I use a tool called BDSup2Sub for this.

Finally you then mux your SUB/IDX subtitles back into your .mkv and then encode from Handbrake. You'll now have a bitmap available for Handbrake to burn onto your encode. Note, as per the earlier link, you cannot passthrough VOBSUB and you can only burn it. So, personally, this is really only good for "forced" subtitles (speaking Klingon in ST:VI) or entire foreign language films. You will not be able to turn off the subs.

If you want "soft" subtitles in your Bluray encode the absolutely easiest way is to ignore everything I said above and go online and find an .SRT file for your Bluray encode and add it during the encode process via Handbrake's dialog. This will give you subtitles you can turn off and on and will work on your ATV, iPad, etc. Unfortunately there's no easy way to handle .SRT files and forced subs in conjunction with soft subs.

If the whole thing sounds like a PITA, it is. My solution is for Blurays where I must have subtitles (speaking Klingon) I do the above process. For everything else I ignore subtitles; just too much work for functionality I'll likely never use/need.

Hope most of this is correct. I've an awesome headache right now...mostly from working on subtitles for the past few days. :)
User avatar
Rodeo
HandBrake Team
Posts: 12679
Joined: Tue Mar 03, 2009 8:55 pm

Re: getting subtitles to work

Post by Rodeo »

Abulia wrote:Finally you then mux your SUB/IDX subtitles back into your .mkv and then encode from Handbrake. You'll now have a bitmap available for Handbrake to burn onto your encode. Note, as per the earlier link, you cannot passthrough VOBSUB and you can only burn it. So, personally, this is really only good for "forced" subtitles (speaking Klingon in ST:VI) or entire foreign language films. You will not be able to turn off the subs.
The nightlies can pass VOBSUB subtitles through to MP4 as well (it just defaults to Burned In, but you can uncheck it).
0.9.4 can't do that, but neither can it see VOBSUB subtitles in MKV files so it's irrelevant in this scenario.

That being said, very few devices support VOBSUB in MP4 so you're better off burning them in.
Abulia
Posts: 47
Joined: Thu Feb 21, 2008 12:16 am

Re: getting subtitles to work

Post by Abulia »

Rodeo wrote: That being said, very few devices support VOBSUB in MP4 so you're better off burning them in.
Humm. Good to know. Offhand do you know if the ATV2 and iPad do?
User avatar
Rodeo
HandBrake Team
Posts: 12679
Joined: Tue Mar 03, 2009 8:55 pm

Re: getting subtitles to work

Post by Rodeo »

Abulia wrote:
Rodeo wrote: That being said, very few devices support VOBSUB in MP4 so you're better off burning them in.
Humm. Good to know. Offhand do you know if the ATV2 and iPad do?
They don't. VLC and MPlayer do. TBH, I don't know of any actual device that supports it, though I guess some "Nero Digital" compliant devices might.
Post Reply