lh há 3 dias atrás
pai
commit
c8cbd81a66
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Libs/Helpers.php

+ 1 - 1
app/Libs/Helpers.php

@@ -4609,7 +4609,7 @@ function upgrade480pTo720p($videoUrl, $prefix = 'videos')
         $ffmpegPath = env('FFMPEG_PATH', 'ffmpeg');
         
         // 检查FFmpeg是否支持cas滤镜
-        $checkCasCmd = "$ffmpegPath -filters 2>&1 | findstr /C:\"cas\"";
+        $checkCasCmd = "$ffmpegPath -filters 2>&1 | grep -i \"cas\"";
         $hasCas = !empty(shell_exec($checkCasCmd));
         
         // 构建滤镜链