Class VideoInfo


  • public class VideoInfo
    extends java.lang.Object
    Instances of this class report informations about a video stream that can be decoded.
    Author:
    Carlo Pelliccia
    • Constructor Summary

      Constructors 
      Constructor Description
      VideoInfo()  
    • Method Summary

      Modifier and Type Method Description
      int getBitRate()
      Returns the video stream (average) bit rate.
      java.lang.String getDecoder()
      Returns the video stream decoder name.
      float getFrameRate()
      Returns the video frame rate.
      VideoSize getSize()
      Returns the video size.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VideoInfo

        public VideoInfo()
    • Method Detail

      • getDecoder

        public java.lang.String getDecoder()
        Returns the video stream decoder name.
        Returns:
        The video stream decoder name.
      • getSize

        public VideoSize getSize()
        Returns the video size. If null this information is not available.
        Returns:
        the size The video size.
      • getFrameRate

        public float getFrameRate()
        Returns the video frame rate. If less than 0 this information is not available.
        Returns:
        The video frame rate.
      • getBitRate

        public int getBitRate()
        Returns the video stream (average) bit rate. If less than 0, this information is not available.
        Returns:
        The video stream (average) bit rate.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object