FunASR-powered video transcription, subtitle generation, and LLM-assisted clipping tool with a local Gradio UI.
Python ai-toolsai-video-editingasrauto-subtitleschinesecontent-creationfunasrfunclipgradiollmparaformerspeech-recognitionspeech-to-textsubtitles-generatortranscriptionvideo-editingvideo-processingvideo-subtitlesvideo-transcriptionwhisper-alternative
update readme
维石6d3afdaf6935
diff --git a/README.md b/README.mdindex dbd5396..814f131 100644--- a/README.md+++ b/README.md@@ -21,16 +21,16 @@ You're welcome to try it out, and we look forward to any requests and valuable s- 2023/10/17 Fix bugs in multiple periods chosen, used to return video with wrong length.- 2023/10/10 FunClipper now supports recognizing with speaker diarization ability, choose 'yes' button in 'Recognize Speakers' and you will get recognition results with speaker id for each sentence. And then you can clip out the periods of one or some speakers (e.g. 'spk0' or 'spk0#spk3') using FunClipper.-### Install+## Install🔨-#### Python env install+### Python env install```shell# install Python requirmentspip install -r ./requirments.txt```-#### imagemagick install (Optional)+### imagemagick install (Optional)If you want to clip video file with embedded subtitles@@ -52,9 +52,9 @@ sed -i 's/none/read,write/g' /usr/local/Cellar/imagemagick/7.1.1-8_1/etc/ImageMawget https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ClipVideo/STHeitiMedium.ttc -O font/STHeitiMedium.ttc```-### Use FunClip+## Use FunClip-#### A. Use FunClip as local Gradio Service+### A. Use FunClip as local Gradio ServiceYou can establish your own FunClip service which is same as [Modelscope Space](https://modelscope.cn/studios/iic/funasr_app_clipvideo/summary) as follow:```shellpython funclip/gradio_service.py@@ -67,10 +67,10 @@ then visit ```localhost:7860``` you will get a Gradio service like below and you- Step3: Adjust subtitle settings (if needed)- Step4: Click 'Clip' or 'Clip and Generate Subtitles'-#### B. Experience FunClip in Modelscope+### B. Experience FunClip in ModelscopeYou can try FunClip in modelscope space: [link](https://modelscope.cn/studios/iic/funasr_app_clipvideo/summary).-#### C. Use FunClip in command line+### C. Use FunClip in command lineFunClip supports you to recognize and clip with commands:```shell@@ -89,11 +89,11 @@ python funclip/videoclipper.py --stage 2 \--output_file './output/res.mp4'```-## On Going+## On Going🌵- FunClip will support Whisper model for English users, coming soon.-## Community Communication+## Community Communication🍟If you encounter problems in use, you can directly raise Issues on the github page.diff --git a/README_zh.md b/README_zh.mdindex af6ca62..de6dcb0 100644--- a/README_zh.md+++ b/README_zh.md@@ -19,16 +19,16 @@ FunClip是一款完全开源、本地部署的自动化视频剪辑工具,通- 2024/02/28 FunClip升级到FunASR1.0模型调用方式,通过FunASR开源的SeACo-Paraformer模型在视频剪辑中进一步支持热词定制化功能。- 2024/02/28 原FunASR-APP/ClipVideo更名为FunClip。-### 安装+## 安装🔨-#### Python环境安装+### Python环境安装```shell# 安装相关Python依赖pip install -r ./requirments.txt```-#### 安装imagemagick(可选)+### 安装imagemagick(可选)1. 如果你希望使用自动生成字幕的视频裁剪功能,需要安装imagemagick@@ -49,9 +49,9 @@ sed -i 's/none/read,write/g' /usr/local/Cellar/imagemagick/7.1.1-8_1/etc/ImageMawget https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ClipVideo/STHeitiMedium.ttc -O font/STHeitiMedium.ttc```-### 使用FunClip+## 使用FunClip-#### A.在本地启动Gradio服务+### A.在本地启动Gradio服务```shellpython funclip/launch.py@@ -66,7 +66,7 @@ python funclip/launch.py<img src="docs/images/demo.png"/>-#### B.通过命令行调用使用FunClip的相关功能(更新中)+### B.通过命令行调用使用FunClip的相关功能(更新中)```shell# 步骤一:识别python funclip/videoclipper.py --stage 1 \@@ -83,14 +83,14 @@ python funclip/videoclipper.py --stage 2 \--output_file './output/res.mp4'```-#### C.通过Modelscope创空间体验FunClip+### C.通过Modelscope创空间体验FunClip[funclip创空间](https://modelscope.cn/studios/iic/funasr_app_clipvideo/summary)-## 施工中+## 施工中🌵- FunClip将会集成Whisper模型,以提供英文视频剪辑能力。-## 社区交流+## 社区交流🍟FunClip开源项目由FunASR社区维护,欢迎加入社区,交流与讨论,以及合作开发等。