GroupDocs.Metadata for Java

Extract Metadata From AVI File In Java

Read & Extract metadata information from a wide range of documents, images, audio & video formats using GroupDocs.Metadata for Java

Steps for AVI Metadata Extraction in Java

GroupDocs.Metadata makes it easy for Java developers to extract to read and extract metadata information from AVI files from within their applications by implementing a few easy steps.

  1. Load the AVI with an instance of Java class.
  2. Make up a predicate to examine all metadata properties.
  3. Pass the predicate to the FindProperties method.
  4. Iterate through the found properties.
Copy
// Search image metadata in AVI document

// Compose Metadata passing AVI to constructor
try (Metadata metadata = new Metadata("input.avi"))
{
    // Fetch all metadata properties that fall into a particular category
    IReadOnlyList properties = metadata.findProperties(
        new FallsIntoCategorySpecification(Tags.getContent()));

    // Process found metadata entries
    System.out.println("The metadata properties describing some characteristics of 
        the file content: title, keywords, language, etc.");
    for (MetadataProperty property : properties) 
    {
        System.out.println(String.format("Property name: %s, Property value: %s", 
            property.getName(), property.getValue()));
    }
}
<dependencies> <dependency> <groupId>com.groupdocs</groupId> <artifactId>groupdocs-metadata</artifactId> <version></version> </dependency> </dependencies> <repositories> <repository> <id>repository.groupdocs.com</id> <name>GroupDocs Repository</name> <url>https://repository.groupdocs.com/repo/</url> </repository> </repositories>
click to copy
copied
More examples Documentation

Metadata Search in Business Files with GroupDocs.Metadata

Control hidden data in sensitive files and documents using Java applications powered by GroupDocs.Metadata library.

Java Metadata Search

Java Tools for Detailed Metadata Search

Enhance your document processing capabilities in Java with GroupDocs.Metadata. Our software provides effective tools to search and process hidden metadata.

Metadata Retrieval Customization

Target specific metadata with precision. Configure your search to filter by many parameters like text, date, regular expressions, etc., ensuring you get exactly what you need.

Efficient Metadata Processing

Leverage Java to process values of found metadata entries. Use GroupDocs.Metadata to manipulate metadata effectively. You are free to add, update or clear any metadata in supported formats.

Java Example: Electronic Book Metadata

This code sample shows how to read EPUB format-specific metadata properties

Java


//  Pass EPUB electronic book to Metadata object
try (Metadata metadata = new Metadata("input.epub")) {

    //  Get all built-in metadata
    EpubRootPackage root = metadata.getRootPackageGeneric();

    //  Process retrieved data
    System.out.println(root.getEpubPackage().getVersion());
    System.out.println(root.getEpubPackage().getUniqueIdentifier());
    System.out.println(root.getEpubPackage().getImageCover() != null ? 
        root.getEpubPackage().getImageCover().length : 0);
}

About GroupDocs.Metadata for Java API

GroupDocs.Metadata for Java offers an advanced set of metadata management and manipulation features, allowing developers to easily read, edit, remove, search, compare, replace and export metadata information from images and document formats without using any external software. Extract metadata details from PDF, Word, Excel, PowerPoint, Outlook, OneNote, Visio, Project, AutoCAD, Archive and Multimedia file formats, and perform supported metadata operations with true flexibility.
Learn more
About illustration

Ready to get started?

Try GroupDocs.Metadata features for free or request a license

Reading & Extracting Other File Formats

Multi format documents and images metadata extraction API for Java. Retrieve metadata of some of the popular file formats as stated below.

 English