|
@@ -146,7 +146,7 @@ class GeneratePreviewVideo extends Command
|
|
|
$format = new \FFMpeg\Format\Video\X264();
|
|
|
|
|
|
$format->setKiloBitrate(500);
|
|
|
- $format->setAudioCodec('none');
|
|
|
+ $format->setAdditionalParameters(['-an']);
|
|
|
$video->save($format, $outputPath);
|
|
|
return $outputPath;
|
|
|
}
|