com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class AviRootPackage

  • All Implemented Interfaces:
    IXmp, Iterable<MetadataProperty>


    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());
         // ...
     }