latest update
This commit is contained in:
1 parent
64eadfaf56
commit
2a562b99f1
25 files changed
+2617
-2337
No files matched your search
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FFmpeg Binaries
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'ffmpeg' => '/usr/bin/ffmpeg',
|
||||
'ffprobe' => '/usr/bin/ffprobe',
|
||||
'timeout' => 3600,
|
||||
'thread_number' => 0,
|
||||
// auto-detect cores
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FFmpeg default options
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'defaults' => [
|
||||
'video' => [
|
||||
'-c:v h264_nvenc',
|
||||
'-preset p4', // medium quality/speed
|
||||
'-rc vbr',
|
||||
'-cq 23', // CRF 23: visually lossless
|
||||
'-profile:v high',
|
||||
'-pix_fmt yuv420p',
|
||||
],
|
||||
'audio' => [
|
||||
'-c:a aac',
|
||||
'-b:a 192k',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| GPU Settings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'gpu' => [
|
||||
'encoder' => 'h264_nvenc', // h264_nvenc or hevc_nvenc
|
||||
'device' => 0, // GPU 0 (RTX 3060 #1)
|
||||
'hwaccel' => 'cuda',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user