AviRootPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage

All Implemented Interfaces: com.groupdocs.metadata.core.IXmp

public class AviRootPackage extends RootMetadataPackage implements IXmp

Represents the root package allowing working with metadata in an AVI video.

Learn more

This code snippet shows how to read AVI header properties.

try (Metadata metadata = new Metadata(Constants.InputAvi)) { AviRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getAviHeaderFlags()); System.out.println(root.getHeader().getHeight()); System.out.println(root.getHeader().getWidth()); System.out.println(root.getHeader().getTotalFrames()); System.out.println(root.getHeader().getInitialFrames()); System.out.println(root.getHeader().getMaxBytesPerSec()); System.out.println(root.getHeader().getPaddingGranularity()); System.out.println(root.getHeader().getStreams()); // … }

Methods

Method Description
getXmpPackage() Gets the XMP metadata package.
setXmpPackage(XmpPacketWrapper value) Sets the XMP metadata package.
getHeader() Gets the AVI header package.
getRiffInfoPackage() Gets the package containing RIFF Info tags.

getXmpPackage()

public final XmpPacketWrapper getXmpPackage()

Gets the XMP metadata package.

Returns: XmpPacketWrapper - The XMP metadata package.

Learn more

setXmpPackage(XmpPacketWrapper value)

public final void setXmpPackage(XmpPacketWrapper value)

Sets the XMP metadata package.

Parameters:

Parameter Type Description
value XmpPacketWrapper The XMP metadata package.

Learn more

Working with XMP metadata: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata |

getHeader()

public final AviHeader getHeader()

Gets the AVI header package.

Returns: AviHeader - The AVI header package.

getRiffInfoPackage()

public final RiffInfoPackage getRiffInfoPackage()

Gets the package containing RIFF Info tags.

Returns: RiffInfoPackage - The package containing RIFF Info tags.