Skip to content
프로젝트

소개

AI가 생성한 전사 자막을 동영상에 손쉽게 추가합니다

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Decipher 📺️

AI-generated transcription subtitles are a way to automatically add subtitles to your videos by using artificial intelligence to transcribe the audio from the video. This eliminates the need for manual transcription and can make your videos more accessible to a wider audience. Decipher uses whisper to transcribe the audio taken from the video and create subtitles

What is whisper?

Whisper is an automatic State-of-the-Art speech recognition system from OpenAI that has been trained on 680,000 hours of multilingual and multitask supervised data collected from the web. This large and diverse dataset leads to improved robustness to accents, background noise and technical language.

Getting Started

There are two different ways to begin using decipher, depending on your preferences:

Google Colab

Open In Colab

Notes:

  • Requires a (free) Google account
  • Instructions are embedded in the Colab Notebook

Google Colab is a cloud-based platform for machine learning and data science, for free without the need for a powerful GPU of your own. It offers the option to borrow a powerful GPU (Tesla K80, T4, P4, or P100) on their server for free for a maximum of 12 hours per session. For those who require even more powerful GPUs and longer runtimes, Colab Pro/Pro+ options are available.

Manual

Dependencies

Installation

pip install git+https://github.com/dsymbol/decipher

or

git clone https://github.com/dsymbol/decipher
cd decipher && pip install . 

Note: Do NOT use 'pip install decipher'. It installs a different package.

GUI (gradio) usage

decipher gui
# or
python -m decipher gui

Command-line usage

The transcribe subcommand allows you to transcribe a video file into a SubRip Subtitle (SRT) file. It also has the option to automatically add the generated subtitles to the video.

The subtitle subcommand allows you to add subtitles to a video using an already existing SRT file. This subcommand does not perform transcription, but rather assumes that the SRT file has already been created. It is typically used by people who want to validate the accuracy of a transcription generated by the transcribe subcommand.

To get started right away:

decipher --help

You can run decipher as a package if running it as a script doesn't work:

python -m decipher --help

Command-line examples:

Generate SRT subtitles for video:

decipher transcribe -i video.mp4 --model small

Burn generated subtitles into video:

decipher subtitle -i video.mp4 --subtitle_file video.srt --subtitle_action burn

Generate and burn subtitles into video without validating transcription:

decipher transcribe -i video.mp4 --model small --subtitle_action burn

관련 프로젝트 살펴보기

불러오는 중…