内容创作
#video
video-to-text
Tool for extracting speech text from video with timestamps. Use when asked to transcribe video, extract subtitles, generate transcript from video, or convert video speech to text.
DeepseekModel
官方收录技能
质量 良好 · 48
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=fnaith-painting-goblin-tools-video-to-text-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name video-to-text description Tool for extracting speech text from video with timestamps. Use when asked to transcribe video, extract subtitles, generate transcript from video, or convert video speech to text. Video to Text Extracts speech text from video files using OpenAI Whisper and outputs a transcript with timestamps. When to Use This Skill You need to extract spoken words from a video file You want a timestamped transcript for subtitles or analysis You need to convert video speech to text for further processing You have a video file and want to generate a text transcript Prerequisites Python 3.8+ ffmpeg installed and available in PATH Internet connection (for downloading Whisper models on first run) Usage The tool is located at tools/video-to-text/video-to-text.py . Command Line Arguments python video-to-text.py <VIDEO_PATH> <OUTPUT_DIR> VIDEO_PATH : Path to the input video file (supports most formats) OUTPUT_DIR : Directory where the transcript text file will be saved Example python tools/video-to-text/video-to-text.py "path/to/video.mp4" "output/folder" The output file will be named after the video file (e.g., video.txt ) and placed in the output directory. Features Automatically creates output directory if it doesn't exist Extracts audio from video using ffmpeg (mono, 16kHz WAV) Transcribes using OpenAI Whisper (base model by default) Outputs timestamps in HH:mm:ss format Handles various video formats supported by ffmpeg Clean error messages and progress indicators Output Format Each line in the output text file has the format: [HH:mm:ss] Transcribed text here Example: [00:00:00] Hello world [00:00:02] This is a test Troubleshooting Unicode Path Issues on Windows If the video file path contains non-ASCII characters (e.g., Japanese, Chinese), you may encounter encoding issues on Windows command prompt. Consider: Renaming the file to use ASCII characters Using short paths (8.3 format) Running from PowerShell or WSL ffmpeg Not Found Ensure ffmpeg is installed and available in your PATH. You can test with: ffmpeg -version Whisper Model Download Failures The first run downloads the Whisper model (base, ~150MB). Ensure you have internet connectivity and sufficient disk space. Performance Transcription speed depends on video length and CPU. For long videos, consider using a smaller model (edit script to use "tiny" or "small"). Customization You can modify the script to use different Whisper models by changing the line: model = whisper.load_model( "base" ) # Change to "tiny", "small", "medium", "large" References OpenAI Whisper FFmpeg MoviePy
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |