Skip to content

Commit f6440e6

Browse files
authored
Merge pull request #26 from peirix/v1
added -vn flag to audio transcoding
2 parents ffa5b80 + b0d201c commit f6440e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Transcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public function getAudioUrl($filePath, $audioOptions): string
349349
.' -i '.escapeshellarg($filePath)
350350
.' -acodec '.$thisEncoder['audioCodec']
351351
.' '.$thisEncoder['audioCodecOptions']
352-
.' -bufsize 1000k'
352+
.' -bufsize 1000k -vn'
353353
.' -threads '.$thisEncoder['threads'];
354354

355355
// Set the bitrate if desired

0 commit comments

Comments
 (0)