Documentation
README
TikTok 视频转录 Skill
将 TikTok 视频下载音频,用 SenseVoice-Small 转录为文字,存为 Markdown 文件。
环境要求
pip install funasr modelscope torch torchaudio
brew install ffmpeg yt-dlp # macOS
使用方法
python scripts/transcribe.py "https://www.tiktok.com/@user/video/xxxxx"
python scripts/transcribe.py "https://vm.tiktok.com/xxxxx"
流程
- yt-dlp 下载 TikTok 音频
- SenseVoice-Small 转录
- 生成带 frontmatter 的 Markdown
已知限制
- TikTok 有地区限制,部分内容可能无法访问(脚本已默认
--geo-bypass) - 脚本用
language=auto自动识别中英文;但 SenseVoice-Small 对中文识别最佳,纯英文长视频建议改用 youtube-transcribe(含 Whisper + 翻译)
致谢
- yt-dlp/yt-dlp — 视频下载工具
- FunAudioLLM/SenseVoice — 语音识别模型
⚖️ 合规声明
This is the opening of the README. Read the full README on GitHub.