1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 15:55:14 +00:00

Add ffmpeg config, disable logging by default

This commit is contained in:
Daniel Supernault 2022-05-20 21:17:54 -06:00
parent 9174d83b64
commit 108e380394
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

21
config/laravel-ffmpeg.php Normal file
View file

@ -0,0 +1,21 @@
<?php
return [
'ffmpeg' => [
'binaries' => env('FFMPEG_BINARIES', 'ffmpeg'),
'threads' => 12, // set to false to disable the default 'threads' filter
],
'ffprobe' => [
'binaries' => env('FFPROBE_BINARIES', 'ffprobe'),
],
'timeout' => 3600,
'enable_logging' => env('FFMPEG_LOG', false),
'set_command_and_error_output_on_exception' => false,
'temporary_files_root' => env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir()),
];