Skip to content

A self-hosted media server and file management system

fix: passthrough=0: not supported on base ffmpeg

aminnausin44295d19425f
diff --git a/app/Services/Ffmpeg/FFmpegCommandBuilder.php b/app/Services/Ffmpeg/FFmpegCommandBuilder.php
index 99f53db2..937fe0e5 100644
--- a/app/Services/Ffmpeg/FFmpegCommandBuilder.php
+++ b/app/Services/Ffmpeg/FFmpegCommandBuilder.php
@@ -61,7 +61,7 @@ class FFmpegCommandBuilder {
};
$scale = match ($hw) {
- HardwareType::QSV => "hwmap=derive_device=qsv,vpp_qsv=w={$w}:h={$h}:format=nv12:passthrough=0: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",
default => "scale='min({$w},iw)':-2:flags=lanczos",
};