Replies: 7 comments 12 replies
-
苹果m4,卡98%,谢谢大哥的教程。还是用接口吧 |
Beta Was this translation helpful? Give feedback.
-
哈喽大佬,我的运行报着个错咋搞呀 📢 Tips: QFluentWidgets Pro is now released. Click https://qfluentwidgets.com/pages/pro to learn more about it. Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
看来确实只是少装了个 sqlalchemy 而已,一个 |
Beta Was this translation helpful? Give feedback.
-
提示错误 无法将“VideoCaptionerV3.5.2_M1_Mac.7z”解压缩到 |
Beta Was this translation helpful? Give feedback.
-
看完了本楼还是会卡98%,似乎不止是没有sqlalchemy的问题 |
Beta Was this translation helpful? Give feedback.
-
卡98%是另外的一个问题,要解决这个就只能用我的分支了。 |
Beta Was this translation helpful? Give feedback.
-
找到啦!试试用TensorP7大哥的Mac专用版看看怎么样: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
看到有几位大哥都在问有关 Mac 版本的 VideoCaptioner ,于是就想在这里放个教程,让大家可以看看,也希望WEIFENG大哥可以把这样的教程放到 WIKI 里面,毕竟问的人开始多了。
因为我人比较话多,所以这个教程会有点长,各位请耐心看完。因为高手就一早把这软件给装了,看这教程的人我假定是不清楚HomeBrew,Python 等东西的。
首先什么是 HomeBrew 。 一般的苹果软件都是图形界面,但互联网上许多免费和实用的工具都是纯文字的,而苹果电脑正缺乏这些免费工具。HomeBrew 就是一个让你轻松安装这些免费工具的免费工具。
要安装HomeBrew,首先要打开个终端屏幕,在苹果里面,这样的工具一般是这个样子的:
点击终端屏幕后,就出现一个这样的终端屏幕:
你现在就可以一句一句地打命令了。别小看这一句句的,许多强功能都是这样实现的。
第一个命令就是安装 HomeBrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
然后它会问你Mac账号的密码,打入后按回车
接着它会给你最后机会退出,按回车键继续
一大堆的东西出来后,HomeBrew 就安装好了。接下来的工作也就相对简单了。
逐行打入以下命令:
brew install aria2
brew install git
brew install python@3.12
brew install ffmpeg
brew install whisper-cpp
等这五个都安装好后,就逐行打入:
cd Desktop
git clone https://github.com/WEIFENG2333/VideoCaptioner.git
cd VideoCaptioner
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
接着又是一大堆东西安装下来,结束后,打以下命令建立一个 run.command 文件:
echo "cd Desktop/VideoCaptioner&&source venv/bin/activate&&python3 main.py" > run.command
chmod 755 run.command
然后整个安装就大工告成了。需要跑 VideoCaptioner 的话,就进入桌面的VideoCaptioner文件夹,然后跑 run.command 就好。
接下来在配置时,记得语音转录要用 whisper-cpp ,然后下载其large-v2的模型,英语视频的用large-v3-turbo的比较快。
Whisper-CPP 纵有一些毛病,但速度还是不错的,更难得的是它可以在 Intel Mac 跑,也可以在 M1 Mac 上面跑。
Beta Was this translation helpful? Give feedback.
All reactions