You are on page 1of 2

https://trac.handbrake.

fr/wiki/Subtitles

Last modified 23 months ago

Subtitles Subtitles may be stored in different formats within media or as additional files: Bitmaps (Pictures), e.g. DVD VOBSUBs Text with markup, e.g. Closed Captions and SRT files. Styled SSA, e.g. most anime subtitles in MKV files HandBrake can use subtitles tracks as INPUT from the following sources: From DVDs Either embedded VOBSUB or CC tracks. User supplied SRT files. From Files (such as mkv or mp4) - Embedded subtitle tracks. HandBrake has two methods of subtitle OUTPUT: Hard Burn: This means the subtitles are written on top of the image permanently. They cannot be turned on or off like on the DVD. Soft Subtitles: This means the subtitles will appear as separate selectable tracks in your output file. With the correct playback software, youll be able to enable / disable these subtitles as required.

Subtitle Outputs DVD and ASTC Closed Captions - When selected, these will be passed through from your source file to the MKV or MP4 output file. CC tracks cannot be burned into the video. Only 1 CC track can be read from the source. CC tracks within an MP4 appear as a subtitle track, not a CC track. SRT subtitle import You can import SRT files into HandBrake through the Subtitles tab. SRT files are pass-through only. They cannot be burnt into the video. You can import multiple SRT subtitle tracks. You can set an offset (measured in milliseconds) to change the start time that the first and subsequent SRT subtitles will appear. Use trial and error encoding a single chapter to obtain the correct offset. You should make sure the correct character code is selected from the Char Code dropdown. Selecting the wrong code, will result in your output file having no subtitle track, and can cause the player to crash when playing that track. SRT Passthru SRT Subtitles can also be passed through from input video files. DVD Bitmap Subtitles (VOBSUB) With MP4, you can burn ONLY 1 subtitle track into the video. With MP4, you can not pass-through VOBSUB tracks. With MKV, you can pass-through multiple VOBSUB tracks. These are not burned into the video unless you choose to do so however you can only burn 1 subtitle track into the file. The rest must be passed through. SSA Subtitles SSA Subtitles can be passed-thru or burned into the video. When burned into the video, all styling (e.g. fonts, colors, etc) is preserved. Animated effects (e.g. fade in/out, karaoke) are not currently supported. (Only the middle frame of the animation will be used.) When passed-thru as text, only bold/italic/underline styles are preserved. Some players may not support the simultaneous display of multiple passed-thru SSA subtitles. Setting a Default Subtitle track If you wish to have your player automatically select a subtitle track during playback, then you

1 de 2

17/09/2012 10:39

https://trac.handbrake.fr/wiki/Subtitles

can select the default checkbox for the subtitle track you wish to enable. You should note that this does not currently work with Apple software or playback devices. While this option is available for mp4 files, it does not currently serve any purpose. Default subtitle tracks will only be enabled on playback when using mkv files.

Forced Subtitles With some DVD sources, there is a subtitle track which only displays during foreign language sections of the video. On some titles this is a unique subtitle track in the same language as the main audio track, on others it uses the standard subtitle track in the same language as the main audio track except marks a subset of the subtitles as forced. In order to select this track, HandBrake can scan the source for subtitles that appear only 10% (or less) of the time in addition to scanning for the presence of any forced subtitles. To enable this functionality within the HandBrake user interface, from the Subtitles tab select the Foreign Audio Search (Bitmap) option from the Track dropdown menu and click the Forced Checkbox. If you do not get a foreign section only subtitle track in your output file, then you may have to manually find and select the correct subtitle track from the Track dropdown menu. In order to determine which subtitle track to select open the Activity Window and look for the following text:

[10:08:16] [10:08:16] [10:08:16] [10:08:16]

Subtitle stream 0x20bd 'English': 421 hits (0 forced) Subtitle stream 0x34bd 'English': 1640 hits (0 forced) Subtitle stream 0x35bd 'English': 3829 hits (0 forced) No candidate subtitle detected during subtitle-scan

In this case you can see that subtitle 0x20bd should probably be selected manually. The subtitle numbers may be obtained by looking for the output of the scan, the number will correspond with where in the drop down menu that subtitle will appear in the GUI. [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] [10:07:40] scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: scan: checking id=20bd, checking id=21bd, checking id=22bd, checking id=23bd, checking id=24bd, checking id=25bd, checking id=26bd, checking id=27bd, checking id=28bd, subtitle 1 lang=English, 3cc=eng subtitle 2 lang=Italiano, 3cc=ita subtitle 3 lang=Nederlands, 3cc=dut subtitle 4 lang=Arabic, 3cc=ara subtitle 5 lang=Bulgarian, 3cc=bul subtitle 6 lang=Hrvatski, 3cc=scr subtitle 7 lang=Dansk, 3cc=dan subtitle 8 lang=Suomi, 3cc=fin subtitle 9 lang=Greek, Modern, 3cc=gre

2 de 2

17/09/2012 10:39

You might also like