Skip to content

Commit 0c966e3

Browse files
committed
Merge branch 'release/1.2.10' into v1
2 parents 28bb939 + bd5e3fa commit 0c966e3

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Transcoder Changelog
22

3+
## 1.2.10 - 2020.02.25
4+
### Added
5+
* Added `-vn` flag for audio transcoding to remove video tracks on transcoded audio
6+
37
## 1.2.9 - 2020.01.27
48
### Fixed
59
* Fixed an issue if `ffprobe` isn't installed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nystudio107/craft-transcoder",
33
"description": "Transcode video & audio files to various formats, and provide video thumbnails",
44
"type": "craft-plugin",
5-
"version": "1.2.9",
5+
"version": "1.2.10",
66
"keywords": [
77
"craft",
88
"cms",

src/services/Transcode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ public function getAudioUrl($filePath, $audioOptions): string
350350
.' -acodec '.$thisEncoder['audioCodec']
351351
.' '.$thisEncoder['audioCodecOptions']
352352
.' -bufsize 1000k'
353+
.' -vn'
353354
.' -threads '.$thisEncoder['threads'];
354355

355356
// Set the bitrate if desired

0 commit comments

Comments
 (0)