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

HevcImageFileReader Can't read cover image which is taken from iOS 11 #18

Closed
airwolf2026 opened this issue Sep 15, 2017 · 14 comments
Closed

Comments

@airwolf2026
Copy link

I want to read conver image use HevcImageFileReader, the function reader.getItemDataWithDecoderParameters failed

@airwolf2026
Copy link
Author

Skipping an unknown box of type 'colr' in ItemPropertyContainer.
Skipping an unknown box of type 'pixi' in ItemPropertyContainer.
Skipping an unknown box of type 'colr' in ItemPropertyContainer.
Skipping an unknown box of type 'pixi' in ItemPropertyContainer.

@liuziangexit
Copy link

from iOS 11? you only need this: https://liuziangexit.com/HEIF-Utility

@airwolf2026
Copy link
Author

airwolf2026 commented Sep 19, 2017

@liuziangexit Yes, I had made the same way to merge the 8*6 tiles to a whole image, use ffmpeg

Now,i want to know heif could support iOS'11 's coverImage export

@liuziangexit
Copy link

i tink iOS 11's HEIF file does not have cover image...but im not sure...
about Apple HEIF, you can check this: https://devstreaming-cdn.apple.com/videos/wwdc/2017/503i6plfvfi7o3222/503/503_introducing_heif_and_hevc.pdf

image

@airwolf2026
Copy link
Author

OK, Thanks for sharing

@liuziangexit
Copy link

@airwolf2026 啊?你是中国人啊?

@airwolf2026
Copy link
Author

airwolf2026 commented Sep 19, 2017

@liuziangexit 刘?先生见笑了哈

@liuziangexit
Copy link

2333我还以为是老外,用英语打了半天。苹果图片应该是没有cover image的,你要么读略缩图,要么自己把图块拼起来。
我在知乎写了一点思路。
https://zhuanlan.zhihu.com/p/29439313

@airwolf2026
Copy link
Author

@liuziangexit 多谢,图块批起来的方式,我也实现了.就是性能慢,想看看有么有直接大图的方法

@liuziangexit
Copy link

@airwolf2026 应该是没有的,因为原图本身就是以小块储存在内部,你要获得全分辨率图像必须自己拼。而且其实性能没什么问题,我的实现里面,读取、转换为 HEVC 流、拼接、剪裁、旋转,这么多步骤在 i7 上面也就半秒钟左右,老一点的第二代 i5 移动版大概一秒多一点,其实也还好,处理的时候加个进度条不就行了。。。

@introvertautist
Copy link

@airwolf2026 Man, you use c++?

@airwolf2026
Copy link
Author

@rac-c-o-on YES,now developer language is c++

@jassonjackson
Copy link

airwolf2026你好,我编译examples,测试图是nokia官方的封面图,结果编译出错,能指点一下吗?

@airwolf2026
Copy link
Author

@jieweijasson
你好,当时应该使用CMAKE 工具编译的.几个月啦,有点忘记了,你先试试cmake最新版的

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

4 participants