Giter Club home page Giter Club logo

auto_ai_subtitle's Introduction

auto ai subtitle translator

0909更新

新增指定whisper model功能,支持使用huggingface下载的自定义model

简介

ai字幕生成,字幕翻译 基于openai/whisper、translate、ffmpeg,自动为视频生成翻译过后的srt字幕文件,支持自定义各种语言

功能

1.基于视频中的语音直接生成字幕文件
2.翻译字幕文件

使用方法

安装 ffmpeg

安装依赖 pip install -r requirements.txt

将配置信息填入 config.yaml

执行 python main.py

效果

原视频:

img.png

执行脚本后生成以下文件:

img_2.png

添加生成的字幕文件后:

img_1.png

TODO

提高结果准确度

GUI支持

auto_ai_subtitle's People

Contributors

kubbistar avatar qinl-cdy avatar yangtzech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.