Forbid whole-timeline stretch that drifts ahead of the picture; name on-screen details only after they are visible. Co-authored-by: Cursor <cursoragent@cursor.com>
125 lines
3.9 KiB
Markdown
125 lines
3.9 KiB
Markdown
# Reference — China YT Long-form
|
||
|
||
## Commands
|
||
|
||
Run from pack, pointing at a batch root:
|
||
|
||
```bash
|
||
pip install -r requirements.txt
|
||
python scripts/probe_durations.py "D:/Desktop/MyBatch"
|
||
python scripts/validate_deliverables.py "D:/Desktop/MyBatch"
|
||
python scripts/new_batch.py "D:/Desktop/V3-2026-10-20夜市" street nightmarket bike
|
||
```
|
||
|
||
After copying generators into the batch root:
|
||
|
||
```bash
|
||
python _gen_srt_copy.py
|
||
python _make_covers_v4.py
|
||
```
|
||
|
||
## Flat dump → per-video folders
|
||
|
||
When the batch root is full of loose `VID_*.mp4` (no theme subfolders):
|
||
|
||
1. **Probe** each file duration (`ffprobe` / custom script).
|
||
2. **Preview** mid-frames for scene labels (night ride, food street, canteen…).
|
||
3. **Group by theme + contiguous time**, not by stopwatch alone.
|
||
4. **MOVE** into `01_theme_slug/`, `02_…/` — each folder = one CapCut project / one upload.
|
||
5. Write `_BATCH_PLAN.txt` listing clips + approx duration per folder.
|
||
6. Then normal probe → SRT → titles → covers → validate.
|
||
|
||
### Duration (no 硬凑)
|
||
|
||
| Situation | Action |
|
||
|-----------|--------|
|
||
| Coherent block ~8–15 min | One folder |
|
||
| Coherent but ~5–7 min | Keep short; don’t paste unrelated B-roll |
|
||
| Coherent but ~16–20 min | Prefer thematic mid-split; else one longer video OK |
|
||
| Random short leftovers | Own small folder or ask user; never frankenstein |
|
||
|
||
## Folder layout
|
||
|
||
```
|
||
BatchRoot/
|
||
01_night_scooter_ride/
|
||
*.mp4
|
||
YT_CAPTIONS_EN.srt
|
||
YT_COVER.jpg # A
|
||
YT_COVER_B.jpg # B — A/B test
|
||
YT_COVER_C.jpg # C — A/B test
|
||
YT_TITLES.txt
|
||
02_food_street_walk/
|
||
...
|
||
_meta_probe.json
|
||
_BATCH_PLAN.txt
|
||
_gen_srt_copy.py
|
||
_make_covers_v4.py
|
||
_cover_out/
|
||
tools/opencv_sr/EDSR_x2.pb # photographic x2 super-res (pack root)
|
||
```
|
||
|
||
## Three channel cores (SRT / titles)
|
||
|
||
Every pack’s `lines` + description should hit:
|
||
|
||
1. **Food** — what you see/smell/order/prices
|
||
2. **Life in China** — POV streets, scooters, tasteful beauty/citywalk faces
|
||
3. **YouTube money** — habits, watch time, life change, honest income (no fake flex)
|
||
|
||
Pattern per cue cluster: **on-screen detail → soft bridge to a core → CTA/habit**.
|
||
|
||
## Covers A/B/C + AI HD (no local SR)
|
||
|
||
- Always ship **≥3** files: `YT_COVER.jpg`, `YT_COVER_B.jpg`, `YT_COVER_C.jpg`
|
||
- Differ frame **and/or** crop **and/or** hook text so YouTube A/B has real CTR contrast
|
||
- **HD via agent AI image gen** from real footage reference stills (old-photo restore look)
|
||
- **Do not** run local Real-ESRGAN / OpenCV EDSR-FSRCNN / user-GPU upscale
|
||
- Lightweight ffmpeg frame extract for refs only is OK
|
||
- Final size **1280×720**; photographic, not oil-paint
|
||
|
||
## YT_TITLES.txt template
|
||
|
||
```text
|
||
=== YOUTUBE TITLES (pick 1) ===
|
||
1. ...
|
||
2. ...
|
||
3. ...
|
||
4. ...
|
||
5. ...
|
||
|
||
=== DESCRIPTION ===
|
||
...
|
||
(mention food + life in China + channel growth as fits the footage)
|
||
|
||
=== TAGS ===
|
||
alone in china, chinese street food, life in china, night market, china vlog,
|
||
youtube growth, city walk, ...
|
||
```
|
||
|
||
## SRT packing (音画同步 — no drift)
|
||
|
||
- Core: TTS must match what is on screen at that moment (招牌/品牌只是例子)
|
||
|
||
- Build cumulative clip windows from `_meta_probe.json`
|
||
- Assign lines **per clip/scene**; pack only inside that `[start, end)`
|
||
- Never stretch one global line list across the whole timeline
|
||
- If a window is short, trim middle lines — do not spill into next clip
|
||
- Keep hook at scene open + CTA near scene/video close
|
||
- Shorter videos: fewer cues OK if still ~1 / 8–12s inside each window
|
||
|
||
## Cover composition
|
||
|
||
- Right person panel (soft fade) + left environment
|
||
- Thin accent line OK; boxes/badges not OK
|
||
- Hand-pick timestamps; Haar on signs is often a false positive
|
||
|
||
## Install for friends
|
||
|
||
- One-click: `install_skill.ps1`
|
||
- Or copy `skills/china-yt-longform/` → `%USERPROFILE%/.cursor/skills/china-yt-longform/`
|
||
- Or open this pack folder in Cursor (uses `.cursor/skills/`)
|
||
|
||
See `如何安装Skill.md`.
|
||
|