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

Add support for HEIF/HEVC #7406

Closed
EricKerby opened this issue Dec 6, 2017 · 11 comments
Closed

Add support for HEIF/HEVC #7406

EricKerby opened this issue Dec 6, 2017 · 11 comments

Comments

@EricKerby
Copy link

HEIF and HEVC image and video files are now becoming increasingly prevalent with the latest moves by Apple to embrace the standards on the latest iOS and mac OS versions. Dropbox has a help page on the formats here: https://www.dropbox.com/help/photos-videos/ios-formats. Nextcloud should add support for previewing/displaying images and videos in these formats in the web interface and mobile apps.

@c0fe
Copy link

c0fe commented Dec 6, 2017

Second that enhancement here, it would be quite helpful since I already work with those formats.

@tflidd
Copy link
Contributor

tflidd commented Dec 7, 2017

There were some discussions on the forum about it. The format seems to be patent-protected and it could be legally difficult to implement this:
https://help.nextcloud.com/t/ios11-heic-heif-format/20368

In the ios client it is solved in that way that you can choose to upload everything in jpg:
https://help.nextcloud.com/t/warning-for-ios-11-heic-and-hevc-formats-unsupported/21229

@hoellen
Copy link
Contributor

hoellen commented Mar 23, 2018

I just want to let you know that Google introduce HEIF support with Android P and Windows will support it nativly, too.
https://www.cnet.com/news/windows-supports-heif-space-squeezing-photo-format/

@c0fe
Copy link

c0fe commented Mar 23, 2018

@LukasReschke would this be a candidate for Milestone Version 14?

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@steiny2k
Copy link
Contributor

steiny2k commented Aug 3, 2018

Just wanted to point you to upstream attempts to tackle the issue on the server side (on-the-fly preview generation using a recent version ImageMagick, generating .jpg thumbnails):
owncloud/gallery#737
owncloud/core#30093
owncloud/core#30108

I think this could also be tackled as an app similar to CameraRawPreviews (or even be integrated into it):
https://github.com/cowai/camerarawpreviews

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Aug 3, 2018
steiny2k added a commit to steiny2k/server that referenced this issue Aug 10, 2018
steiny2k added a commit to steiny2k/server that referenced this issue Aug 10, 2018
@MorrisJobke
Copy link
Member

Fixed in #10526

@freekvh
Copy link

freekvh commented Nov 17, 2021

Sorry to respond to this old feature, but for me this has never worked. I Don't see previews of heic images on Firefox on Windows, Safari on iOS or in the Nextcloud app on iOS. In the app the live image will play, but only when I hold my finger onto a sort of template preview, I never see any real previews.

Am I missing something?

@solracsf
Copy link
Member

Run the following to check if you have HEIC support in your PHP:
php -r 'phpinfo();' | grep HEIC

If not: https://eplt.medium.com/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1

@freekvh
Copy link

freekvh commented Jan 18, 2022

Run the following to check if you have HEIC support in your PHP:

php -r 'phpinfo();' | grep HEIC

If not: https://eplt.medium.com/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1

Thanx, this is helpful, however, not so much in a container environment (unless I start building them myself). I would like this to become part of the existing container offering. Or perhaps there can be a method to so low level plugins from outside the container.

@jsixface
Copy link

I use the nextcloud:stable-fpm image and It has the HEIC support

 $docker exec -it nextcloud bash
www-data@a29fc6a2dbbd:~/html$ php -r 'phpinfo();' | grep HEIC
ImageMagick supported formats => 3FR, ............, HEIC, HISTOGRAM,.................., YUV

@freekvh
Copy link

freekvh commented Jan 31, 2022

I use the nextcloud:stable-fpm image and It has the HEIC support


 $docker exec -it nextcloud bash

www-data@a29fc6a2dbbd:~/html$ php -r 'phpinfo();' | grep HEIC

ImageMagick supported formats => 3FR, ............, HEIC, HISTOGRAM,.................., YUV

So, does it work for you? Do you have heic previews? If so I'll try migrating soon.

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