Skip to content

armgit / brag

Public Imported from GitHub
0

You built it. Now brag. Turn the project you just created into a short, shareable launch video with one command.

Pick brag poster from the best beat, not an arbitrary frame

shunithaviv9eff4cd606c9
diff --git a/docs/README.md b/docs/README.md
index e661436..7bcdcd0 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -17,6 +17,10 @@ The gallery videos ship committed: each demo shown (`examples/horse-tinder/`, `e
## Adding / updating a gallery example
-1. Render the brag video and place `brag.mp4`, `brag.jpg` (poster), and `site.jpg` (thumbnail) under `examples/<slug>/`, next to the demo's `index.html` and `styles.css`.
+1. Render the brag video and place `brag.mp4`, `brag.jpg` (poster), and `site.jpg` (thumbnail) under `examples/<slug>/`, next to the demo's `index.html` and `styles.css`. Pick `brag.jpg` as the **best** frame, not an arbitrary one — grab the video's strongest settled beat (the hook line, or the hero/logo reveal) full-res with ffmpeg:
+
+ ```bash
+ ffmpeg -ss 3.2 -i docs/examples/<slug>/brag.mp4 -frames:v 1 -q:v 2 docs/examples/<slug>/brag.jpg
+ ```
2. Add a card in `index.html` pointing at those paths.
3. Un-ignore the slug in `.gitignore` and commit the assets.
diff --git a/docs/examples/taxi-for-taxis/brag.jpg b/docs/examples/taxi-for-taxis/brag.jpg
index 548035c..1bccafa 100644
Binary files a/docs/examples/taxi-for-taxis/brag.jpg and b/docs/examples/taxi-for-taxis/brag.jpg differ
diff --git a/skills/brag/SKILL.md b/skills/brag/SKILL.md
index 62be900..b0fbc28 100644
--- a/skills/brag/SKILL.md
+++ b/skills/brag/SKILL.md
@@ -101,9 +101,9 @@ Write the composition brief and use Hyperframes to create the video implementati
**Read:** [references/step-4-deliver.md](references/step-4-deliver.md)
-Validate, preview, render to `<output-dir>/brag.mp4`, and write `<output-dir>/share-copy.txt`.
+Validate, preview, render to `<output-dir>/brag.mp4`, pick the best poster frame into `<output-dir>/brag.jpg`, and write `<output-dir>/share-copy.txt`.
-**Gate:** `<output-dir>/brag.mp4` exists. Share copy is written.
+**Gate:** `<output-dir>/brag.mp4` exists. A best-frame poster `<output-dir>/brag.jpg` is picked (not an arbitrary frame). Share copy is written.
---
diff --git a/skills/brag/references/step-4-deliver.md b/skills/brag/references/step-4-deliver.md
index 31449d7..e495769 100644
--- a/skills/brag/references/step-4-deliver.md
+++ b/skills/brag/references/step-4-deliver.md
@@ -45,6 +45,19 @@ For final delivery:
npx hyperframes render --quality high --output ../brag.mp4
```
+## Pick the poster frame
+
+The poster is the still shown before the video plays (a `<video>`'s `poster` image) — the first thing anyone sees. Don't leave it to the first frame or an arbitrary timestamp; those land on fades, mid-transitions, or half-rendered text.
+
+You built this composition, so you already know its strongest moment and exactly when it lands — the hook line, the hero reveal, or the final logo. Pick that beat at a **settled** point: text fully animated in, before it exits (the storyboard timings tell you the safe window). Then extract that one frame full-res with ffmpeg. From `brag-output/composition`:
+
+```bash
+# use the timestamp of your strongest settled beat, e.g. 3.2s
+ffmpeg -ss 3.2 -i ../brag.mp4 -frames:v 1 -q:v 2 ../brag.jpg
+```
+
+Aim for a frame that's postable on its own (the "show the thing" law — any frozen frame should be shareable). If the pulled frame lands on a transition or mid-animation, nudge the timestamp a few tenths of a second and re-extract. Wire the poster into any `<video>` that embeds the brag (the composition, a gallery card, the user's site) with `poster="brag.jpg"`.
+
## Write share copy
Write `brag-output/share-copy.txt`.
@@ -123,6 +136,7 @@ After this step, `brag-output/` should contain:
```
brag-output/
brag.mp4 — the rendered video
+ brag.jpg — the poster (best frame, for <video poster>)
brag-plan.md — the plan and storyboard
composition-brief.md — the Hyperframes handoff brief
share-copy.txt — the share caption