A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: qsv storyboard command missing hwdownload step
aminnausin02cf0064ce02
diff --git a/app/Services/Ffmpeg/FFmpegCommandBuilder.php b/app/Services/Ffmpeg/FFmpegCommandBuilder.phpindex 937fe0e5..932566b0 100644--- a/app/Services/Ffmpeg/FFmpegCommandBuilder.php+++ b/app/Services/Ffmpeg/FFmpegCommandBuilder.php@@ -9,7 +9,8 @@ use App\Services\Images\Storyboard\StoryboardOptions;class FFmpegCommandBuilder {public function __construct(private HardwareDetectionService $hardware,- ) {}+ ) {+ }public function storyboard(string $filePath, string $outputPattern, StoryboardOptions $options): array {$profile = $this->hardware->detect();@@ -61,7 +62,7 @@ class FFmpegCommandBuilder {};$scale = match ($hw) {- HardwareType::QSV => "hwmap=derive_device=qsv,vpp_qsv=w={$w}:h={$h}:format=nv12:out_range=pc:scale_mode=hq",+ HardwareType::QSV => "hwmap=derive_device=qsv,vpp_qsv=w={$w}:h={$h}:format=nv12:out_range=pc:scale_mode=hq,hwdownload,format=nv12",default => "scale='min({$w},iw)':-2:flags=lanczos",};