Problem with "weird" subtitles

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
flightsuit

Problem with "weird" subtitles

Post by flightsuit »

Hello,

I'm trying to copy a movie, with subtitles, from a DVD that seems to handle subtitles in a non-standard sort of a way. The DVD in question is "Gappa: The Triphibian Monsters," and it contains two separate versions of the film, one in Japanese with English subtitles, and one with dubbed English dialogue and no subs. Unlike most DVDs, where you're watching the same video regardless, and you're just selecting one language track or the other, and/or turning subs on or off, this DVD actually has two completely separate copies of the film, owing to the fact that the English version was edited differently and is slightly shorter.

My problem is that with the Japanese version, which is the one I'm trying to rip, the subtitles appear in the black stripe underneath the letter-boxed picture, as opposed to being superimposed over the picture itself. Handbrake just encodes the picture, obviously not including the black, letter-boxing areas, and the subtitles are therefore not present in Handbrake's output.

I've attempted this with "Autoselect" selected under Handbrake's "subtitles" menu and with "none" selected, and gotten the same results.

So my question is, how can I get the subs to be included with my rip and show up properly in the outputted file?

Here is the activity log:

Code: Select all

[00:06:48] macgui: Handbrake Version: 0.9.3 (2008112300)
[00:06:48] hb_init: checking cpu count
[00:06:49] hb_init: starting libhb thread
[00:06:49] hb_init: checking cpu count
[00:06:49] hb_init: starting libhb thread
[00:07:01] macgui: trying to open video_ts folder (parent directory chosen)
[00:07:01] macgui: trying to open a physical dvd at: /Volumes/DVDVolume
[00:07:01] macgui: VLC app found for decrypting physical dvd
[00:07:01] hb_scan: path=/dev/disk1, title_index=0
[00:07:01] scan: trying to open with libdvdread
[00:07:02] scan: DVD has 5 title(s)
[00:07:02] scan: scanning title 1
[00:07:02] scan: opening IFO for VTS 1
[00:07:02] pgc_id: 1, pgn: 1: pgc: 0xfbaec0
[00:07:02] scan: vts=1, ttn=1, cells=0->8, blocks=0->1938427, 1938428 blocks
[00:07:02] scan: duration is 01:23:47 (5027253 ms)
[00:07:02] scan: checking audio 1
[00:07:02] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[00:07:02] scan: checking subtitle 1
[00:07:02] scan: id=20bd, lang=Unknown, 3cc=und
[00:07:02] scan: title 1 has 9 chapters
[00:07:02] scan: chap 1 c=0->0, b=0->232173 (232174), 602549 ms
[00:07:02] scan: chap 2 c=1->1, b=232174->465744 (233571), 605503 ms
[00:07:02] scan: chap 3 c=2->2, b=465745->696239 (230495), 597499 ms
[00:07:02] scan: chap 4 c=3->3, b=696240->969551 (273312), 708563 ms
[00:07:02] scan: chap 5 c=4->4, b=969552->1157427 (187876), 487582 ms
[00:07:02] scan: chap 6 c=5->5, b=1157428->1389394 (231967), 601601 ms
[00:07:02] scan: chap 7 c=6->6, b=1389395->1635131 (245737), 637445 ms
[00:07:02] scan: chap 8 c=7->7, b=1635132->1849889 (214758), 557322 ms
[00:07:02] scan: chap 9 c=8->8, b=1849890->1938427 (88538), 229185 ms
[00:07:02] scan: aspect = 0
[00:07:02] scan: scanning title 2
[00:07:02] scan: opening IFO for VTS 1
[00:07:02] pgc_id: 2, pgn: 1: pgc: 0x156a8f60
[00:07:02] scan: vts=1, ttn=2, cells=0->9, blocks=1938428->3870674, 1932247 blocks
[00:07:02] scan: duration is 01:23:31 (5011176 ms)
[00:07:02] scan: checking audio 1
[00:07:02] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[00:07:02] scan: checking subtitle 1
[00:07:02] scan: id=20bd, lang=Unknown, 3cc=und
[00:07:02] scan: title 2 has 9 chapters
[00:07:02] scan: chap 1 c=0->1, b=1938428->2170560 (232133), 601663 ms
[00:07:02] scan: chap 2 c=2->2, b=2170561->2404166 (233606), 605565 ms
[00:07:02] scan: chap 3 c=3->3, b=2404167->2634756 (230590), 598309 ms
[00:07:02] scan: chap 4 c=4->4, b=2634757->2911851 (277095), 718547 ms
[00:07:02] scan: chap 5 c=5->5, b=2911852->3096015 (184164), 477299 ms
[00:07:02] scan: chap 6 c=6->6, b=3096016->3327850 (231835), 601586 ms
[00:07:02] scan: chap 7 c=7->7, b=3327851->3573679 (245829), 637605 ms
[00:07:02] scan: chap 8 c=8->8, b=3573680->3788484 (214805), 557387 ms
[00:07:02] scan: chap 9 c=9->9, b=3788485->3870674 (82190), 213210 ms
[00:07:02] scan: aspect = 0
[00:07:02] scan: scanning title 3
[00:07:02] scan: opening IFO for VTS 1
[00:07:02] pgc_id: 3, pgn: 1: pgc: 0x156adda0
[00:07:02] scan: vts=1, ttn=3, cells=0->0, blocks=3870675->3902807, 32133 blocks
[00:07:02] scan: duration is 00:01:23 (83076 ms)
[00:07:02] scan: checking audio 1
[00:07:02] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[00:07:02] scan: checking subtitle 1
[00:07:02] scan: id=20bd, lang=Unknown, 3cc=und
[00:07:02] scan: title 3 has 1 chapters
[00:07:02] scan: chap 1 c=0->0, b=3870675->3902807 (32133), 83076 ms
[00:07:02] scan: aspect = 0
[00:07:02] scan: scanning title 4
[00:07:02] scan: opening IFO for VTS 1
[00:07:02] pgc_id: 4, pgn: 1: pgc: 0x1569af70
[00:07:02] scan: vts=1, ttn=4, cells=0->3, blocks=3902808->3903237, 430 blocks
[00:07:02] scan: duration is 00:00:01 (1276 ms)
[00:07:02] scan: ignoring title (too short)
[00:07:02] scan: scanning title 5
[00:07:02] scan: opening IFO for VTS 1
[00:07:02] pgc_id: 5, pgn: 1: pgc: 0x156a9510
[00:07:02] scan: vts=1, ttn=5, cells=0->0, blocks=3903238->3903594, 357 blocks
[00:07:02] scan: duration is 00:00:23 (23100 ms)
[00:07:02] scan: checking audio 1
[00:07:02] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[00:07:02] scan: checking subtitle 1
[00:07:02] scan: id=20bd, lang=Unknown, 3cc=und
[00:07:02] scan: title 5 has 1 chapters
[00:07:02] scan: chap 1 c=0->0, b=3903238->3903594 (357), 23100 ms
[00:07:02] scan: aspect = 0
[00:07:02] scan: decoding previews for title 1
[00:07:02] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[00:07:04] scan: 10 previews, 720x480, 29.970 fps, autocrop = 100/100/10/10, aspect 4:3, PAR 8:9
[00:07:04] scan: decoding previews for title 2
[00:07:05] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[00:07:07] scan: 10 previews, 720x480, 29.970 fps, autocrop = 98/100/8/6, aspect 4:3, PAR 8:9
[00:07:07] scan: decoding previews for title 3
[00:07:08] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[00:07:10] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/6/4, aspect 4:3, PAR 8:9
[00:07:10] scan: decoding previews for title 5
[00:07:10] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[00:07:10] Warning: Could not read data for preview 1, skipped
[00:07:10] Warning: Could not read data for preview 2, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903338
[00:07:10] Warning: Could not read data for preview 3, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903372
[00:07:10] Warning: Could not read data for preview 4, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903407
[00:07:10] Warning: Could not read data for preview 5, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903440
[00:07:10] Warning: Could not read data for preview 6, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903474
[00:07:10] Warning: Could not read data for preview 7, skipped
[00:07:10] dvd: null prev_vobu in cell 0 at block 3903497
[00:07:10] Warning: Could not read data for preview 8, skipped
[00:07:11] dvd: null prev_vobu in cell 0 at block 3903531
[00:07:11] Warning: Could not read data for preview 9, skipped
[00:07:11] dvd: null prev_vobu in cell 0 at block 3903565
[00:07:11] Warning: Could not read data for preview 10, skipped
[00:07:11] scan: title (0) job->width:640, job->height:288
[00:07:11] scan: title (1) job->width:640, job->height:288
[00:07:11] scan: title (2) job->width:624, job->height:480
[00:07:11] libhb: scan thread found 3 valid title(s)
[00:07:11] macgui: ScanDone state received from fHandle
[00:10:09] macgui: Rip: Pending queue count is 0
[00:10:09] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[00:10:09] macgui: Rip: Going right to performNewQueueScan
[00:10:09] macgui: scanning specifically for title: 1
[00:10:09] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[00:10:09] hb_scan: path=/dev/disk1, title_index=1
[00:10:09] scan: trying to open with libdvdread
[00:10:11] scan: DVD has 5 title(s)
[00:10:11] scan: scanning title 1
[00:10:11] scan: opening IFO for VTS 1
[00:10:11] pgc_id: 1, pgn: 1: pgc: 0xfb5cb0
[00:10:11] scan: vts=1, ttn=1, cells=0->8, blocks=0->1938427, 1938428 blocks
[00:10:11] scan: duration is 01:23:47 (5027253 ms)
[00:10:11] scan: checking audio 1
[00:10:11] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[00:10:11] scan: checking subtitle 1
[00:10:11] scan: id=20bd, lang=Unknown, 3cc=und
[00:10:11] scan: title 1 has 9 chapters
[00:10:11] scan: chap 1 c=0->0, b=0->232173 (232174), 602549 ms
[00:10:11] scan: chap 2 c=1->1, b=232174->465744 (233571), 605503 ms
[00:10:11] scan: chap 3 c=2->2, b=465745->696239 (230495), 597499 ms
[00:10:11] scan: chap 4 c=3->3, b=696240->969551 (273312), 708563 ms
[00:10:11] scan: chap 5 c=4->4, b=969552->1157427 (187876), 487582 ms
[00:10:11] scan: chap 6 c=5->5, b=1157428->1389394 (231967), 601601 ms
[00:10:11] scan: chap 7 c=6->6, b=1389395->1635131 (245737), 637445 ms
[00:10:11] scan: chap 8 c=7->7, b=1635132->1849889 (214758), 557322 ms
[00:10:11] scan: chap 9 c=8->8, b=1849890->1938427 (88538), 229185 ms
[00:10:11] scan: aspect = 0
[00:10:11] scan: decoding previews for title 1
[00:10:12] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[00:10:14] scan: 10 previews, 720x480, 29.970 fps, autocrop = 100/100/10/10, aspect 4:3, PAR 8:9
[00:10:14] scan: title (0) job->width:640, job->height:288
[00:10:14] libhb: scan thread found 1 valid title(s)
[00:10:14] macgui: ScanDone state received from fQueueEncodeLibhb
[00:10:14] macgui: processNewQueueEncode title list is: 1
[00:10:14] macgui: Preset: Classic
[00:10:14] macgui: processNewQueueEncode number of passes expected is: 1
[00:10:14] macgui: prepareJob exiting
[00:10:14] 2 job(s) to process
[00:10:14] starting job
[00:10:14] job configuration:
[00:10:14]  * source
[00:10:14]    + /dev/disk1
[00:10:14]    + title 1, chapter(s) 1 to 1
[00:10:14]  * destination
[00:10:14]    + /Users/brendanpbartholomew/Desktop/DVDVolume.mp4
[00:10:14]    + container: MPEG-4 (.mp4 and .m4v)
[00:10:14]  * video track
[00:10:14]    + decoder: mpeg2
[00:10:14]      + bitrate 6000 kbps
[00:10:14]    + frame rate: same as source (around 29.970 fps)
[00:10:14]    + dimensions: 720 * 480 -> 704 * 320, crop 100/100/10/10
[00:10:14]  * subtitle track 0, Unknown (id 20bd)
[00:10:14] sync: expecting 18088 video frames
[00:10:15] reader: first SCR 1302
[00:12:43] reader: end of chapter 1 (media 1) reached at media chapter 2
[00:12:43] reader: done. 0 scr changes
[00:12:43] sync: got 0 frames, 18088 expected
[00:12:43] work: average encoding speed for job is 0.000000 fps
[00:12:43] mpeg2 done: 0 frames
[00:12:43] render: lost time: 0 (0 frames)
[00:12:43] render: gained time: 0 (0 frames) (0 not accounted for)
[00:12:43] Subtitle stream 0x20bd 'Unknown': 0 hits (0 forced)
[00:12:43] starting job
[00:12:43] job configuration:
[00:12:43]  * source
[00:12:43]    + /dev/disk1
[00:12:43]    + title 1, chapter(s) 1 to 1
[00:12:43]  * destination
[00:12:43]    + /Users/brendanpbartholomew/Desktop/DVDVolume.mp4
[00:12:43]    + container: MPEG-4 (.mp4 and .m4v)
[00:12:43]  * video track
[00:12:43]    + decoder: mpeg2
[00:12:43]      + bitrate 6000 kbps
[00:12:43]    + frame rate: same as source (around 29.970 fps)
[00:12:43]    + dimensions: 720 * 480 -> 704 * 320, crop 100/100/10/10
[00:12:43]    + encoder: FFmpeg
[00:12:43]      + bitrate: 1000 kbps, pass: 0
[00:12:43]  * audio track 0
[00:12:43]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 80bd)
[00:12:43]      + bitrate: 192 kbps, samplerate: 48000 Hz
[00:12:43]    + mixdown: Stereo
[00:12:43]    + encoder: faac
[00:12:43]      + bitrate: 160 kbps, samplerate: 48000 Hz
No accelerated IMDCT transform found
[00:12:44] reader: first SCR 1302
[00:12:44] mpeg2: "" (1) at frame 0 time 9009
[00:12:44] sync: expecting 18088 video frames
[00:12:44] sync: first pts is 9009
[00:15:40] reader: end of chapter 1 (media 1) reached at media chapter 2
[00:15:40] reader: done. 0 scr changes
[00:15:41] sync: got 18061 frames, 18088 expected
[00:15:41] work: average encoding speed for job is 102.595490 fps
[00:15:44] mpeg2 done: 18062 frames
[00:15:44] render: lost time: 0 (0 frames)
[00:15:44] render: gained time: 0 (0 frames) (0 not accounted for)
[00:15:44] libhb: work result = 0
[00:15:48] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[00:15:48] macgui: incrementQueueItemDone the 0 item queue is complete
I doubt that it's relevant, but just in case it matters, here's what the file structure looks like on that DVD:

Image

I'm using OS X version 10.5.6 on an Intel Mac, and Handbrake version 0.9.3

Thanks so much!
Last edited by TedJ on Sun May 10, 2009 11:24 pm, edited 1 time in total.
Reason: Activity logs should be enclosed in [code] blocks.
User avatar
Rodeo
HandBrake Team
Posts: 12572
Joined: Tue Mar 03, 2009 8:55 pm

Re: Problem with "weird" subtitles

Post by Rodeo »

What options do you get in the subtitle drop-down, other than None and Autoselect? Judging by your log, there seems to be a subtitle track in your source.

If the subtitles are burned in the Japanese version of the movie, they only way to get them will be to adjust cropping as to not remove the letterboxing…
nathug
Bright Spark User
Posts: 204
Joined: Fri Apr 11, 2008 10:21 pm

Re: Problem with "weird" subtitles

Post by nathug »

Sounds to me like you need to disable auto crop in the picture settings, and set all factors to zero.

If the subtitles are in the orginal picture but under the image, you will loose them with auto crop on.

Nate
flightsuit

Re: Problem with "weird" subtitles

Post by flightsuit »

Alright! Nate, your answer was right on the money, and my problem's solved. Rodeo, in answer to your question, the options in the subtitles drop-down menu were "None," "autoselect," and "unknown." I just left it on "autoselect," with the image cropping values all set to zero, and everything worked fine, with the subs showing up where they're supposed to be. Thank you both for your speedy responses!
User avatar
Rodeo
HandBrake Team
Posts: 12572
Joined: Tue Mar 03, 2009 8:55 pm

Re: Problem with "weird" subtitles

Post by Rodeo »

Well, at least there is a subtitle track in your file - not sure whether it is English or not.

What happens if you try encoding a test chapter, with cropping set to remove letterboxing, and the subtitle set to Unknown?
Post Reply