Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftyp3gp5 type not supported #509

Closed
CedricCarniel opened this issue Oct 23, 2020 · 2 comments
Closed

ftyp3gp5 type not supported #509

CedricCarniel opened this issue Oct 23, 2020 · 2 comments

Comments

@CedricCarniel
Copy link

Hello,

I'm using 2.15.0 and processing many images worked like a charm.
Now I need to process videos but some of them can't be open.
Calls to ImageMetadataReader.readMetadata thows
com.drew.imaging.ImageProcessingException: File format could not be determined
at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:185)
at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:124)
at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:204)

I traced the code to QuickTimeTypeChecker where I found the type list and ftyp3gp5 is not here.

Let me know if you want the video, I've no issues sharing it, I have a 7MB file

@drewnoakes
Copy link
Owner

A sample file would be great. If you can link it here I will add it to the media library.

Also seeing as you found the relevant code, would you be able to put a pull request together?

@CedricCarniel
Copy link
Author

I was able to create an even smaller file (1MB) here attached.

ftyp3gp5 - 20201023_222722_1 - no gps.zip

You added format-mov tag which actually works, but using FileType.Mp4 gives more interesting info in MP4 Directory, like GPS location.
Also I found a few pages, like this one https://github.com/PidgeyL/Forensic-File-Handler/blob/master/README.md stating ftyp3gp5 is MP4.

drewnoakes added a commit to drewnoakes/metadata-extractor-images that referenced this issue Oct 25, 2020
drewnoakes added a commit to drewnoakes/metadata-extractor-dotnet that referenced this issue Oct 25, 2020
drewnoakes added a commit to drewnoakes/metadata-extractor-images that referenced this issue Oct 25, 2020
drewnoakes added a commit that referenced this issue Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants