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

Update ffmpeg config

This commit is contained in:
Daniel Supernault 2023-10-23 02:31:54 -06:00
parent 0405ef1248
commit 6ab7e37a48
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -3,8 +3,7 @@
return [ return [
'ffmpeg' => [ 'ffmpeg' => [
'binaries' => env('FFMPEG_BINARIES', 'ffmpeg'), 'binaries' => env('FFMPEG_BINARIES', 'ffmpeg'),
'threads' => env('FFMPEG_THREADS', false),
'threads' => 12, // set to false to disable the default 'threads' filter
], ],
'ffprobe' => [ 'ffprobe' => [
@ -18,4 +17,6 @@ return [
'temporary_files_root' => env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir()), 'temporary_files_root' => env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir()),
'temporary_files_encrypted_hls' => env('FFMPEG_TEMPORARY_ENCRYPTED_HLS', env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir())), 'temporary_files_encrypted_hls' => env('FFMPEG_TEMPORARY_ENCRYPTED_HLS', env('FFMPEG_TEMPORARY_FILES_ROOT', sys_get_temp_dir())),
'min_hls_version' => env('FFMPEG_MIN_HLS_VERSION', '4.4.0'),
]; ];