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:
  • Field Details

    • 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:
    • 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:
    • THEORA

      public static final String THEORA
      The Theora compression format, developed by the Xiph.Org Foundation.
      See Also:
    • 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:
    • VP8

      public static final String VP8
      The VP8 compression format, developed by On2 Technologies and later acquired by Google.
      See Also:
    • VP9

      public static final String VP9
      The VP9 compression format, developed by Google as a successor to VP8.
      See Also:
  • Method Details

    • 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.