public class SubtitleConf extends AbstractModel
header, skipSign
Constructor and Description |
---|
SubtitleConf() |
SubtitleConf(SubtitleConf source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getCaptionSelectorName()
Get Name of caption selector.
|
String |
getCaptionSource()
Get Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles).
|
Long |
getContentType()
Get Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).
|
SubtitleFontConf |
getFontStyle()
Get Font style configuration.
|
String |
getName()
Get Template name.
|
String |
getSourceLanguage()
Get Original phonetic language.
|
String |
getStateEffectMode()
Get There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.
|
Long |
getSteadyStateDelayedTime()
Get Steady-state delay time, unit seconds; optional values: 10, 20, default 10.
|
String |
getTargetLanguage()
Get Target language.
|
Long |
getTargetType()
Get Output mode: 1 Burn in, 2 Embedded.
|
void |
setCaptionSelectorName(String CaptionSelectorName)
Set Name of caption selector.
|
void |
setCaptionSource(String CaptionSource)
Set Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles).
|
void |
setContentType(Long ContentType)
Set Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).
|
void |
setFontStyle(SubtitleFontConf FontStyle)
Set Font style configuration.
|
void |
setName(String Name)
Set Template name.
|
void |
setSourceLanguage(String SourceLanguage)
Set Original phonetic language.
|
void |
setStateEffectMode(String StateEffectMode)
Set There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.
|
void |
setSteadyStateDelayedTime(Long SteadyStateDelayedTime)
Set Steady-state delay time, unit seconds; optional values: 10, 20, default 10.
|
void |
setTargetLanguage(String TargetLanguage)
Set Target language.
|
void |
setTargetType(Long TargetType)
Set Output mode: 1 Burn in, 2 Embedded.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SubtitleConf()
public SubtitleConf(SubtitleConf source)
public String getName()
public void setName(String Name)
Name
- Template name.public String getCaptionSelectorName()
public void setCaptionSelectorName(String CaptionSelectorName)
CaptionSelectorName
- Name of caption selector. Required when CaptionSource selects `INPUT`.public String getCaptionSource()
public void setCaptionSource(String CaptionSource)
CaptionSource
- Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles).public Long getContentType()
public void setContentType(Long ContentType)
ContentType
- Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language). Required when CaptionSource selects `ANALYSIS `.public Long getTargetType()
public void setTargetType(Long TargetType)
TargetType
- Output mode: 1 Burn in, 2 Embedded. Support `2` when CaptionSource selects `INPUT`. Support `1` when CaptionSource selects `ANALYSIS `.public String getSourceLanguage()
public void setSourceLanguage(String SourceLanguage)
SourceLanguage
- Original phonetic language.
Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.public String getTargetLanguage()
public void setTargetLanguage(String TargetLanguage)
TargetLanguage
- Target language.
Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.public SubtitleFontConf getFontStyle()
public void setFontStyle(SubtitleFontConf FontStyle)
FontStyle
- Font style configuration. Required when CaptionSource selects `ANALYSIS `.public String getStateEffectMode()
public void setStateEffectMode(String StateEffectMode)
StateEffectMode
- There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY. Required when CaptionSource selects `ANALYSIS `.public Long getSteadyStateDelayedTime()
public void setSteadyStateDelayedTime(Long SteadyStateDelayedTime)
SteadyStateDelayedTime
- Steady-state delay time, unit seconds; optional values: 10, 20, default 10. Required when CaptionSource selects `ANALYSIS `.Copyright © 2024. All rights reserved.