Enum AVMovFlagsType
- java.lang.Object
-
- java.lang.Enum<AVMovFlagsType>
-
- com.github.vbauer.avconv4java.type.AVMovFlagsType
-
- All Implemented Interfaces:
NamedType,java.io.Serializable,java.lang.Comparable<AVMovFlagsType>
public enum AVMovFlagsType extends java.lang.Enum<AVMovFlagsType> implements NamedType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAVMovFlagsType.Constants
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_MOOVWrite an initial moov atom directly at the start of the file, without describing any samples in it.FAST_STARTRun a second pass moving the index (moov atom) to the beginning of the file.FRAG_CUSTOMAllow the caller to manually choose when to cut fragments, by calling av_write_frame(ctx, NULL) to write a fragment with the packets written so far.FRAG_KEY_FRAMEStart a new fragment at each video keyframe.SEPARATE_MOOFWrite a separate moof (movie fragment) atom for each track.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AVMovFlagsTypefindByName(java.lang.String name)java.lang.StringgetName()static AVMovFlagsTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AVMovFlagsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FRAG_KEY_FRAME
public static final AVMovFlagsType FRAG_KEY_FRAME
Start a new fragment at each video keyframe.
-
FRAG_CUSTOM
public static final AVMovFlagsType FRAG_CUSTOM
Allow the caller to manually choose when to cut fragments, by calling av_write_frame(ctx, NULL) to write a fragment with the packets written so far. (This is only useful with other applications integrating libavformat, not from avconv.)
-
EMPTY_MOOV
public static final AVMovFlagsType EMPTY_MOOV
Write an initial moov atom directly at the start of the file, without describing any samples in it. Generally, an mdat/moov pair is written at the start of the file, as a normal MOV/MP4 file, containing only a short portion of the file. With this option set, there is no initial mdat atom, and the moov atom only describes the tracks but has a zero duration. Files written with this option set do not work in QuickTime. This option is implicitly set when writing ismv (Smooth Streaming) files.
-
SEPARATE_MOOF
public static final AVMovFlagsType SEPARATE_MOOF
Write a separate moof (movie fragment) atom for each track. Normally, packets for all tracks are written in a moof atom (which is slightly more efficient), but with this option set, the muxer writes one moof/mdat pair for each track, making it easier to separate tracks. This option is implicitly set when writing ismv (Smooth Streaming) files.
-
FAST_START
public static final AVMovFlagsType FAST_START
Run a second pass moving the index (moov atom) to the beginning of the file. This operation can take a while, and will not work in various situations such as fragmented output, thus it is not enabled by default.
-
-
Method Detail
-
values
public static AVMovFlagsType[] 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 (AVMovFlagsType c : AVMovFlagsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AVMovFlagsType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
findByName
public static AVMovFlagsType findByName(java.lang.String name)
-
-