GithubHelp home page GithubHelp logo

derrick56007 / getsub Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 55 KB

Download and sync subtitles automatically using Voice Activity Detection

Home Page: https://hub.docker.com/r/derrick56007/getsub

Dockerfile 0.50% Python 99.50%
subtitles subtitle-correction subtitle-downloader voice-activity-detection ffmpeg subtitles-search docker python

getsub's Introduction

GetSub

master

GetSub is a tool written in Python to help you download subtitles in any language and sync automatically using Voice Activity Detection via py-webrtcvad.

Subtitle search utilizes the OpenSubtitleDownload.py script written by emericg to precisely identify your video files and download the correct subtitle. The subtitles search and download server is opensubtitles.org.

Features

  • Supports 60 languages! The official list can be found here
  • Available as Docker image

Requirements

  • python3+
  • ffmpeg
  • gcc
  • pip

or if Docker is preferred:

Install

git clone https://github.com/Derrick56007/getsub.git
cd getsub/
apt-get install -y gcc ffmpeg
pip install -r requirements.txt

Docker:

docker pull derrick56007/getsub:latest

Usage

python run.py files/$VIDEO_FILE.mp4 $LANG

Docker:

docker run -tiv /$VIDEO_DIR:/files derrick56007/getsub:latest /files/$VIDEO_FILE.mp4 $LANG

Example

python run.py /Users/derrick/videos/Game.of.Thrones.S02E09.1080p.BluRay.x265.10bit.6CH.ReEnc-LUMI.mkv eng

Docker:

docker run -tiv /Users/derrick/videos:/files derrick56007/getsub:latest /files/Game.of.Thrones.S02E09.1080p.BluRay.x265.10bit.6CH.ReEnc-LUMI.mkv eng

Credits

This project would not be possible without the following libraries:

getsub's People

Contributors

derrick56007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

getsub's Issues

how can I make it work?

I have that issue

Traceback (most recent call last):
  File "run.py", line 7, in <module>
    from get_sub import GetSub
  File "src\get_sub.py", line 8, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

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.