Enum AVMovFlagsType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EMPTY_MOOV
      Write an initial moov atom directly at the start of the file, without describing any samples in it.
      FAST_START
      Run a second pass moving the index (moov atom) to the beginning of the file.
      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.
      FRAG_KEY_FRAME
      Start a new fragment at each video keyframe.
      SEPARATE_MOOF
      Write 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 AVMovFlagsType findByName​(java.lang.String name)  
      java.lang.String getName()  
      static AVMovFlagsType valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface NamedType
      • findByName

        public static AVMovFlagsType findByName​(java.lang.String name)