Skip to main content

Dvb_options

NameTypeDescription
sd_in_hdbooleanPositions SD subtitles correctly in an HD frame.
use_df_timecodebooleanUses drop-frame timecode timing for the subtitles.
page_idintegerSpecifies the page_id for the subtitle.
dvb_subtitling_typeintegerSpecifies the type of DVB subtitling.
dvb_skip_ddsbooleanSkips a Display Definition Segment.
video_start_timecodestringThe start timecode for the subtitle.
color_depth_bitsintegerThe bit depth for the subtitle.
use_region_fill_flagbooleanFlag setting whether to fill the defined region. The fill is completed before any text is rendered.
use_full_width_regionsbooleanFlag setting whether the region should encompass the entire width of the screen. No two regions can be presented horizontally next to each other.
use_full_width_objectsbooleanFlag setting whether objects should encompass the entire width of the screen.
non_empty_pcs_on_hidebooleanFlag to send non-empty Page Composition Segment on subtitle hide command.
send_empty_bitmap_on_hidebooleanFlag to send empty bitmap on hide command.
use_transparent_color_0booleanFlag to set color0 to be transparent.
width_overideintegerOverride the width of the subtitle with this value.
height_overideintegerOverride the height of the subtitle with this value.
dar_overidenumberOverride the Display Aspect Ratio of the subtitle with this value.
font_heightintegerThe height in pixels for the subtitle font.
outline_sizeintegerThe thickness of the outline to use around the subtitle font.
boldbooleanFlag to set the font to bold.

Example dvb_options

{
"uid": "transcode_task",
"kind": "transcode",
"payload": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_folder"
},
"targets": [
{
"file_pattern": "{source_basename}_converted{default_extension}",
"existing_files": "replace",
"container": {
"kind": "mp4"
},
"video": {
"width": 1280,
"height": 720,
"codec": "h264"
},
"audio": [
{
"codec": "aac",
"channels": 2,
"sample_rate": 48000,
"sample_size": 16,
"bitrate_kb": 96
}
],
"subtitle": [
{
"source_map": "use_if_exists",
"format": "dvbsub",
"language": "en",
"dvb_options": {
"page_id": 3,
"use_full_width_regions": true,
"video_start_timecode": "01:00:00:00",
"width_overide": 1280,
"height_overide": 720
}
}
]
}
]
}
}