From 2c4afdcdd1e0be19557923ad8759693252b6db0e Mon Sep 17 00:00:00 2001 From: William Date: Wed, 18 Jan 2023 19:26:48 +0100 Subject: add documentation preview_ffmpeg_path add preview_ffmpeg_path documentation. document custom path for ffmpeg so it can be used by the previewprovider to create video previews with the snap package of nextcloud. Signed-off-by: William --- config/config.sample.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/config.sample.php b/config/config.sample.php index 0267ae51c91..b9ed39d97a7 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1190,7 +1190,14 @@ $CONFIG = [ 'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore '. '--convert-to png --outdir ', - + +/** + * custom path for ffmpeg binary + * + * Defaults to ``''`` (empty string) + */ +'preview_ffmpeg_path' => '/usr/bin/ffmpeg', + /** * Set the URL of the Imaginary service to send image previews to. * Also requires the ``OC\Preview\Imaginary`` provider to be enabled. -- cgit v1.2.3