Skip to content

A self-hosted media server and file management system

fix: qsv storyboard command fails

aminnausinc799d7f69501
diff --git a/app/Services/Ffmpeg/FFmpegCommandBuilder.php b/app/Services/Ffmpeg/FFmpegCommandBuilder.php
index 263125f6..48272bde 100644
--- a/app/Services/Ffmpeg/FFmpegCommandBuilder.php
+++ b/app/Services/Ffmpeg/FFmpegCommandBuilder.php
@@ -40,7 +40,7 @@ class FFmpegCommandBuilder {
$h = $options->height;
$scale = match ($hw) {
- HardwareType::QSV => "vpp_qsv=w={$w}:h={$h}:format=nv12:passthrough=0:out_range=pc:scale_mode=hq",
+ HardwareType::QSV => "vpp_qsv=w={$w}:h={$h}:format=nv12:out_range=pc:scale_mode=hq",
default => "scale='min({$w},iw)':-2:flags=lanczos",
};