mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Add ffmpeg config, disable logging by default
This commit is contained in:
parent
9174d83b64
commit
108e380394
1 changed files with 21 additions and 0 deletions
21
config/laravel-ffmpeg.php
Normal file
21
config/laravel-ffmpeg.php
Normal 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()),
|
||||
];
|
Loading…
Reference in a new issue