From 108e380394f32e7b2829e8aa9ec1e23a35818359 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 20 May 2022 21:17:54 -0600 Subject: [PATCH] Add ffmpeg config, disable logging by default --- config/laravel-ffmpeg.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/laravel-ffmpeg.php diff --git a/config/laravel-ffmpeg.php b/config/laravel-ffmpeg.php new file mode 100644 index 000000000..21315f199 --- /dev/null +++ b/config/laravel-ffmpeg.php @@ -0,0 +1,21 @@ + [ + '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()), +];