Package adams.flow.transformer
Enum MovieInfo.InfoType
- java.lang.Object
-
- java.lang.Enum<MovieInfo.InfoType>
-
- adams.flow.transformer.MovieInfo.InfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<MovieInfo.InfoType>
- Enclosing class:
- MovieInfo
public static enum MovieInfo.InfoType extends Enum<MovieInfo.InfoType>
The type of information to extract.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO_CHANNELS
the number of audio channels (per audio stream).AUDIO_FORMAT
the audio format (per audio stream).AUDIO_SAMPLE_RATE
the audio sample rate (per audio stream).BITRATE
the bitrate.CODEC_ID
the codec ID (per stream).CODEC_TYPE
the codec type (per stream).CODER_TIME_BASE
the coder time base (per stream).LANGUAGE
the language (per stream).MOVIE_DURATION
the movie duration.MOVIE_START_TIME
the movie start time.NUM_STREAMS
the number of streams.STREAM_DURATION
the stream duration.STREAM_START_TIME
the stream start time.STREAM_TIME_BASE
the stream time base (per stream).VIDEO_FORMAT
the format of the movie (per video stream).VIDEO_FRAME_RATE
the frame rate of the movie (per video stream).VIDEO_HEIGHT
the height of the movie (per video stream).VIDEO_WIDTH
the width of the movie (per video stream).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MovieInfo.InfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MovieInfo.InfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOVIE_DURATION
public static final MovieInfo.InfoType MOVIE_DURATION
the movie duration.
-
MOVIE_START_TIME
public static final MovieInfo.InfoType MOVIE_START_TIME
the movie start time.
-
BITRATE
public static final MovieInfo.InfoType BITRATE
the bitrate.
-
NUM_STREAMS
public static final MovieInfo.InfoType NUM_STREAMS
the number of streams.
-
STREAM_DURATION
public static final MovieInfo.InfoType STREAM_DURATION
the stream duration.
-
STREAM_START_TIME
public static final MovieInfo.InfoType STREAM_START_TIME
the stream start time.
-
CODEC_TYPE
public static final MovieInfo.InfoType CODEC_TYPE
the codec type (per stream).
-
CODEC_ID
public static final MovieInfo.InfoType CODEC_ID
the codec ID (per stream).
-
LANGUAGE
public static final MovieInfo.InfoType LANGUAGE
the language (per stream).
-
STREAM_TIME_BASE
public static final MovieInfo.InfoType STREAM_TIME_BASE
the stream time base (per stream).
-
CODER_TIME_BASE
public static final MovieInfo.InfoType CODER_TIME_BASE
the coder time base (per stream).
-
AUDIO_SAMPLE_RATE
public static final MovieInfo.InfoType AUDIO_SAMPLE_RATE
the audio sample rate (per audio stream).
-
AUDIO_CHANNELS
public static final MovieInfo.InfoType AUDIO_CHANNELS
the number of audio channels (per audio stream).
-
AUDIO_FORMAT
public static final MovieInfo.InfoType AUDIO_FORMAT
the audio format (per audio stream).
-
VIDEO_WIDTH
public static final MovieInfo.InfoType VIDEO_WIDTH
the width of the movie (per video stream).
-
VIDEO_HEIGHT
public static final MovieInfo.InfoType VIDEO_HEIGHT
the height of the movie (per video stream).
-
VIDEO_FORMAT
public static final MovieInfo.InfoType VIDEO_FORMAT
the format of the movie (per video stream).
-
VIDEO_FRAME_RATE
public static final MovieInfo.InfoType VIDEO_FRAME_RATE
the frame rate of the movie (per video stream).
-
-
Method Detail
-
values
public static MovieInfo.InfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MovieInfo.InfoType c : MovieInfo.InfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MovieInfo.InfoType 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 nameNullPointerException
- if the argument is null
-
-