memories/docs/file-types.md

1.8 KiB

description
Steps to configure support for different image and video formats

File type support

!!! danger "Use the admin interface"

It is **strongly recommended** that you use the Memories admin interface to configure file type support. This will ensure that your configuration is valid and that you do not accidentally disable support for any file types.

Memories supports the file types supported by Nextcloud. File type support is determined in part by the values listed in the enabledPreviewProviders configuration parameter in your configuration file. If your config.php does not contain an enabledPreviewProviders array, this means you are using Nextcloud's defaults. Copy the array over from config.sample.php before adding any of the values below, or else you will effectively disable all of the defaults.

If you add support for any one of the file types below, you must run occ memories:index to index these files.

Common Formats

PNG (image/png)
JPEG (image/jpeg)
GIF (image/gif)
BMP (image/bmp)

These are enabled by inclusion of the following values in config.php's enabledPreviewProviders array:

  'OC\Preview\Image',

HEIC and TIFF

These are enabled by inclusion of the following values in config.php's enabledPreviewProviders array:

  'OC\Preview\HEIC',
  'OC\Preview\TIFF',

You must also install Imagemagick (included in the official Nextcloud docker image).

Videos

These are enabled by inclusion of the following value in config.php's enabledPreviewProviders array:

  'OC\Preview\Movie',

You must also install ffmpeg and add the video config to config.php.

RAW images

Install the camera raw previews app from the Nextcloud app store.