shorts-creator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Shorts Creator - Social Media Clip Generator

Shorts Creator - 社交媒体短视频生成工具

Transform full-length music videos into platform-optimized vertical clips for Instagram Reels, TikTok, and YouTube Shorts.
将完整音乐视频转换为适配Instagram Reels、TikTok和YouTube Shorts的平台优化版竖版短视频。

Workflow

工作流程

1. Input Requirements

1. 输入要求

Required:
  • Full music video MP4 (from music-video-producer)
  • Lyrics file (.srt or plain text)
  • Audio file (MP3/WAV)
  • Scene plan JSON (from creative-director)
Optional:
  • Target platforms (Instagram/TikTok/YouTube/All)
  • Clip strategy (chorus-focused, lyric highlights, full song segments)
  • Brand overlays (logo, CTA, @handle)
必填项:
  • 完整音乐视频MP4文件(来自音乐视频制作方)
  • 歌词文件(.srt格式或纯文本)
  • 音频文件(MP3/WAV格式)
  • 场景规划JSON文件(来自创意总监)
可选项:
  • 目标平台(Instagram/TikTok/YouTube/全部)
  • 片段选择策略(聚焦副歌、歌词亮点、完整歌曲片段)
  • 品牌叠加元素(logo、行动号召CTA、@账号)

2. Clip Selection Strategy

2. 片段选择策略

Auto-detect best moments:
  1. Chorus/Hook - Most repeatable, catchy section
  2. Lyric highlights - Powerful lines with visual impact
  3. First 15 seconds - Hook viewers immediately
  4. Peak energy moments - Musical climax, beat drops
Manual selection:
  • Specify timestamp ranges (e.g., "1:15-1:45")
  • Choose specific scenes by number
  • Target specific lyrics
自动检测最佳片段:
  1. 副歌/钩子片段 - 最具重复性、抓耳的段落
  2. 歌词亮点 - 具有视觉冲击力的有力歌词
  3. 前15秒内容 - 立即吸引观众注意力
  4. 高能时刻 - 音乐高潮、节拍下降点
手动选择:
  • 指定时间范围(例如:"1:15-1:45")
  • 按场景编号选择特定片段
  • 定位特定歌词对应的画面

3. Platform Specifications

3. 平台规格要求

Instagram Reels:
  • Aspect ratio: 9:16 (1080x1920)
  • Duration: 15-90 seconds (optimal: 30-45s)
  • Format: MP4, H.264
  • Max file size: 4GB
TikTok:
  • Aspect ratio: 9:16 (1080x1920)
  • Duration: 15-60 seconds (optimal: 21-34s)
  • Format: MP4, H.264
  • Max file size: 287MB
YouTube Shorts:
  • Aspect ratio: 9:16 (1080x1920)
  • Duration: Up to 60 seconds
  • Format: MP4, H.264
  • Max file size: 256GB
Instagram Reels:
  • 宽高比:9:16(1080x1920)
  • 时长:15-90秒(最佳:30-45秒)
  • 格式:MP4、H.264
  • 最大文件大小:4GB
TikTok:
  • 宽高比:9:16(1080x1920)
  • 时长:15-60秒(最佳:21-34秒)
  • 格式:MP4、H.264
  • 最大文件大小:287MB
YouTube Shorts:
  • 宽高比:9:16(1080x1920)
  • 时长:最长60秒
  • 格式:MP4、H.264
  • 最大文件大小:256GB

4. Clip Generation Process

4. 短视频生成流程

Using FFmpeg (via script):
bash
undefined
使用FFmpeg(通过脚本):
bash
undefined

Extract segment (1:15 to 1:45)

提取片段(1:15至1:45)

python scripts/extract_clip.py
--input full-video.mp4
--start 75
--duration 30
--output clip-01.mp4
python scripts/extract_clip.py
--input full-video.mp4
--start 75
--duration 30
--output clip-01.mp4

Convert to vertical 9:16

转换为9:16竖版

python scripts/reframe_vertical.py
--input clip-01.mp4
--output clip-01-vertical.mp4
--strategy zoom-center
python scripts/reframe_vertical.py
--input clip-01.mp4
--output clip-01-vertical.mp4
--strategy zoom-center

Add platform branding

添加平台品牌元素

python scripts/add_branding.py
--input clip-01-vertical.mp4
--output clip-01-final.mp4
--platform instagram
--logo assets/psalmix-logo.png
--cta "Full video on YouTube 🎵"
undefined
python scripts/add_branding.py
--input clip-01-vertical.mp4
--output clip-01-final.mp4
--platform instagram
--logo assets/psalmix-logo.png
--cta "Full video on YouTube 🎵"
undefined

5. Re-framing Strategies

5. 画面重构图策略

Options for landscape → vertical:
A. Zoom & Pan (Recommended)
  • Zoom into video center
  • Crops sides, keeps focus on main subject
  • Smooth pan follows action/lyrics
  • Best for: Videos with centered subjects
B. Letterbox with Background
  • Add blurred/colored background
  • Original video stays 16:9 in center
  • Fills vertical space with aesthetic bars
  • Best for: Scenic, wide-shot videos
C. Split Screen
  • Top 50%: Original video (small)
  • Bottom 50%: Zoomed/cropped detail
  • Best for: Lyric-focused content
D. Dynamic Crop
  • Intelligently crops to follow motion
  • AI-detects faces/main subjects
  • Keeps important content in frame
  • Best for: Action-heavy videos
横版转竖版的可选方案:
A. 缩放与平移(推荐)
  • 放大视频中心区域
  • 裁剪两侧画面,聚焦主体
  • 平滑平移跟随动作/歌词
  • 最佳适用:主体居中的视频
B. 添加背景的信箱模式
  • 添加模糊/纯色背景
  • 原始16:9视频保留在中心
  • 用美观的填充条补全竖版空间
  • 最佳适用:风景、宽镜头视频
C. 分屏模式
  • 上半部分50%:小尺寸原始视频
  • 下半部分50%:放大/裁剪的细节画面
  • 最佳适用:歌词聚焦类内容
D. 智能动态裁剪
  • 智能裁剪跟随画面运动
  • AI检测人脸/主要主体
  • 确保重要内容始终在画面内
  • 最佳适用:动作密集型视频

6. Overlay Elements

6. 叠加元素

Platform-specific CTAs:
  • Instagram: "Full song on YouTube 🎵 Link in bio"
  • TikTok: "Full video on my page! #PsalMix"
  • YouTube: "Subscribe for more clean music 🎶"
Branding:
  • Logo: Lower right corner (small, 10% opacity)
  • Handle: Bottom center "@psalmix" (last 3 seconds)
  • Artist credit: Top overlay "Song: [Title] by [Artist]"
Engagement hooks:
  • First 2 seconds: "Wait for the drop 🔥"
  • Last 3 seconds: "Tag someone who needs this ❤️"
  • Mid-clip: "Send this to your bestie 💯"
平台专属行动号召(CTA):
  • Instagram:"完整歌曲请上YouTube 🎵 链接在简介"
  • TikTok:"完整视频在我的主页!#PsalMix"
  • YouTube:"订阅获取更多优质音乐 🎶"
品牌元素:
  • Logo:右下角(小尺寸,10%透明度)
  • 账号:底部中心"@psalmix"(最后3秒显示)
  • 艺人署名:顶部叠加"歌曲:[标题] 演唱:[艺人]"
互动钩子:
  • 前2秒:"等待高潮 🔥"
  • 最后3秒:"标记需要这个的人 ❤️"
  • 视频中段:"转发给你的好友 💯"

7. Batch Processing

7. 批量处理

Generate multiple clips from one video:
bash
python scripts/batch_clips.py \
  --input full-video.mp4 \
  --scene-plan scene-plan.json \
  --strategy chorus-focus \
  --platforms instagram,tiktok,youtube \
  --output-dir clips/
Outputs:
clips/
├── instagram/
│   ├── chorus-15s.mp4
│   ├── hook-30s.mp4
│   └── lyric-highlight-45s.mp4
├── tiktok/
│   ├── chorus-21s.mp4
│   └── hook-30s.mp4
└── youtube/
    ├── chorus-30s.mp4
    └── full-song-60s.mp4
从单个视频生成多个短视频:
bash
python scripts/batch_clips.py \
  --input full-video.mp4 \
  --scene-plan scene-plan.json \
  --strategy chorus-focus \
  --platforms instagram,tiktok,youtube \
  --output-dir clips/
输出结果:
clips/
├── instagram/
│   ├── chorus-15s.mp4
│   ├── hook-30s.mp4
│   └── lyric-highlight-45s.mp4
├── tiktok/
│   ├── chorus-21s.mp4
│   └── hook-30s.mp4
└── youtube/
    ├── chorus-30s.mp4
    └── full-song-60s.mp4

8. Optimization Best Practices

8. 优化最佳实践

For maximum engagement:
  • First 3 seconds: Hook viewer with best moment
  • Captions ON: 85% watch without sound
  • High contrast: Pops on small screens
  • Bold text: Readable on mobile
  • Trending audio: Use original audio + hashtags
For algorithm:
  • Post at peak times (7-9pm)
  • Use 3-5 relevant hashtags
  • Engage in comments within 1 hour
  • Cross-post to Stories
  • Pin top-performing clips
最大化互动量:
  • 前3秒: 用最佳片段抓住观众注意力
  • 开启字幕: 85%的观众静音观看
  • 高对比度: 在小屏幕上更醒目
  • 粗体文字: 移动端清晰可读
  • 热门音频: 使用原始音频+话题标签
算法优化:
  • 高峰时段发布(晚7-9点)
  • 使用3-5个相关话题标签
  • 1小时内回复评论互动
  • 跨平台分享至动态(Stories)
  • 置顶表现最佳的短视频

Scripts

脚本说明

scripts/extract_clip.py

scripts/extract_clip.py

Extract time segment from full video:
bash
python scripts/extract_clip.py \
  --input video.mp4 \
  --start 75 \
  --duration 30 \
  --output clip.mp4
从完整视频中提取时间段片段:
bash
python scripts/extract_clip.py \
  --input video.mp4 \
  --start 75 \
  --duration 30 \
  --output clip.mp4

scripts/reframe_vertical.py

scripts/reframe_vertical.py

Convert landscape to 9:16 vertical:
bash
python scripts/reframe_vertical.py \
  --input clip.mp4 \
  --output vertical.mp4 \
  --strategy zoom-center
将横版视频转换为9:16竖版:
bash
python scripts/reframe_vertical.py \
  --input clip.mp4 \
  --output vertical.mp4 \
  --strategy zoom-center

scripts/add_branding.py

scripts/add_branding.py

Add logo, CTA, platform-specific overlays:
bash
python scripts/add_branding.py \
  --input vertical.mp4 \
  --output branded.mp4 \
  --platform instagram \
  --logo logo.png
添加Logo、CTA和平台专属叠加元素:
bash
python scripts/add_branding.py \
  --input vertical.mp4 \
  --output branded.mp4 \
  --platform instagram \
  --logo logo.png

scripts/batch_clips.py

scripts/batch_clips.py

Generate multiple clips automatically:
bash
python scripts/batch_clips.py \
  --input video.mp4 \
  --scene-plan scene-plan.json \
  --platforms instagram,tiktok \
  --output-dir clips/
自动生成多个短视频:
bash
python scripts/batch_clips.py \
  --input video.mp4 \
  --scene-plan scene-plan.json \
  --platforms instagram,tiktok \
  --output-dir clips/

Reference Files

参考文件

  • references/platform-specs.md
    - Detailed requirements for each platform
  • references/ffmpeg-commands.md
    - Common FFmpeg recipes for video editing
  • references/engagement-hooks.md
    - Proven text overlays and CTAs
  • references/platform-specs.md
    - 各平台详细要求
  • references/ffmpeg-commands.md
    - 常用FFmpeg视频编辑方案
  • references/engagement-hooks.md
    - 经过验证的文本叠加和CTA模板

PsalMix Branding

PsalMix品牌规范

Logo placement:
  • Position: Lower right corner
  • Size: 80x80px
  • Opacity: 15% (subtle)
  • Duration: Full clip
Colors:
  • Primary: #667eea (Purple gradient)
  • Text: White with black shadow
  • Background: Dark overlay (50% opacity) for readability
CTAs:
  • "Stream clean music at psalmix.com 🎵"
  • "Christian music you can trust ✨"
  • "Family-friendly vibes only 🙏"
Logo放置:
  • 位置:右下角
  • 尺寸:80x80px
  • 透明度:15%(低存在感)
  • 显示时长:整个视频
配色:
  • 主色:#667eea(紫色渐变)
  • 文字:白色带黑色阴影
  • 背景:深色叠加层(50%透明度)提升可读性
行动号召(CTA):
  • "前往psalmix.com收听优质音乐 🎵"
  • "值得信赖的基督教音乐 ✨"
  • "仅限家庭友好氛围 🙏"

Quality Checklist

质量检查清单

Before publishing clips:
  • Aspect ratio is exactly 9:16 (1080x1920)
  • Audio syncs perfectly (no drift)
  • Captions are readable on mobile
  • Logo/branding visible but not distracting
  • First 3 seconds hook viewer
  • CTA visible in last 3 seconds
  • File size under platform limits
  • Tested on actual device (iPhone/Android)
  • Hashtags and caption ready
发布前检查:
  • 宽高比严格为9:16(1080x1920)
  • 音频完全同步(无偏移)
  • 字幕在移动端清晰可读
  • Logo/品牌元素可见但不干扰内容
  • 前3秒内容抓住观众注意力
  • CTA在最后3秒可见
  • 文件大小符合平台限制
  • 在真实设备(iPhone/Android)上测试
  • 话题标签和配文准备完毕

Deliverables

交付成果

  1. Platform-specific clips - Optimized MP4 for each target platform
  2. Caption templates - Suggested text for each clip
  3. Hashtag suggestions - Trending + evergreen tags
  4. Posting schedule - Optimal times for each platform
  1. 平台专属短视频 - 针对每个目标平台优化的MP4文件
  2. 配文模板 - 每个短视频的建议文案
  3. 话题标签建议 - 热门+常青标签
  4. 发布时间表 - 各平台最佳发布时间

Advanced Features

高级功能

A/B Testing clips:
  • Generate 2-3 variations per clip
  • Different hooks, CTAs, text overlays
  • Test which performs best
  • Double down on winners
Trend integration:
  • Overlay trending sounds (TikTok)
  • Use popular hashtag challenges
  • Remix format (duet/stitch opportunities)
Analytics tracking:
  • Encode UTM parameters in CTA links
  • Track views/engagement per clip
  • Iterate based on performance
A/B测试短视频:
  • 为每个片段生成2-3个变体
  • 不同钩子、CTA、文本叠加
  • 测试表现最佳的版本
  • 重点推广优胜版本
潮流整合:
  • 叠加热门音效(TikTok)
  • 使用热门话题挑战
  • 适配 remix 格式(合拍/剪辑机会)
数据分析追踪:
  • 在CTA链接中嵌入UTM参数
  • 追踪每个短视频的浏览量/互动量
  • 根据表现迭代优化