Browse Source

视频预览

moshaorui 3 weeks ago
parent
commit
8cf88c7e22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/GeneratePreviewVideo.php

+ 1 - 1
app/Console/Commands/GeneratePreviewVideo.php

@@ -94,7 +94,7 @@ class GeneratePreviewVideo extends Command
 
         // 输出为H.264编码的MP4
         //$format = new \FFMpeg\Format\Video\X264('aac');
-        $format = new FFMpeg\Format\Video\X264('libfdk_aac');
+        $format = new \FFMpeg\Format\Video\X264('libfdk_aac');
         $video->save($format, $outputPath);
 
         return $outputPath;