-
Notifications
You must be signed in to change notification settings - Fork 250
Can example7 not encode images taken by the iphone8? #45
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
Comments
Example7 is not really meant to read iPhone8 images as they are organized bit differently than conformance file the example uses. But Reader can definitely parse iPhone8 images so with some additions to the example7 code you can also duplicate them on writing output. Typical iPhone8 heic file actually consist of 50 images. They form "grid" image item, which is shown to user when watching photo on phone. This is probably done because single still image is too big for phone HEVC encoder to handle so original image is split into smaller tiles that are encoded and form the grid image.
File also has 2 items in
You can process the items like this:
|
Thank you!Another question,How to feed 'data' to decoder and display the cover image in exampe1? |
You can use your platform HEVC/H.265 codecs to decode/encode images. HEIF library itself doesn't contain codecs.
In decoding case you typically create decoder instance, configure it with information from |
@nokiatech
The Mediacodec decode one image will cost about 50ms, totally 5.5s, how can I solve this problem? |
Can example7 not encode images taken by the iPhone8?
The text was updated successfully, but these errors were encountered: