Package ws.schild.jave
Class VideoInfo
- java.lang.Object
-
- ws.schild.jave.VideoInfo
-
public class VideoInfo extends java.lang.ObjectInstances 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 intgetBitRate()Returns the video stream (average) bit rate.java.lang.StringgetDecoder()Returns the video stream decoder name.floatgetFrameRate()Returns the video frame rate.VideoSizegetSize()Returns the video size.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-