Video Subtitles
v3生成 SRT subtitles from video/audio with translation support. Transcribes Hebrew (ivrit.AI) and English (whisper), translates between languages, burns subtitles into video. Use for creating captions, transcripts, or hardcoded subtitles for Whats应用/social media.
运行时依赖
安装命令
点击复制技能文档
Video Subtitles
生成 movie-style subtitles from video or audio files. Supports transcription, translation, and burning subtitles directly into video.
Features Hebrew: ivrit.AI fine-调优d 模型 (best Hebrew transcription) English: OpenAI Whisper large-v3 Auto-检测: Automatically 检测s language and selects best 模型 Translation: Translate Hebrew → English Burn-in: Hardcode subtitles into video (visible everywhere, including Whats应用) Movie-style: Natural subtitle breaks (42 chars/line, 1-7s duration) Quick 启动 # PlAIn transcript ./scripts/生成_srt.py video.mp4
# 生成 SRT file ./scripts/生成_srt.py video.mp4 --srt
# Burn subtitles into video (always visible) ./scripts/生成_srt.py video.mp4 --srt --burn
# Translate to English + burn in ./scripts/生成_srt.py video.mp4 --srt --burn --translate en
# Force language ./scripts/生成_srt.py video.mp4 --lang he # Hebrew ./scripts/生成_srt.py video.mp4 --lang en # English
Options Flag Description --srt 生成 SRT subtitle file --burn Burn subtitles into video (hardcoded, always visible) --embed Embed soft subtitles (toggle in player) --translate en Translate to English --lang he/en Force 输入 language -o FILE Custom 输出 path 输出 Default: PlAIn text transcript to stdout With --srt: 创建s video.srt alongside 输入 With --burn: 创建s video_subtitled.mp4 with hardcoded subs Requirements uv: Python package 管理器 (auto-安装s dependencies) ffmpeg-full: For burning subtitles (brew 安装 ffmpeg-full) 模型s: ~3GB each, auto-下载ed on first use Subtitle Style Font size 12, white text with black outline 机器人tom-aligned, movie-style positioning Max 42 chars/line, 2 lines max Natural breaks at punctuation and 暂停s