2023-05-18 03:42:21 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
// Path to exiftool binary
|
|
|
|
'memories.exiftool' => '',
|
|
|
|
|
|
|
|
// Do not use packaged binaries of exiftool
|
|
|
|
// This requires perl to be available
|
|
|
|
'memories.exiftool_no_local' => false,
|
|
|
|
|
|
|
|
// How to index user directories
|
|
|
|
// 0 = auto-index disabled
|
|
|
|
// 1 = index everything
|
|
|
|
// 2 = index only user timelines
|
|
|
|
// 3 = index only configured path
|
|
|
|
'memories.index.mode' => '1',
|
|
|
|
|
|
|
|
// Path to index (only used if indexing mode is 3)
|
|
|
|
'memories.index.path' => '/',
|
|
|
|
|
|
|
|
// Places database type identifier
|
|
|
|
'memories.gis_type' => -1,
|
|
|
|
|
2023-09-12 16:40:28 +00:00
|
|
|
// Default viewer high resolution image loading condition
|
|
|
|
// Valid values: 'always' | 'zoom' | 'never'
|
2023-09-12 16:54:16 +00:00
|
|
|
'memories.viewer.high_res_cond_default' => 'zoom',
|
2023-09-12 16:40:28 +00:00
|
|
|
|
2023-05-18 03:42:21 +00:00
|
|
|
// Disable transcoding
|
|
|
|
'memories.vod.disable' => true,
|
|
|
|
|
|
|
|
// VA-API configuration options
|
|
|
|
'memories.vod.vaapi' => false, // Transcode with VA-API
|
|
|
|
'memories.vod.vaapi.low_power' => false, // Use low_power mode for VA-API
|
|
|
|
|
|
|
|
// NVENC configuration options
|
|
|
|
'memories.vod.nvenc' => false, // Transcode with NVIDIA NVENC
|
|
|
|
'memories.vod.nvenc.temporal_aq' => false,
|
|
|
|
'memories.vod.nvenc.scale' => 'npp', // npp or cuda
|
|
|
|
|
2023-08-03 20:13:17 +00:00
|
|
|
// Extra streaming configuration
|
|
|
|
'memories.vod.use_transpose' => false,
|
2023-09-29 17:27:53 +00:00
|
|
|
'memories.vod.use_gop_size' => false,
|
2023-08-03 20:13:17 +00:00
|
|
|
|
2023-05-18 03:42:21 +00:00
|
|
|
// Paths to ffmpeg and ffprobe binaries
|
|
|
|
'memories.vod.ffmpeg' => '',
|
|
|
|
'memories.vod.ffprobe' => '',
|
|
|
|
|
|
|
|
// Path to go-vod binary
|
|
|
|
'memories.vod.path' => '',
|
|
|
|
|
|
|
|
// Path to use for transcoded files (/tmp/go-vod/instanceid)
|
|
|
|
// Make sure this has plenty of space
|
|
|
|
'memories.vod.tempdir' => '',
|
|
|
|
|
|
|
|
// Bind address to use when starting the transcoding server
|
|
|
|
'memories.vod.bind' => '127.0.0.1:47788',
|
|
|
|
|
|
|
|
// Address used to connect to the transcoding server
|
|
|
|
// If not specified, the bind address above will be used
|
|
|
|
'memories.vod.connect' => '127.0.0.1:47788',
|
|
|
|
|
|
|
|
// Mark go-vod as external. If true, Memories will not attempt to
|
|
|
|
// start go-vod if it is not running already.
|
|
|
|
'memories.vod.external' => false,
|
|
|
|
|
|
|
|
// Set the default video quality for a first time user
|
|
|
|
// 0 => Auto (default)
|
|
|
|
// -1 => Original (max quality with transcoding)
|
|
|
|
// -2 => Direct (disable transcoding)
|
|
|
|
// 1080 => 1080p (and so on)
|
|
|
|
'memories.video_default_quality' => '0',
|
2023-05-23 04:57:53 +00:00
|
|
|
|
2023-09-26 17:47:28 +00:00
|
|
|
// Default timeline path for all users; if not set, default is '/Photos'
|
2023-09-26 14:38:54 +00:00
|
|
|
'memories.default_timeline_path' => 'Photos/',
|
|
|
|
|
2023-05-23 04:57:53 +00:00
|
|
|
// Memories only provides an admin interface for these
|
2023-05-23 05:35:29 +00:00
|
|
|
// https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#previews
|
2023-05-23 04:57:53 +00:00
|
|
|
'enabledPreviewProviders' => [],
|
2023-05-23 05:35:29 +00:00
|
|
|
'preview_max_x' => 4096,
|
|
|
|
'preview_max_y' => 4096,
|
|
|
|
'preview_max_memory' => 128,
|
|
|
|
'preview_max_filesize_image' => 50,
|
2023-09-03 16:26:54 +00:00
|
|
|
'preview_ffmpeg_path' => '',
|
|
|
|
|
|
|
|
// Placeholders only; these are not touched by the app
|
|
|
|
'instanceid' => 'default',
|
2023-05-18 03:42:21 +00:00
|
|
|
];
|