java.lang.Object
uk.co.caprica.vlcj.media.TrackInfo
uk.co.caprica.vlcj.media.VideoTrackInfo
-
Constructor Summary
ConstructorsConstructorDescriptionVideoTrackInfo
(int codec, int originalCodec, int id, int profile, int level, int bitRate, String language, String description, int width, int height, int sampleAspectRatio, int sampleAspectRatioBase, int frameRate, int frameRateBase, VideoOrientation orientation, VideoProjection projection, float yaw, float pitch, float roll, float fov, Multiview multiview, String codecDescription) Create a new video track info. -
Method Summary
Modifier and TypeMethodDescriptionfinal float
fov()
Get the field of view, for spherical video.final int
Get the frame rate.final int
Get the frame rate base.final int
height()
Get the video height.final Multiview
Get the video multiview type.final VideoOrientation
Get the video orientation.final float
pitch()
Get the pitch, for spherical video.final VideoProjection
Get the video projection.final float
roll()
Get the roll, for spherical video.final int
Get the sample aspect ratio.final int
Get the sample aspect ratio base.toString()
final int
width()
Get the video width.final float
yaw()
Get the yaw, for spherical video.Methods inherited from class uk.co.caprica.vlcj.media.TrackInfo
bitRate, codec, codecDescription, codecName, description, id, language, level, originalCodecName, orignalCodec, profile
-
Constructor Details
-
VideoTrackInfo
public VideoTrackInfo(int codec, int originalCodec, int id, int profile, int level, int bitRate, String language, String description, int width, int height, int sampleAspectRatio, int sampleAspectRatioBase, int frameRate, int frameRateBase, VideoOrientation orientation, VideoProjection projection, float yaw, float pitch, float roll, float fov, Multiview multiview, String codecDescription) Create a new video track info.- Parameters:
codec
- video codecoriginalCodec
- original video codecid
- track idprofile
- profilelevel
- levelbitRate
- bit-ratelanguage
- languagedescription
- descriptionwidth
- widthheight
- heightsampleAspectRatio
- sample aspect ratiosampleAspectRatioBase
- sample aspect ratio baseframeRate
- frame rateframeRateBase
- frame rate baseorientation
- video orientationprojection
- video projectionyaw
- yaw (degrees)pitch
- pitch (degrees)roll
- roll (degrees)fov
- field of view (degrees)multiview
- multiview video typecodecDescription
- codec description
-
-
Method Details
-
width
public final int width()Get the video width.- Returns:
- width
-
height
public final int height()Get the video height.- Returns:
- height
-
sampleAspectRatio
public final int sampleAspectRatio()Get the sample aspect ratio.- Returns:
- sample aspect ratio
-
sampleAspectRatioBase
public final int sampleAspectRatioBase()Get the sample aspect ratio base.- Returns:
- sample aspect ratio base
-
frameRate
public final int frameRate()Get the frame rate.- Returns:
- frame rate
-
frameRateBase
public final int frameRateBase()Get the frame rate base.- Returns:
- frame rate base
-
orientation
-
projection
-
yaw
public final float yaw()Get the yaw, for spherical video.- Returns:
- yaw (degrees)
-
pitch
public final float pitch()Get the pitch, for spherical video.- Returns:
- pitch (degrees)
-
roll
public final float roll()Get the roll, for spherical video.- Returns:
- roll (degrees)
-
fov
public final float fov()Get the field of view, for spherical video.- Returns:
- field of view (degrees)
-
multiview
Get the video multiview type.This is currently unused and is a placeholder for future implementation.
- Returns:
- multiview type
-
toString
-