Interface VideoMediaFormat

  • All Superinterfaces:
    MediaFormat
    All Known Implementing Classes:
    VideoMediaFormatImpl

    public interface VideoMediaFormat
    extends MediaFormat
    The interface represents a video format. Video formats characterize video streams and the VideoMediaFormat interface gives access to some of their properties such as encoding and clock rate.
    Author:
    Emil Ivov
    • Method Detail

      • getSize

        Dimension getSize()
        Returns the size of the image that this VideoMediaFormat describes.
        Returns:
        a java.awt.Dimension instance indicating the image size (in pixels) of this VideoMediaFormat.
      • getFrameRate

        float getFrameRate()
        Returns the frame rate associated with this MediaFormat.
        Returns:
        The frame rate associated with this format.