FlvRootPackage

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

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

public class FlvRootPackage extends RootMetadataPackage implements IXmp

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

Learn more

This example shows how to read FLV header properties.

try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); }

Methods

Method Description
getXmpPackage() Gets the XMP metadata package.
setXmpPackage(XmpPacketWrapper value) Sets the XMP metadata package.
getHeader() Gets the FLV header package.

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 FlvHeader getHeader()

Gets the FLV header package.

Returns: FlvHeader - The FLV header package.