Dvb_options
Name | Type | Description |
---|---|---|
sd_in_hd | boolean | Positions SD subtitles correctly in an HD frame. |
use_df_timecode | boolean | Uses drop-frame timecode timing for the subtitles. |
page_id | integer | Specifies the page_id for the subtitle. |
dvb_subtitling_type | integer | Specifies the type of DVB subtitling. |
dvb_skip_dds | boolean | Skips a Display Definition Segment. |
video_start_timecode | string | The start timecode for the subtitle. |
color_depth_bits | integer | The bit depth for the subtitle. |
use_region_fill_flag | boolean | Flag setting whether to fill the defined region. The fill is completed before any text is rendered. |
use_full_width_regions | boolean | Flag 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_objects | boolean | Flag setting whether objects should encompass the entire width of the screen. |
non_empty_pcs_on_hide | boolean | Flag to send non-empty Page Composition Segment on subtitle hide command. |
send_empty_bitmap_on_hide | boolean | Flag to send empty bitmap on hide command. |
use_transparent_color_0 | boolean | Flag to set color0 to be transparent. |
width_overide | integer | Override the width of the subtitle with this value. |
height_overide | integer | Override the height of the subtitle with this value. |
dar_overide | number | Override the Display Aspect Ratio of the subtitle with this value. |
font_height | integer | The height in pixels for the subtitle font. |
outline_size | integer | The thickness of the outline to use around the subtitle font. |
bold | boolean | Flag 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
}
}
]
}
]
}
}