drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.59k stars 480 forks source link

Unable to extract metadata from MOV files using QuickTimeMetadataReader #440

Closed praveensinghthakur closed 4 years ago

praveensinghthakur commented 5 years ago

Please see my sample code below:

Metadata metadata = QuickTimeMetadataReader.readMetadata(inputStream);

        for (Directory directory : metadata.getDirectories()) {
                for (Tag tag : directory.getTags()) {
                    System.out.println(tag);
                }
            }

I get back only following tags always. Have tried with 2-3 different .mov files. Please advise.

jefftucker1952 commented 5 years ago

Instead of QuickTimeMetadataReader, try ImageMetadataReader.

drewnoakes commented 5 years ago

I get back only following tags always

What tags are you seeing?

Please provide some more information and a sample file. Right now it's impossible to tell what's going on.

payton commented 4 years ago

@praveensinghthakur Any update?