com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class AviHeader

    • Constructor Detail

      • AviHeader

        public AviHeader()

        Initializes a new instance of the AviHeader class.

    • Method Detail

      • getMicroSecPerFrame

        public final int getMicroSecPerFrame()

        Gets the the number of microseconds between frames. This value indicates the overall timing for the file.

        Returns:
        The number of microseconds between frames.
      • getMaxBytesPerSec

        public final int getMaxBytesPerSec()

        Gets the approximate maximum data rate of the file. <br></br> This value indicates the number of bytes per second the system must handle to present an AVI sequence as specified by the other parameters contained in the main header and stream header chunks.

        Returns:
        The the approximate maximum data rate of the file.
      • getPaddingGranularity

        public final int getPaddingGranularity()

        Gets the alignment for data, in bytes. Pad the data to multiples of this value.

        Returns:
        The the alignment for data.
      • getAviHeaderFlags

        public final AviHeaderFlags getAviHeaderFlags()

        Gets a bitwise combination of zero or more of the AVI flags.

        Returns:
        The AVI flags.
      • getTotalFrames

        public final int getTotalFrames()

        Gets the the total number of frames of data in the file.

        Returns:
        The total number of frames.
      • getInitialFrames

        public final int getInitialFrames()

        Gets the initial frame for interleaved files. <br></br> Noninterleaved files should specify zero. If you are creating interleaved files, specify the number of frames in the file prior to the initial frame of the AVI sequence in this member.

        Returns:
        The initial frames.
      • getStreams

        public final int getStreams()

        Gets the number of streams in the file. For example, a file with audio and video has two streams.

        Returns:
        The number of streams.
      • getSuggestedBufferSize

        public final int getSuggestedBufferSize()

        Gets the suggested buffer size for reading the file. <br></br> Generally, this size should be large enough to contain the largest chunk in the file. If set to zero, or if it is too small, the playback software will have to reallocate memory during playback, which will reduce performance. For an interleaved file, the buffer size should be large enough to read an entire record, and not just a chunk.

        Returns:
        The suggested buffer size for reading the file.
      • getWidth

        public final int getWidth()

        Gets the width of the AVI file in pixels.

        Returns:
        The width in pixels.
      • getHeight

        public final int getHeight()

        Gets the height of the AVI file in pixels.

        Returns:
        The height in pixels.