[App Sharing] 推荐给用blender的网友,视频剪辑字幕插件的使用方法
Tofloor
poster avatar
qq4945286
deepin
2023-08-06 07:04
Author

直接上视频

https://www.bilibili.com/video/BV1hh4y1F7jk/?spm_id_from=333.999.0.0&vd_source=73aa510057de513a8d1a99b9b27b9a81

下面是插件配制说明以及插件下载

插件地址及介绍 https://github.com/tin2tin/Subtitle_Editor

下载插件:https://codeload.github.com/tin2tin/Subtitle_Editor/zip/refs/heads/main

whisper说明:https://github.com/openai/whisper

whisper配制:https://www.bilibili.com/video/BV1uo4y1N7Um/?spm_id_from=333.999.0.0

如果想用显卡加速的,N卡要安装CUDA a卡安装rocm 不想用显卡加速的直接安装cpu的

安装 pytorch

如果想用显卡加速的,N卡要安装CUDA a卡安装rocm 不想用显卡加速的直接安装cpu的

cuda的安装方法,网上自己找一下

rocm可以参考amd官网,如果是deepin系统还debian一类的可以参考我这个 https://www.bilibili.com/video/BV1284y1p7GM/?spm_id_from=333.999.0.0&vd_source=73aa510057de513a8d1a99b9b27b9a81

源换成这个 deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.4.2 focal main

https://pytorch.org/

安装:pysubs2 SRTranslator openai-whisper ffmpeg

ffmpeg安装 sudo apt install ffmpeg

先要安装python-pip

我的是deepin linux系统,先设置一下路径

echo 'export PATH=/home/deepin(改成自己的用户名,打开终端就能看到)/.local/bin:$PATH' >>~/.bashrc

source ~/.bashrc

安装sudo apt install python3-pip

升级python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U pip

安装vosk pysubs2 SRTranslator openai-whisper setuptools-rust

python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -U vosk

模型文件一共有五个,有很少的也有很大的,我已经上传到网盘,方便下载。

天翼:https://cloud.189.cn/web/share?code=JFNBniA7VfQb(访问码:cqn4)

如果字幕翻译出来是繁体中文

修改一下_init_.py文件

把里面的"zh", "Chinese", "" 全部替换为 "zh", "Chinese", "--initial_prompt"

如果不满意字幕的位置,直接修改__init__.py 它的默认Y轴的高是0.25

如果你是windows或者macos系统的,自己网上找一下安装python 和python-pip的方法,以及用法,还有安装ffmpeg的。

blender设置和用法都是通用的。

Reply Favorite View the author
All Replies
熊爷不是好惹的
deepin
2023-08-06 07:09
#1

agreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagreeagree

Reply View the author
阿尼樱奈奈
Moderator
2023-08-06 07:28
#2

ok

Reply View the author
青稚
deepin
2023-08-06 14:02
#3

like

Reply View the author
包包
deepin
2023-09-10 02:04
#4

like

Reply View the author
蒙笛
deepin
2023-09-10 07:00
#5

thanks

Reply View the author
wxinping
deepin
2023-12-08 00:31
#6

视频类的压缩包在那里可以下载

Reply View the author