Skip to content
Image Generation
Skill

/app-preview-video

Builds an App Store App Preview video (and a Play Store or landing page promo cut) from a screen recording of the app, using the open-screenshot-generator CLI (`osg video`): it starts from one of 20 ready made preview scenes, drops real captured footage into the phone mockup,

From plugin
open-screenshot-generator
15313 skills1 MCP

Claude Code

$ npx -y skills add dotnetdreamer/open-screenshot-generator --skill app-preview-video --agent claude-code

SKILL.md

app-preview-video.SKILL.md
name: app-preview-video
description: >-
  Builds an App Store App Preview video (and a Play Store or landing page promo cut) from a screen
  recording of the app, using the open-screenshot-generator CLI (`osg video`): it starts from one of
  20 ready made preview scenes, drops real captured footage into the phone mockup, times the text and
  gesture overlays, checks the timeline against Apple Review Guideline 2.3.4, and renders H.264 MP4s
  at 886x1920. Use this whenever someone asks for an app preview, a preview video, a store video, an
  App Store trailer, a demo video for the listing, or says things like "make a video for the App
  Store", "turn this screen recording into a store preview" or "my listing needs a video". Also use
  it for follow ups: a different story, different overlay copy, retiming, a longer or shorter cut, or
  a version without the frame.
license: MIT
metadata:
  package: open-screenshot-generator
  homepage: https://openscrgen.app

App Preview video for the app in this repository

**The end state**: one MP4 per preview board under `osg/out/`, 886x1920, H.264, no audio track, between 15 and 30 seconds, built from real captured footage of the app, listed in `osg/osg.manifest.json` and accepted by App Store Connect.

The rule that governs everything here

Apple Review Guideline 2.3.4: an App Preview may only use video screen captures of the app itself. Not a mockup, not an animated design, not a montage of stills. The same guideline explicitly allows narration and video or textual overlays to explain what the footage does not.

That is why this pipeline has three modes and only two of them can be uploaded to the App Store.

| `video.mode` | What renders | Where it is allowed | | --- | --- | --- | | `store-raw` | the recording, full bleed, nothing else | App Store, the safest submission | | `store-text` | the recording, full bleed, plus the board's text and gesture layers with their animations | App Store, and the better of the two for most apps | | `styled` | the whole designed board: background, device frame, every layer | a landing page, social, a Play promo video on YouTube. Not an App Store preview |

`styled` is a good asset and a bad submission. If the user asks for "a video for the store", produce `store-text` and say why. If they ask for "a video for the website", produce `styled`.

Step 0: doctor first, because of one trap

npx -y open-screenshot-generator@0 doctor

**MP4 export needs a branded browser.** The encoder is WebCodecs with an `avc1` (H.264) profile, and H.264 is a proprietary codec that plain Chromium and Chrome for Testing do not ship. PNG export, the 49 design tools and the AI agent work on any Chromium. Video does not. So:

  • Chrome, Edge or Brave: works.
  • Chromium from a distro package, or the build `osg doctor --install-browser` fetches: `VideoEncoder`

reports no supported H.264 config and the render fails with a "use Chrome or Edge" message. There is no fallback encoder.

  • Point at a branded build with `--browser "C:/Program Files/Google/Chrome/Application/chrome.exe"`

or `--browser /usr/bin/google-chrome-stable`, or set `browser` in `osg/osg.config.ts`.

`doctor` probes this per browser and says so, rather than assuming. Do not start a capture session before it passes.

Step 1: get real footage

`osg` does not record your app. Capture it with the platform's own tooling:

xcrun simctl io booted recordVideo --codec h264 osg/media/demo.mov
adb shell screenrecord /sdcard/demo.mp4 && adb pull /sdcard/demo.mp4 osg/media/demo.mp4

Rules that come from the compositor, not from taste:

  • Record the **Release** build. A dev banner in the footage is a rejection and a bad ad.
  • Record one continuous journey, not a montage: open the app, start the core action, finish it, see

the result. The cut has to read on its own without narration.

  • A phone records at 1290x2796 and that is fine. The export cover scales and centers to 886x1920, so

a portrait recording fills the frame edge to edge.

  • Record 20 to 40 seconds and trim, rather than recording exactly 18 and finding a stumble in it.
  • No audio is used. The MP4 has a video track only, so nothing you say into the recording survives.

Put the file path in `video.recording` in the config. The CLI serves it to the page over the local origin, so a large file never has to travel as base64.

Step 2: start from a preview scene, not from an empty board

There are 20 finished App Preview scenes, each a whole board: background, phone mockup playing the recording, timed copy, gesture hints and a call to action, arriving 18 seconds long, already inside Apple's 15 to 30 second window. Building the same thing from `add_elements` plus `set_animation` is several times the work and rarely as good.

npx -y open-screenshot-generator@0 edit --script osg/preview.json
[
  { "tool": "list_preview_scenes", "args": { "query": "finance" } },
  { "tool": "add_preview_scene", "args": { "sceneId": "spotlight-launch" } },
  { "tool": "get_artboard", "args": {} }
]

Scene ids include `spotlight-launch`, `feature-rush`, `headline-punch`, `five-star-proof`, `three-taps`, `money-mode`, `sweat-session`, `calm-hour`, `night-feed`, `order-up`, `trip-ready`, `beat-drop`, `learn-streak`, `shop-drop`, `focus-block`, `snap-fix`, `team-sync`, `health-check`, `play-now` and `home-control`. `list_preview_scenes` is the live list.

Preview scenes are **not** in `osg templates` or in `list_templates`: that catalog deliberately hides the app-preview category, because those boards play a recording. `list_preview_scenes` is the door.

The `get_artboard` call at the end is not optional. It returns the layer ids and names you need next, and a model cannot see the canvas.

Step 3: put the footage in the phone

The recording is not an image asset. `upload_asset` probes bytes with an `<img>` and refuses a video, and its `asset:` references get expanded into data URLs, which w

Read more
@dotnetdreamer
Ships withopen-screenshot-generator

Make screenshots and preview videos for the App Store and Google Play. Start with a template, add screenshots of your app, change the text and colors, then export the finished files at store sizes.

15313 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
153
Star history of dotnetdreamer/open-screenshot-generator on GitHub, a chart by star-history.com

Other skills on open-screenshot-generator.

More skills from other plugins.

Questions about app-preview-video.

Which coding agents can use app-preview-video?
app-preview-video installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.