GithubHelp home page GithubHelp logo

whiw / vatsg Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 27.66 MB

Video Automatic Transcribed to translated Subtitle Generator

License: GNU General Public License v2.0

Python 100.00%
audio-transcription gui translation windows-desktop

vatsg's Introduction

VATSG(Video Automatic Transcribed to translated Subtitle Generator)

Untitled (1) Above Demovideo's source language is Korean and target language is English.

This is the subtitle generator(VATSG) which use moviepy to generate mp3 and then use faster-whisper to get text recognition and then use deepl-api to generate your target language subtitle file(srt format)

If you are a general user who want to view any video file and mp3 file to your language, It will provide way.

Setup

Windows

You can download it in release tab. You can select installer version or uninstalled version which is split compressed because of size policy. I only tested windows 10, It worked well.

Usage

In file tab,

  1. Write your api key(deepl) and then press file open to choose video or drag&drop your video file(mp3 file is ok too)
  2. Select model based on faster-whisper, there are specific specs to select. choose CUDA enable or disable based on your environment.
  3. Write source and target language code. If you don't write source language code, it will automatically detect, But If translation is weird, fill that.
  4. Press generate button. I tested several window10 machine only. But it works fine.
  5. It will generate *.srt file in your video file directory.
  6. Enjoy it! At first generation, Model will be downloaded so it will take some time.

In multifile tab I added multifile tab and you can select files to listbox and can work it sequentially. you don't have to do it one by one. Also, you can edit filelist by 'del' key.

About Language code, please check deepl

Also for your convenience, I made language code text files 'sourcelangcode.txt', 'targetlangcode.txt'

CUDA

Because faster-whisper can use CUDA, If you satisfy CUDA spec, then it will work on it. Just check CUDA and proceed it.

SUPPORT

Since there are much more to improve things, such as not just one file, multifile automatic generation and not generate subtitle but make add subtitle to original video file.

If AI language translation model which shows good quality comes to show, I want to combine it also. Also cli support and mac/linux build and test.

And I have future plan to make android app to connect local program in pc to generate srt file in mobile device.

So, I want you to support me to encourage and motivate this project!

Paypal,

Or you can be member to support me in patreon

vatsg's People

Contributors

whiw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ekakit

vatsg's Issues

WOOWWWWWWWWW!!!

HELLO MAN!WHAT AMAZING PROJECT...MANY CONGRATULATIONS!!!BUT PLEASE CAN YOU TELL ME HOW CAN I RUN THIS?faster-whisper-0.9.0 step by step?and how can I run cuda?please I will preciate it if you answer me!!!

and tell me please something more....there is difference between tiny,base,small etc?

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.