MatroskaVideoTrack
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.MatroskaBasePackage, com.groupdocs.metadata.core.MatroskaTrack
public class MatroskaVideoTrack extends MatroskaTrack
Represents video metadata in a Matroska video.
Learn more
Methods
Method | Description |
---|---|
getFlagInterlaced() | Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement. |
getFieldOrder() | Gets declare the field ordering of the video. |
getStereoMode() | Gets the stereo-3D video mode. |
getAlphaMode() | Gets the alpha Video Mode. |
getPixelWidth() | Gets the width of the encoded video frames in pixels. |
getPixelHeight() | Gets the height of the encoded video frames in pixels. |
getPixelCropBottom() | Gets the number of video pixels to remove at the bottom of the image. |
getPixelCropTop() | Gets the number of video pixels to remove at the top of the image. |
getPixelCropLeft() | Gets the number of video pixels to remove on the left of the image. |
getPixelCropRight() | Gets the number of video pixels to remove on the right of the image. |
getDisplayWidth() | Gets the width of the video frames to display. |
getDisplayHeight() | Gets the height of the video frames to display. |
getDisplayUnit() | Gets the how DisplayWidth and DisplayHeight are interpreted. |
getFlagInterlaced()
public final MatroskaVideoFlagInterlaced getFlagInterlaced()
Gets a flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement.
Returns: MatroskaVideoFlagInterlaced - A flag to declare if the video is known to be progressive or interlaced and if applicable to declare details about the interlacement.
getFieldOrder()
public final MatroskaVideoFieldOrder getFieldOrder()
Gets declare the field ordering of the video. If FlagInterlaced is not set to 1, this Element MUST be ignored.
Returns: MatroskaVideoFieldOrder - Declare the field ordering of the video.
getStereoMode()
public final MatroskaVideoStereoMode getStereoMode()
Gets the stereo-3D video mode.
Returns: MatroskaVideoStereoMode - The stereo-3D video mode.
getAlphaMode()
public final Long getAlphaMode()
Gets the alpha Video Mode. Presence of this Element indicates that the BlockAdditional Element could contain Alpha data.
Value: The alpha Video Mode.
Returns: java.lang.Long
getPixelWidth()
public final long getPixelWidth()
Gets the width of the encoded video frames in pixels.
Returns: long - The width of the encoded video frames in pixels.
getPixelHeight()
public final long getPixelHeight()
Gets the height of the encoded video frames in pixels.
Returns: long - The height of the encoded video frames in pixels.
getPixelCropBottom()
public final long getPixelCropBottom()
Gets the number of video pixels to remove at the bottom of the image.
Returns: long - The number of video pixels to remove at the bottom of the image.
getPixelCropTop()
public final long getPixelCropTop()
Gets the number of video pixels to remove at the top of the image.
Returns: long - The number of video pixels to remove at the top of the image.
getPixelCropLeft()
public final long getPixelCropLeft()
Gets the number of video pixels to remove on the left of the image.
Returns: long - The number of video pixels to remove on the left of the image.
getPixelCropRight()
public final long getPixelCropRight()
Gets the number of video pixels to remove on the right of the image.
Returns: long - The number of video pixels to remove on the right of the image.
getDisplayWidth()
public final Long getDisplayWidth()
Gets the width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).
Returns: java.lang.Long - The width of the video frames to display.
getDisplayHeight()
public final Long getDisplayHeight()
Gets the height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).
Returns: java.lang.Long - The height of the video frames to display.
getDisplayUnit()
public final MatroskaVideoDisplayUnit getDisplayUnit()
Gets the how DisplayWidth and DisplayHeight are interpreted.
Returns: MatroskaVideoDisplayUnit - The how DisplayWidth and DisplayHeight are interpreted.