Skip to content

Commit

Permalink
Fix #70 Auditok option issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BingLingGroup committed Dec 22, 2019
1 parent 6118b98 commit bb93549
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## TOC

- [Unreleased](#unreleased)
- [Changed](#changedunreleased)
- [0.5.2-alpha - 2019-11-05](#052-alpha---2019-11-05)
- [Added](#added052-alpha)
- [Changed](#changed052-alpha)
Expand All @@ -26,6 +28,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Click up arrow to go back to TOC.

### [Unreleased]

### Changed(Unreleased)

- Fix excessive transcoding time issue.
- Fix Auditok option issues.

### [0.5.2-alpha] - 2019-11-05

### Added(0.5.2-alpha)
Expand Down
6 changes: 3 additions & 3 deletions autosub/cmdline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,9 @@ def audio_or_video_prcs( # pylint: disable=too-many-branches, too-many-statemen
regions = core.auditok_gen_speech_regions(
audio_wav=audio_wav,
energy_threshold=args.energy_threshold,
min_region_size=constants.MIN_REGION_SIZE,
max_region_size=constants.MAX_REGION_SIZE,
max_continuous_silence=constants.DEFAULT_CONTINUOUS_SILENCE,
min_region_size=args.min_region_size,
max_region_size=args.max_region_size,
max_continuous_silence=args.max_continuous_silence,
mode=mode
)
os.remove(audio_wav)
Expand Down
7 changes: 7 additions & 0 deletions docs/CHANGELOG.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@

点击上箭头以返回目录。

### [未发布]

### 改动(未发布)

- 修复ffmpeg参数导致的过长转码时间问题。
- 修复Auditok选项问题。

### [0.5.2-alpha] - 2019-11-05

### 添加(0.5.2-alpha)
Expand Down

0 comments on commit bb93549

Please sign in to comment.