Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kizx/subtitle2audio
字幕朗读,由字幕或文本生成语音 | Subtitle reading, generate audio from subtitles or text
https://github.com/kizx/subtitle2audio
audio subtitles
Last synced: 12 days ago
JSON representation
字幕朗读,由字幕或文本生成语音 | Subtitle reading, generate audio from subtitles or text
- Host: GitHub
- URL: https://github.com/kizx/subtitle2audio
- Owner: kizx
- License: lgpl-3.0
- Created: 2020-01-27T12:51:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T14:01:50.000Z (about 2 years ago)
- Last Synced: 2024-08-01T18:37:16.932Z (3 months ago)
- Topics: audio, subtitles
- Language: Python
- Homepage:
- Size: 1.9 MB
- Stars: 84
- Watchers: 2
- Forks: 27
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [subtitle2audio](https://github.com/kizx/subtitle2audio)
字幕朗读,由字幕或文本生成语音 | Subtitle reading, generated audio from subtitles
更多说明见 [我的博客](https://www.2bboy.com/archives/210.html)![](https://www.2bboy.com/usr/uploads/2021/01/2091177316.png)
## 使用
[下载地址](https://github.com/kizx/subtitle2audio/releases)
使用前需自行注册获取相关密钥## 打包
pydub库修改`audio_segment.py`和`utils.py`中subprocess.Popen()参数
```
shell=True, stdin=subprocess.PIPE
```打包命令
```
pyinstaller -w -F -i ./static/logo.ico -n 字幕朗读器 main.py
```## 更新日志
v1.0 接入百度语音,命令行启动
v1.1 引入 flask,添加 web 界面
v2.0 使用qt界面
v2.1 添加阿里云语音接口
v2.2 修复无响应假死,阿里云改用多线程
v2.4 添加新的语音库
v3.0 添加TXT文本转换,修复阿里云语音,添加讯飞云语音,删除bal语音