Enum StreamType

java.lang.Object
java.lang.Enum<StreamType>
com.github.kokorin.jaffree.StreamType
All Implemented Interfaces:
Serializable, Comparable<StreamType>, java.lang.constant.Constable

public enum StreamType extends Enum<StreamType>
Represents media types known by ffmpeg/ffprobe.
  • Enum Constant Details

    • VIDEO

      public static final StreamType VIDEO
      Matches all video streams.
    • VIDEO_NOT_PICTURE

      public static final StreamType VIDEO_NOT_PICTURE
      Only matches video streams which are not attached pictures.
    • AUDIO

      public static final StreamType AUDIO
    • SUBTITLE

      public static final StreamType SUBTITLE
    • DATA

      public static final StreamType DATA
    • ATTACHMENT

      public static final StreamType ATTACHMENT
  • Method Details

    • values

      public static StreamType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StreamType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • code

      public String code()
      Returns:
      stream type code