- Installed p7h/nas-file-manager package via private VCS repo - Published config/nas-file-manager.php with super_admin middleware restriction - Added NAS env vars to .env.example - Created admin/nas-storage page with connection info panel and file browser widget - Added NAS Storage link to admin sidebar (super_admin only) - Added SuperAdminController@nasStorage method and admin.nas-storage route - Includes all accumulated branch changes: profile wall, 2FA, audit logs, settings panel, country/phone/timezone components, posts, slideshow, playlist shares, video downloads/shares, comment likes, notifications, social links, and more Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
1.3 KiB
PHP
47 lines
1.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| FFmpeg Binaries
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
'ffmpeg' => '/usr/lib/jellyfin-ffmpeg/ffmpeg',
|
|
'ffprobe' => '/usr/lib/jellyfin-ffmpeg/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',
|
|
],
|
|
];
|
|
|