---
name: studio-title-sequence
description: Design and render a short title sequence or animated title card (parallax scenery, text reveal, logo end card) with Remotion, Blender or FFmpeg, and deliver web MP4, ProRes master and alpha variants. Use for "title sequence", "intro animation", "animated title card", "opening credits".
version: "1.1.0"
category: build
platforms: [CLAUDE_CODE, CURSOR, CODEX_CLI]
---

# Title sequence design

A title sequence sells tone in a few seconds. The title must be legible at phone size, motion must feel deliberate, and the export must play everywhere. This skill covers planning, layered parallax builds, typographic animation, and verified delivery.

## When to use

- Intro for a video, trailer, product film, podcast or game.
- An animated title card or a looping title background for a landing page.
- Not for long credit rolls (that is a separate layout and timing problem).

## Agree on inputs first

| Input           | Default                                                                |
| --------------- | ---------------------------------------------------------------------- |
| Aspect and size | 1920x1080 (16:9), 1080x1920 (9:16), 3840x2160 for masters              |
| Duration        | 4 to 10 s; title fully readable for at least 2 s                       |
| fps             | 24 cinematic, 30 web, 60 for fast motion or UI                         |
| Copy            | Exact title, subtitle, credits; confirm spelling and casing            |
| Typeface        | Licensed for video embedding; weight and tracking chosen               |
| Audio           | Silent, music bed, or hit points to sync to (timestamps)               |
| Delivery        | Web MP4, ProRes 422 HQ master, alpha overlay, poster, loop or one-shot |

## Toolchain

- **Remotion**: React compositions, frame-exact, great for typographic and 2.5D parallax.
- **Blender**: real 3D scenery, depth of field, volumetrics; render PNG or EXR sequences.
- **FFmpeg**: encoding, verification, simple drawtext titles.
- **Alternatives**: After Effects, DaVinci Resolve Fusion, Motion Canvas.

## Workflow

### 1. The hero still

Design one frame where the title sits fully revealed. It must work as a poster on its own. Checks:

- Title within title-safe area (inner 90% of frame; for vertical keep clear of the bottom 20% and top 12% platform UI).
- Title not over the brightest region; contrast at least 4.5:1 against the local background (sample the pixels behind the glyphs).
- At 360 px wide, the title is still readable.

### 2. Layer the scenery

Separate into sky, far, mid, near, foreground frame, title, and particles. Parallax speeds scale with depth, e.g. sky 0.1, far 0.25, mid 0.5, near 1.0, foreground 1.6 (relative to a camera move). Atmospheric perspective: far layers lighter and lower contrast.

### 3. Build in Remotion

```tsx
import {
  staticFile,
  AbsoluteFill,
  Img,
  interpolate,
  spring,
  useCurrentFrame,
  useVideoConfig,
  Easing,
} from "remotion";

export const Title: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps, durationInFrames } = useVideoConfig();
  const p = frame / durationInFrames; // 0..1 progress
  const cam = interpolate(frame, [0, durationInFrames], [0, -120], {
    easing: Easing.inOut(Easing.cubic),
  });
  const reveal = spring({ frame: frame - 18, fps, config: { damping: 200 } }); // starts at 0.6 s
  return (
    <AbsoluteFill>
      <Img
        src={staticFile("sky.png")}
        style={{ transform: `translateX(${cam * 0.1}px)` }}
      />
      <Img
        src={staticFile("mid.png")}
        style={{ transform: `translateX(${cam * 0.5}px)` }}
      />
      <Img
        src={staticFile("near.png")}
        style={{ transform: `translateX(${cam * 1.0}px)` }}
      />
      <h1
        style={{
          opacity: reveal,
          transform: `translateY(${(1 - reveal) * 24}px)`,
          letterSpacing: `${interpolate(reveal, [0, 1], [0.3, 0.06])}em`,
        }}
      >
        AFTER HOURS
      </h1>
    </AbsoluteFill>
  );
};
```

Typography motion that reads as professional:

- Reveal with mask wipes, tracking-in (letter-spacing tightening), or per-letter stagger of 1 to 2 frames. Total reveal 12 to 24 frames.
- Ease out on entrances (fast start, gentle settle), ease in on exits. Avoid linear motion on text.
- Hold the title still for at least 2 s once revealed. Move the world, not the words.
- Load fonts before rendering (`@remotion/google-fonts` `loadFont()`, or `delayRender` until `document.fonts.ready`).

For a loop: drive cyclic layers from `frame / durationInFrames` with integer cycles and keep the title static throughout.

### 4. Blender variant

Render scenery as an image sequence, title composited in Remotion or FFmpeg so copy changes do not require re-rendering 3D:

```bash
blender -b titles.blend -o //render/bg_#### -F PNG -s 1 -e 240 -a
```

Use camera depth of field (f-stop 2.8 to 5.6) focused on the title plane for separation.

### 5. Render and encode

```bash
# Quick draft
npx remotion render src/index.ts Title out/draft.mp4 --scale=0.5 --crf=28
# Final web
npx remotion render src/index.ts Title out/title.mp4 --codec=h264 --crf=16 --pixel-format=yuv420p
# Master
npx remotion render src/index.ts Title out/title_master.mov --codec=prores --prores-profile=hq
# Alpha overlay (title only, transparent background)
npx remotion render src/index.ts TitleOverlay out/title_alpha.mov --codec=prores --prores-profile=4444 --pixel-format=yuva444p10le --image-format=png
# Poster
npx remotion still src/index.ts Title out/poster.png --frame=120
```

From an image sequence:

```bash
ffmpeg -framerate 24 -i render/bg_%04d.png -i music.wav -c:v libx264 -crf 16 -preset slow \
  -pix_fmt yuv420p -c:a aac -b:a 192k -shortest -movflags +faststart title.mp4
ffmpeg -framerate 24 -i render/bg_%04d.png -c:v prores_ks -profile:v 3 -pix_fmt yuv422p10le title_master.mov
```

Add fades without re-editing the comp: `-vf "fade=t=in:st=0:d=0.5,fade=t=out:st=7.5:d=0.5"` and `-af "afade=t=in:d=0.3,afade=t=out:st=7.2:d=0.8"`.

Gradients in skies band in 8-bit H.264. Add a light grain or noise layer in the comp (1 to 2% opacity), or use `-vf noise=alls=2:allf=t` before encoding.

## Common variants

- **Vertical 9:16**: rebuild the layout, do not crop. Title at 35 to 45% height, larger relative size (title width about 80% of frame).
- **Silent autoplay web loop**: no audio track (`-an`), `<video autoplay muted loop playsinline poster="poster.jpg">`, under 2 MB if possible (`-crf 23`, 720p).
- **GIF preview**: `ffmpeg -i title.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 title.gif`.
- **Localization**: title text from props (`--props='{"title":"..."}'`) so one comp renders every language; check longest translation still fits.
- **Hit sync**: convert music timestamps to frames (`Math.round(sec * fps)`) and key reveals on those frames.

## Quality checks

```bash
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,profile,width,height,pix_fmt,r_frame_rate,nb_frames \
  -show_entries format=duration -of default=nw=1 title.mp4
```

- Codec h264, pix_fmt yuv420p, exact width and height, constant frame rate as specified, duration within one frame of the brief.
- Faststart: `ffprobe -v trace title.mp4 2>&1 | grep -m2 -E "type:'(moov|mdat)'"` lists moov before mdat.
- Loudness if audio: `ffmpeg -i title.mp4 -af loudnorm=print_format=summary -f null -` around -14 LUFS integrated for web platforms, true peak at or below -1 dBTP.
- Review stills at first, middle, last and peak-reveal frames: `ffmpeg -ss 4 -i title.mp4 -frames:v 1 mid.png`.
- Title contrast at least 4.5:1, readable at 360 px wide on a phone.
- No banding in gradients at 100% on a calibrated screen; no flicker on thin type (avoid 1 px horizontal strokes, which interlace-flicker on some displays).
- For loops, play twice and watch the boundary; for one-shots, confirm the last frame holds and does not cut mid-motion.
- Text is spelled exactly as approved.

## Pitfalls and fixes

| Problem                                  | Fix                                                                                    |
| ---------------------------------------- | -------------------------------------------------------------------------------------- |
| Washed out or shifted colors in browsers | Tag BT.709: add `-colorspace bt709 -color_primaries bt709 -color_trc bt709`            |
| Won't play in QuickTime or Safari        | Wrong pixel format (yuv444p); use yuv420p and H.264 High profile                       |
| Fallback font in render                  | Fonts not loaded before capture; block with delayRender until loaded                   |
| Text jitters during slow moves           | Subpixel rendering of transforms; render at 2x and downscale, or move layers, not text |
| Banding in sky                           | Add grain, use 10-bit master, lower CRF                                                |
| Odd dimension encode error               | H.264 4:2:0 needs even width and height; `-vf scale=trunc(iw/2)*2:trunc(ih/2)*2`       |

## Deliverables

- [ ] Source project (composition or .blend) with copy and timing as props or constants
- [ ] Hero still / poster PNG
- [ ] Web MP4 (H.264, yuv420p, faststart, BT.709)
- [ ] Master ProRes 422 HQ, plus ProRes 4444 alpha overlay if requested
- [ ] Vertical or GIF variants if requested
- [ ] ffprobe summary and loudness reading if audio is present

[After Hours reference](https://skills-hub.ai/showcases/projects/after-hours)
