whisper使用方法

看这个 github

复制代码
https://github.com/Purfview/whisper-standalone-win/tags

下载

bash 复制代码
视频提取音频
ffmpeg -i 222.mp4 -vn -b:a 128k -c:a mp3 output.mp3

截取4秒后的音频 
ffmpeg -i output.mp3 -ss 4 -c copy output2.mp3

使用 whisper-faster.exe  生成字幕 

whisper-faster.exe C:\Users\pc\Videos\Captures\output3.mp3 -l=Chinese --model=medium --output_format srt

缺少插件解决方法

bash 复制代码
cudnn_ops_infer64_8.dll 
cublasLt64_11.dll
cublasLt64_12.dll
下载这个
cuBLAS.and.cuDNN_win_v3.zip

完整目录形式

生成srt

bash 复制代码
1
00:00:00,920 --> 00:00:02,000
其實這兩年

2
00:00:02,680 --> 00:00:03,680
在電影方面

3
00:00:03,680 --> 00:00:06,360
其實都是想嘗試一些
相关推荐
山烛13 分钟前
KNN 算法中的各种距离:从原理到应用
人工智能·python·算法·机器学习·knn·k近邻算法·距离公式
guozhetao25 分钟前
【ST表、倍增】P7167 [eJOI 2020] Fountain (Day1)
java·c++·python·算法·leetcode·深度优先·图论
墨染点香31 分钟前
第七章 Pytorch构建模型详解【构建CIFAR10模型结构】
人工智能·pytorch·python
阿什么名字不会重复呢1 小时前
在线工具+网页平台来学习和操作Python与Excel相关技能
python·数据分析
Vertira1 小时前
python 阿里云 安装 dashscope的简介、安装
开发语言·python
gc_22992 小时前
学习Python中Selenium模块的基本用法(1:简介)
python·selenium
先做个垃圾出来………3 小时前
2116. 判断一个括号字符串是否有效
python
兮℡檬,3 小时前
房价预测|Pytorch
人工智能·pytorch·python
im_AMBER7 小时前
学习日志19 python
python·学习
mortimer10 小时前
安装NVIDIA Parakeet时,我遇到的两个Pip“小插曲”
python·github