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

heif-convert Windows versus maOS #71

Closed
vicodark opened this issue Aug 27, 2018 · 8 comments
Closed

heif-convert Windows versus maOS #71

vicodark opened this issue Aug 27, 2018 · 8 comments

Comments

@vicodark
Copy link

The attached file (and others) convert fine using the sample heif-convert program (to png) on macOS (10.12.6
IMG_4453.HEIC.zip), but give "Could not read HEIF file: Invalid input: No 'meta' box" on Windows (7 and 10). I can clearly see the "meta" box tag in a hex editor:

bbmbp081:~ vico$ xxd -l 128 projects/apple_formats/media/Archive_from_MikeH/Archive/IMG_4453.HEIC
00000000: 0000 0018 6674 7970 6865 6963 0000 0000 ....ftypheic....
00000010: 6d69 6631 6865 6963 0000 0f74 6d65 7461 mif1heic...tmeta
00000020: 0000 0000 0000 0022 6864 6c72 0000 0000 ......."hdlr....

Any ideas? (I had to zip the file to attach it.)

@farindk
Copy link
Contributor

farindk commented Aug 27, 2018

I did a quick check on Linux and looked at the file structure. Cannot see anything special so far.
Can you send me the exact command lines you used for building libheif under Windows?

@vicodark vicodark changed the title heir-convert Windows versus maOS heif-convert Windows versus maOS Aug 27, 2018
@vicodark
Copy link
Author

vicodark commented Aug 27, 2018

I've attached a file with the build commands since it retains formatting.
build_heif.txt

We are cross compiling from macOS ...

@vicodark
Copy link
Author

Please let me know what else I can provide or test to try to figure this out. I lost on why it might not see the box tag on Windows versus Linux and macOS.

@jluben-on1
Copy link

I can replicate vicodark's problem using a heic file taken on an Apple iPhone.
IMG_1403.zip

@farindk
Copy link
Contributor

farindk commented Aug 31, 2018

Confirmed, running in wine64. Will look into this.

@farindk
Copy link
Contributor

farindk commented Aug 31, 2018

Should be fixed with commit 4c989e5.
Can you please confirm?

@mikebbt
Copy link

mikebbt commented Sep 2, 2018

On behalf of vicodark I have confirmed that the change seems to resolve the issue, thanks for the quick resolution.

@fancycode
Copy link
Member

Thanks for confirming the fix, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants