com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class MovRootPackage

  • All Implemented Interfaces:
    Iterable<MetadataProperty>


    public class MovRootPackage
    extends RootMetadataPackage

    Represents the root package allowing working with metadata in a QuickTime video.

    This example shows how to read QuickTime atoms in a MOV video.

    try (Metadata metadata = new Metadata(Constants.InputMov)) {
         MovRootPackage root = metadata.getRootPackageGeneric();
         for (MovAtom atom : root.getMovPackage().getAtoms()) {
             System.out.println(atom.getType());
             System.out.println(atom.getOffset());
             System.out.println(atom.getSize());
             // ...
         }
     }
     
    • Method Detail

      • getMovPackage

        public final MovPackage getMovPackage()

        Gets the QuickTime metadata package.

        Returns:
        The QuickTime metadata package.