Skip to content

Commit 1386b80

Browse files
authored
chore: Update config.sample.php to document new ffprobe path option
PR nextcloud#51712 added new preview_ffprobe_path parameter. This PR updates config.sample.php to document this new optional parameter and the fallback behavior if the option is not set. Signed-off-by: invario <67800603+invario@users.noreply.github.com>
1 parent de23547 commit 1386b80

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

config/config.sample.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,15 @@
14211421
*/
14221422
'preview_ffmpeg_path' => '/usr/bin/ffmpeg',
14231423

1424+
/**
1425+
* custom path for ffprobe binary
1426+
*
1427+
* Defaults to ``null`` and falls back to using the same path as ffmpeg.
1428+
* ffprobe is typically packaged with ffmpeg and is required for
1429+
* enhanced preview generation for HDR videos.
1430+
*/
1431+
'preview_ffprobe_path' => '/usr/bin/ffprobe',
1432+
14241433
/**
14251434
* Set the URL of the Imaginary service to send image previews to.
14261435
* Also requires the ``OC\Preview\Imaginary`` provider to be enabled in the

0 commit comments

Comments
 (0)