# News Video Maker

> News video maker skill. Use search tools to get news, generate speech, and create video with golden subtitles. For creating news briefing videos.

- Skill: `dvcrn/news-video-maker` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dvcrn/news-video-maker`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/news-video-maker/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/news-video-maker

---


# News Video Maker

Convert news content into a video with voiceover and subtitles.

## Input

- News topic/keywords (get via search tool in real-time)
- Background image path (provided by user)
- Output directory (user-defined, default: `C:\Users\hyzu\Documents\openclaw\`)

## Steps

### 1. Get News

Use search tool to get today's news:
- Use `freeUnlimited-websearch` or `ollama_web_search` or `tavily-search` skill to search for today's news
- Keywords like: "today news", "2026 March news", etc.

Example prompt:
```
Search for important news today, including international and domestic news
```

### 2. Generate Speech

Use TTS tool to convert news text to speech:
- Call tts tool to generate mp3 audio

### 3. Create Video

Use FFmpeg to combine background image, audio, and add subtitles.

**Subtitle calculation rules**:
- Video width: 1280px
- Font size: 36px (about 20-25 Chinese characters per line)
- Gold subtitles: PrimaryColour=&HFFD700&

**Command**:
```bash
ffmpeg -y -loop 1 -i "{background_image}" -i "{audio_file}" -vf "subtitles='{subtitle_file}':force_style='Fontsize=36,PrimaryColour=&HFFD700&,BorderStyle=3,Outline=2,MarginV=50',scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -shortest -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p "{output_video}"
```

### 4. Subtitle File Format (SRT)

Subtitle rules:
- Max 20 Chinese characters per line
- Timestamp format: HH:MM:SS,mmm --> HH:MM:SS,mmm

Example:
```
1
00:00:00,000 --> 00:00:04,000
2026年3月11日新闻简报
```

## Output

MP4 video file saved to user-specified output directory.

## Notes

- Split long subtitles into multiple lines, keep each line under 20 characters
- Backslashes in paths need escaping or use double quotes
- Audio file can reuse MP3 generated by TTS tool
