Skip to content

FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.

update win imagemagick

维石bdddc6c83ceb
diff --git a/README.md b/README.md
index 28cfd8b..d2e2568 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,7 @@
### Python环境安装
+FunClip的运行仅依赖于一个Python环境,若您是一个小白开发者,可以先了解下如何使用Python,pip等~
```shell
# 克隆funclip仓库
git clone https://github.com/alibaba-damo-academy/FunClip.git
@@ -79,8 +80,11 @@ sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
brew install imagemagick
sed -i 's/none/read,write/g' /usr/local/Cellar/imagemagick/7.1.1-8_1/etc/ImageMagick-7/policy.xml
```
+- Windows
+首先下载并安装imagemagick https://imagemagick.org/script/download.php#windows
+然后确定您的Python安装位置,在其中的`site-packages\moviepy\config_defaults.py`文件中修改`IMAGEMAGICK_BINARY`为imagemagick的exe路径
-2. 下载你需要的字体文件,这里我们提供一个默认的黑体字体文件
+1. 下载你需要的字体文件,这里我们提供一个默认的黑体字体文件
```shell
wget https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ClipVideo/STHeitiMedium.ttc -O font/STHeitiMedium.ttc
diff --git a/README_en.md b/README_en.md
index cb5b1d0..f3b2b48 100644
--- a/README_en.md
+++ b/README_en.md
@@ -83,7 +83,11 @@ sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
brew install imagemagick
sed -i 's/none/read,write/g' /usr/local/Cellar/imagemagick/7.1.1-8_1/etc/ImageMagick-7/policy.xml
```
-2. Download font file to funclip/font
+- On Windows
+Download and install imagemagick https://imagemagick.org/script/download.php#windows
+Find your python install path and change the `IMAGEMAGICK_BINARY` to your imagemagick install path in file `site-packages\moviepy\config_defaults.py`
+
+1. Download font file to funclip/font
```shell
wget https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ClipVideo/STHeitiMedium.ttc -O font/STHeitiMedium.ttc