Transcribe and Translate Your Video with a Single Click
Offical Website »
Try Demo
·
Report Bug
·
Request Feature
Introducing ViDove, a pioneering video automated machine translation toolkit, meticulously crafted for professional domains. Developed by Pigeon.AI, ViDove promises rapid, precise, and relatable translations, revolutionizing the workflow of subtitle groups and translation professionals. It's an open-source tool, offering unparalleled flexibility, transparency, and security, alongside scalable architecture for customization. Featuring domain adaptation, ViDove effortlessly adjusts to various professional fields, and its end-to-end pipeline turns video links into captioned content with a single click. ViDove is not just a translation tool; it's a bridge connecting content across languages, making video translation more accessible, efficient, and accurate than ever.
Here's why:
We recommend you use UNIX like operating systems(MacOS/Linux Family) for local installation.
git clone https://github.com/project-kxkg/ViDove.git
cd ViDove
conda create -n ViDove python=3.10 -y
conda activate ViDove
pip install --upgrade pip
pip install -r requirements.txt
Enter your API in bash
UNIX Like:
export OPENAI_API_KEY="your_api_key"
Windows:
set OPENAI_API_KEY="your_api_key"
Install FFmpeg:
Download FFmpeg here
For more specfic guide on FFmpeg installation on different platforms: Click Here | 点击此处
We recommand you use Chocolatey Package Manager to install ffmpeg
python3 entries/app.py
python3 entries/run.py --link "your_youtube_link"
python3 entries/run.py --video_file path/to/video_file
python3 entries/run.py --audio_file path/to/audio_file
Terminal Usage:
usage: run.py [-h] [--link LINK] [--video_file VIDEO_FILE] [--audio_file AUDIO_FILE] [--launch_cfg LAUNCH_CFG] [--task_cfg TASK_CFG]
options:
-h, --help show this help message and exit
--link LINK youtube video link here
--video_file VIDEO_FILE
local video path here
--audio_file AUDIO_FILE
local audio path here
--launch_cfg LAUNCH_CFG
launch config path
--task_cfg TASK_CFG task config path
Use "--launch_cfg" and "--task_cfg" in run.py to change launch or task configuration
# launch config for local environment
local_dump: ./local_dump # change local dump dir here
environ: local
configs/task_config.yaml
copy and change this config for different configuration
# configuration for each task
source_lang: EN
target_lang: ZH
field: General
# ASR config
ASR:
ASR_model: whisper
whisper_config:
whisper_model: tiny
method: stable
# pre-process module config
pre_process:
sentence_form: True
spell_check: False
term_correct: True
# Translation module config
translation:
model: gpt-4
chunk_size: 1000
# post-process module config
post_process:
check_len_and_split: True
remove_trans_punctuation: True
# output type that user receive
output_type:
subtitle: srt
video: True
bilingual: True
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the GPL-3.0 license. See LICENSE
for more information.
Developed by Pigeon.AI🐦 from Star Pigeon Fan-sub Group.
See Our Bilibili Account
Official Email: gggzmz@163.com