Class CommonVideoFormat
java.lang.Object
de.xima.fc.prompt.service.support.CommonVideoFormat
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Advanced Video Coding compression format, commonly also known as H.264, MPEG-4 AVC or "x264".static final StringThe High Efficiency Video Coding compression format, commonly also known as H.265, MPEG-H Part 2, or "x265".static final StringThe Theora compression format, developed by the Xiph.Org Foundation.static final StringThe Versatile Video Coding compression format, commonly also known as H.266, ISO/IEC 23090-3 or MPEG-I Part 3.static final StringThe VP8 compression format, developed by On2 Technologies and later acquired by Google.static final StringThe VP9 compression format, developed by Google as a successor to VP8. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
ADVANCED_VIDEO_CODING
The Advanced Video Coding compression format, commonly also known as H.264, MPEG-4 AVC or "x264".- See Also:
-
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:
-
THEORA
The Theora compression format, developed by the Xiph.Org Foundation.- See Also:
-
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:
-
VP8
The VP8 compression format, developed by On2 Technologies and later acquired by Google.- See Also:
-
VP9
The VP9 compression format, developed by Google as a successor to VP8.- See Also:
-
-
Method Details
-
localizedDescription
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
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.
-