# MediaSrt 媒体字幕识别分割生成器(桌面版)
## feature 功能
- 识别音视频中的文字并转译成字幕软件
- 可修正自动转译的文字
- 使用腾讯云识别 API 请得到相关配置
- 使用外置 ffmpeg 与 ffprobe 请配置好全局命令
## Global npmrc config for china
```.npmrc
ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/v
ELECTRON_BUILDER_BINARIES_MIRROR=http://npm.taobao.org/mirrors/electron-builder-binaries/
```
## 开发使用
```sh
# 安装包
yarn install
# 使用开发
yarn dev
# 打包发布
yarn build
```
## 开发过程
[DOING: 视频字幕识别与分割 ](https://enjqkboeqf.feishu.cn/mindnotes/bmncnxAjFhPov4m0UISK01EMJAh)
## 截图
![](./doc/tencent-config.png)
![](./doc/upload-media.png)
![](./doc/split-srt.png)
## Template by⚡Vite + Electron & Esbuild Template
This template is used to build vite + electron projects.
**NOTE:** Main process is built with esbuild. After some modifications, it currently supports [`emitDecoratorMetadata`](https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata).
### Motivation
In the past, I've been building desktop clients with [vue](https://v3.vuejs.org/) + [vue-cli-plugin-electron-builder](https://github.com/nklayman/vue-cli-plugin-electron-builder), and they work very well. But as the project volume grows, webpack-based build patterns become slower and slower.
The advent of [vite](https://vitejs.dev/) and [esbuild](https://esbuild.github.io/) greatly improved the development experience and made me feel lightning fast ⚡.
It took me a little time to extract this template and thank you for using it.
### How to use
- Click the [Use this template](https://github.com/ArcherGu/fast-vite-electron/generate) button (you must be logged in) or just clone this repo.
- In the project folder:
```bash
# install dependencies
yarn # npm install
# run in developer mode
yarn dev # npm run dev
# build
yarn build # npm run build
```
### Relative
My blog post:
- [极速 DX Vite + Electron + esbuild](https://archergu.me/posts/vite-electron-esbuild)
- [用装饰器给 Electron 提供一个基础 API 框架](https://archergu.me/posts/electron-decorators)
没有合适的资源?快使用搜索试试~ 我知道了~
精品软件工具--通过腾讯云语音识别工具与Electron + Vitejs + Vue3 + Pinia.js 等完成.zip
共102个文件
ts:54个
vue:23个
json:5个
需积分: 5 0 下载量 137 浏览量
2024-02-17
20:14:15
上传
评论
收藏 360KB ZIP 举报
温馨提示
精品软件工具--通过腾讯云语音识别工具与Electron + Vitejs + Vue3 + Pinia.js 等完成
资源推荐
资源详情
资源评论
收起资源包目录
精品软件工具--通过腾讯云语音识别工具与Electron + Vitejs + Vue3 + Pinia.js 等完成.zip (102个子文件)
index.css 162B
.env 48B
.gitignore 59B
loading.html 893B
index.html 421B
favicon.ico 4KB
font_3176000_p879yxzaky.js 7KB
electron-builder.config.js 710B
electron-builder.github.config.js 503B
package.json 3KB
tsconfig.json 803B
launch.json 389B
tsconfig.main.json 88B
settings.json 63B
LICENSE 1KB
README.md 2KB
.npmrc 188B
split-srt.png 158KB
upload-media.png 28KB
tencent-config.png 23KB
logo.png 9KB
logo.png 9KB
MyController.ts 6KB
transfy.ts 5KB
cos.ts 4KB
utils.ts 4KB
str.ts 3KB
subtitles.ts 3KB
rec.ts 3KB
ffmpeg.ts 3KB
dto.ts 2KB
index.ts 2KB
bootstrap.ts 2KB
build.main.ts 2KB
FileService.ts 2KB
TencentServie.ts 2KB
useRoute.ts 2KB
index.ts 1KB
loading.ts 1KB
app.ts 1KB
express.ts 1KB
file.ts 1KB
store.d.ts 1KB
vite.config.ts 1KB
esbuild.options.ts 1KB
ipc.ts 1KB
route.ts 1KB
transfy.enum.ts 1KB
index.d.ts 892B
main.ts 796B
cos.ts 767B
routes.ts 756B
decorators.ts 747B
image.ts 710B
asr.ts 694B
axios.d.ts 645B
vite-env.d.ts 632B
Upload.data.ts 591B
rec.ts 509B
components.d.ts 501B
file.ts 456B
module.d.ts 443B
index.ts 434B
global.d.ts 410B
shims-vue.d.ts 338B
fs.ts 331B
Config.data.ts 288B
config.ts 265B
index.ts 200B
MyService.ts 190B
index.ts 186B
events.ts 185B
vue-router.d.ts 177B
types.ts 149B
index.ts 47B
index.ts 23B
index.vue 5KB
TransfyItem.vue 5KB
index.vue 4KB
index.vue 4KB
index.vue 3KB
index.vue 3KB
TransfyUploadVideo.vue 2KB
index.vue 2KB
MediaSrt.vue 2KB
ConfigModal.vue 2KB
index.vue 2KB
index.vue 2KB
index.vue 1KB
App.vue 1KB
HelloWorld.vue 1KB
ImpPageContainer.vue 876B
ImpModal.vue 784B
index.vue 722B
index.vue 647B
index.vue 591B
index.vue 518B
DarkModeToggle.vue 458B
Slot.vue 247B
pnpm-lock.yaml 350KB
共 102 条
- 1
- 2
资源评论
码农阿豪
- 粉丝: 1w+
- 资源: 1754
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功