Class CommonVideoFormat
- java.lang.Object
-
- de.xima.fc.prompt.service.support.CommonVideoFormat
-
public final class CommonVideoFormat extends Object
Enumeration for common types of audio formats. Certain task types such as speech synthesis produce audio files. Some prompt services allow the user to select the format of that audio file. Implementations are encouraged to use these constants to increase interoperability between different prompt service implementations, but are not required to do so.- Since:
- 8.5.0
- See Also:
IPromptQueryConfig_VideoFormat
-
-
Field Summary
Fields Modifier and Type Field Description static StringADVANCED_VIDEO_CODINGThe Advanced Video Coding compression format, commonly also known as H.264, MPEG-4 AVC or "x264".static StringHIGH_EFFICIENCY_VIDEO_CODINGThe High Efficiency Video Coding compression format, commonly also known as H.265, MPEG-H Part 2, or "x265".static StringTHEORAThe Theora compression format, developed by the Xiph.Org Foundation.static StringVERSATILE_VIDEO_CODINGThe Versatile Video Coding compression format, commonly also known as H.266, ISO/IEC 23090-3 or MPEG-I Part 3.static StringVP8The VP8 compression format, developed by On2 Technologies and later acquired by Google.static StringVP9The VP9 compression format, developed by Google as a successor to VP8.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringlocalizedDescription(Locale locale, String commonVideoFormat)Gets the localized description for the given common video format.static StringlocalizedLabel(Locale locale, String commonVideoFormat)Gets the localized label for the given common video format.
-
-
-
Field Detail
-
ADVANCED_VIDEO_CODING
public static final String ADVANCED_VIDEO_CODING
The Advanced Video Coding compression format, commonly also known as H.264, MPEG-4 AVC or "x264".- See Also:
- Constant Field Values
-
HIGH_EFFICIENCY_VIDEO_CODING
public static final String HIGH_EFFICIENCY_VIDEO_CODING
The High Efficiency Video Coding compression format, commonly also known as H.265, MPEG-H Part 2, or "x265".- See Also:
- Constant Field Values
-
THEORA
public static final String THEORA
The Theora compression format, developed by the Xiph.Org Foundation.- See Also:
- Constant Field Values
-
VERSATILE_VIDEO_CODING
public static final String VERSATILE_VIDEO_CODING
The Versatile Video Coding compression format, commonly also known as H.266, ISO/IEC 23090-3 or MPEG-I Part 3.- See Also:
- Constant Field Values
-
VP8
public static final String VP8
The VP8 compression format, developed by On2 Technologies and later acquired by Google.- See Also:
- Constant Field Values
-
VP9
public static final String VP9
The VP9 compression format, developed by Google as a successor to VP8.- See Also:
- Constant Field Values
-
-
Method Detail
-
localizedDescription
public static String localizedDescription(Locale locale, String commonVideoFormat)
Gets the localized description for the given common video format. The value should be one of the constants defined in this class. When an unknown value is given, returns an implementation-defined default description.- Parameters:
locale- The locale for which to localize the description.commonVideoFormat- The common video format constant, must be one of the constants defined in this class.- Returns:
- The localized description for the given common video format.
-
localizedLabel
public static String localizedLabel(Locale locale, String commonVideoFormat)
Gets the localized label for the given common video format. The value should be one of the constants defined in this class. If any other value is given, returns an implementation-defined default label.- Parameters:
locale- The locale for which to localize the label.commonVideoFormat- The common video format constant, must be one of the constants defined in this class.- Returns:
- The localized label for the given common video format.
-
-