랭킹으로 돌아가기

m1guelpf/auto-subtitle

Python

Automatically generate and overlay subtitles for any video.

ffmpegopenai-whispersubtitle-generatorsubtitlessubtitles-generatorwhisper
스타 성장
스타
2.3k
포크
364
주간 성장
이슈
75
1k2k
2022년 9월2023년 12월2025년 4월2026년 7월
아티팩트PyPIpip install auto-subtitle
README

Automatic subtitles in your videos

This repository uses ffmpeg and OpenAI's Whisper to automatically generate and overlay subtitles on any video.

Installation

To get started, you'll need Python 3.7 or newer. Install the binary by running the following command:

pip install git+https://github.com/m1guelpf/auto-subtitle.git

You'll also need to install ffmpeg, which is available from most package managers:

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

Usage

The following command will generate a subtitled/video.mp4 file contained the input video with overlayed subtitles.

auto_subtitle /path/to/video.mp4 -o subtitled/

The default setting (which selects the small model) works well for transcribing English. You can optionally use a bigger model for better results (especially with other languages). The available models are tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large.

auto_subtitle /path/to/video.mp4 --model medium

Adding --task translate will translate the subtitles into English:

auto_subtitle /path/to/video.mp4 --task translate

Run the following to view all available options:

auto_subtitle --help

License

This script is open-source and licensed under the MIT License. For more details, check the LICENSE file.

관련 저장소
Genymobile/scrcpy

Display and control your Android device

CApache License 2.0androidc
146.1k13.5k
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

PythonPyPIMIT Licensepythontiktok
98.5k14.6k
obsproject/obs-studio

OBS Studio - Free and open source software for live streaming and screen recording

CGNU General Public License v2.0cc-plus-plus
obsproject.com
74k9.4k
FFmpeg/FFmpeg

Mirror of https://git.ffmpeg.org/ffmpeg.git

COtherffmpegvideo
ffmpeg.org
62.3k14k
mifi/lossless-cut

The swiss army knife of lossless video/audio editing

TypeScriptnpmGNU General Public License v2.0videoeditor
losslesscut.app
42.3k2.1k
calesthio/OpenMontage

World's first open-source, agentic video production system. 12 pipelines, 52 tools, 500+ agent skills. Turn your AI coding assistant into a full video production studio.

PythonPyPIGNU Affero General Public License v3.0agentagentic-ai
openmontage.video
40.9k4.8k
heygen-com/hyperframes

Write HTML. Render video. Built for agents.

TypeScriptnpmApache License 2.0aianimation
36.7k3.5k
mpv-player/mpv

🎥 Command line media player

COthermpvmplayer
mpv.io
36.1k3.4k
bilibili/ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.

CGNU General Public License v2.0ijkplayerandroid
33.2k8.2k
CarGuo/GSYVideoPlayer

Video players (IJKplayer, ExoPlayer, MediaPlayer), HTTPS, 16k page size, danmaku (bullet chat) support, external subtitles, support for filters, watermarks, and GIF screenshots, pre-roll and mid-roll ads, multiple simultaneous playback, basic seeking/dragging, volume and brightness adjustment, play-while-cache support

JavaMavenApache License 2.0androidvideo
21.5k4.3k
alyssaxuu/screenity

The free and privacy-friendly screen recorder with no limits 🎥

JavaScriptnpmGNU General Public License v3.0screen-capturescreencast
screenity.io
18.4k1.5k
ffmpegwasm/ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly

CMIT Licenseffmpegwasm
ffmpegwasm.netlify.app
17.7k1.1k