Burn forced subtitles from DVD

Discussion of the HandBrake command line interface (CLI)
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
mazungu
Posts: 1
Joined: Tue Nov 29, 2016 12:55 am

Burn forced subtitles from DVD

Post by mazungu »

Please detail your question or problem in as much detail as possible:
When ripping a dvd which has subtitles for part of the movie when its in a different language these do not get burned into the output file. I believe I am setting the flags correctly but I may have something mixed up.

Tell us about your environment. What version of HandBrake? What operating system are you running. etc.
Running on Ubuntu 16.04 using the official apt cli package:

Code: Select all

HandBrake 0.10.2 (2016021200) - Linux x86_64 - https://handbrake.fr
Your version of HandBrake is up to date.
I run this command to initiate handbrake:

Code: Select all

HandBrakeCLI -i <input> -o <output>.mkv -e x264 --quality 19 --ab 192 --subtitle 1 --subtitle-burn 1 --subtitle-forced 1 --main-feature
If there was any exception or error displayed, please copy it and paste it here:
There is no error and it looks to have the proper settings when starting the rip:

Code: Select all

[07:32:43]  * subtitle track 1, English (Closed Caption) (track 1, id 0x20bd) Picture [VOBSUB] -> Render/Burn-in, Forced Only
I also see force captions listed in the scan:

Code: Select all

[07:32:29] scan: checking audio 1
[07:32:29] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1
[07:32:29] scan: checking audio 2
[07:32:29] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=2
[07:32:29] scan: checking audio 3
[07:32:29] scan: id=0x82bd, lang=Francais (AC3), 3cc=fra ext=1
[07:32:29] scan: checking audio 4
[07:32:29] scan: id=0x83bd, lang=Espanol (AC3), 3cc=spa ext=1
[07:32:29] scan: checking subtitle 1
[07:32:29] scan: id=0x20bd, lang=English (Closed Caption), 3cc=eng ext=5
[07:32:29] scan: checking subtitle 2
[07:32:29] scan: id=0x21bd, lang=Francais, 3cc=fra ext=1
[07:32:29] scan: checking subtitle 3
[07:32:29] scan: id=0x22bd, lang=Espanol, 3cc=spa ext=1
[07:32:29] scan: checking subtitle 4
[07:32:29] scan: id=0x23bd, lang=English (Forced Caption), 3cc=eng ext=9
[07:32:29] scan: checking subtitle 5
[07:32:29] scan: id=0x24bd, lang=Francais (Forced Caption), 3cc=fra ext=9
[07:32:29] scan: checking subtitle 6
[07:32:29] scan: id=0x25bd, lang=Espanol (Forced Caption), 3cc=spa ext=9
I assume I should of used subtile 4? With force burn? Is there a way to just scan for "English Forced Caption" and use that?

Full scan:
http://pastebin.com/RqvHgmgt

Thanks for any tips and info!
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Burn forced subtitles from DVD

Post by rollin_eng »

You need to get the latest version or nightly from here:

https://handbrake.fr/downloads.php
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Burn forced subtitles from DVD

Post by Woodstock »

If you're burning in subtitles, your choice is "almost certainly" going to be "--subtitle-burn 1", because you're only including one subtitle stream.

You are probably not going to use "--subtitle-forced 1" at all, except in rare instances - "flagged as forced" subtitles are rather rare on DVDs, with a separate track being used instead, as in your example. If nothing is flagged as forced, you will get NO subtitles in the output. I actually use this trick to create a "fake" subtitle track when a DVD only has one, so that the empty fake stream becomes the "default"... but that is when I am NOT burning the subtitles in.

You then just need to pick the appropriate stream number "n" for "--subtitle n". I usually play the raw video in VLC to find out which track is correct.
Post Reply