public class MovRootPackage extends RootMetadataPackage implements IXmp
Represents the root package allowing working with metadata in a QuickTime video.
Learn more
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()); // ... } }
Modifier and Type | Method and Description |
---|---|
MovPackage |
getMovPackage()
Gets the QuickTime metadata package.
|
XmpPacketWrapper |
getXmpPackage()
Gets the XMP metadata package.
|
void |
setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
|
getFileType, sanitize
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final MovPackage getMovPackage()
Gets the QuickTime metadata package.
public final XmpPacketWrapper getXmpPackage()
Gets the XMP metadata package.
getXmpPackage
in interface IXmp
Learn more
public final void setXmpPackage(XmpPacketWrapper value)
Sets the XMP metadata package.
setXmpPackage
in interface IXmp
value
- The XMP metadata package.
Learn more