laravel-ffmpeg.php 490 B

123456789101112131415161718192021
  1. <?php
  2. return [
  3. 'ffmpeg' => [
  4. 'binaries' => env('FFMPEG_BINARIES', 'ffmpeg'),
  5. 'threads' => 12, // set to false to disable the default 'threads' filter
  6. ],
  7. 'ffprobe' => [
  8. 'binaries' => env('FFPROBE_BINARIES', 'ffprobe'),
  9. ],
  10. 'timeout' => 3600,
  11. 'enable_logging' => env('FFMPEG_LOG', false),
  12. 'set_command_and_error_output_on_exception' => false,
  13. 'temporary_files_root' => env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir()),
  14. ];