Przejdź do treści
Biblioteka skilli
Marketing i treści · Konwersja i formaty

reframe-social

/reframe-social

Zmienia proporcje wideo poziomego na pionowe 9:16, kwadratowe 1:1 lub portretowe 4:5 do mediów społecznościowych, z kadrowaniem za ruchem.

Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zmienia proporcje wideo poziomego na pionowe 9:16, kwadratowe 1:1 lub portretowe 4:5 do mediów społecznościowych, z kadrowaniem za ruchem.

Oryginalny opis (EN)

Reframe a video to a different aspect ratio for social platforms — vertical 9:16 (Reels/Shorts/TikTok), square 1:1, or 4:5 portrait — from horizontal source. Use whenever the user wants to make a video vertical/square, fit it for Instagram/TikTok/YouTube Shorts, repurpose a 16:9 clip for social, or crop/pad to an aspect ratio. Covers crop-vs-pad choice, keeping an off-center subject in frame, and following a moving subject.

Jak działa

  1. Keeping an off-center subject in frame (crop mode)
  2. Following a subject that MOVES across the shot
  3. Gotchas
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 507 słów
Podgląd SKILL.md
---
name: reframe-social
description: Reframe a video to a different aspect ratio for social platforms — vertical 9:16 (Reels/Shorts/TikTok), square 1:1, or 4:5 portrait — from horizontal source. Use whenever the user wants to make a video vertical/square, fit it for Instagram/TikTok/YouTube Shorts, repurpose a 16:9 clip for social, or crop/pad to an aspect ratio. Covers crop-vs-pad choice, keeping an off-center subject in frame, and following a moving subject.
---

> **Full Production Studio note:** this skill drives the toolkit in [agamm/video-agent](https://github.com/agamm/video-agent). Clone that repo and run your agent inside it for the scripts/paths below to work; the guidance itself is usable anywhere.

# Reframe for social

`reframe` converts to a target aspect ratio two ways. Pick by what the footage is:

| Footage | Mode | Why |
|---|---|---|
| Talking head, single subject | `--mode crop` (default) | Full-bleed vertical; subject fills frame |
| Screencast, gameplay, slides, anything where edges matter | `--mode pad` | Keeps the whole frame; blurred-fill background |

```bash
# Vertical 9:16 talking-head (full-bleed crop, subject centered)
uv run video-agent reframe in.mp4 -o reel.mp4 --aspect 9:16

# Vertical with blurred-background fill (nothing cropped)
uv run video-agent reframe in.mp4 -o reel.mp4 --aspect 9:16 --mode pad --width 1080

# Square / portrait
uv run video-agent reframe in.mp4 -o sq.mp4 --aspect 1:1
uv run video-agent reframe in.mp4 -o pt.mp4 --aspect 4:5
```

`--width` sets the final output width (height follows the aspect); omit to keep native
resolution. For 9:16 social, `--width 1080` → 1080×1920, the standard upload size.

## Keeping an off-center subject in frame (crop mode)

Crop defaults to **center** (`--focus 0.5`). If the speaker sits left/right of center, the
default crop clips them. There's **no face tracking** (by design). Set the crop bias by hand:

1. Read where the subject is: `uv run video-agent position-grid in.mp4 --at <t> --spacing 200 -o grid.png`, open it, note the subject's center x.
2. `focus = subject_center_x / frame_width` (0 = hug left edge, 1 = hug right edge).
3. `uv run video-agent reframe in.mp4 -o reel.mp4 --aspect 9:16 --focus 0.62`
4. Verify: `uv run video-agent frame reel.mp4 --at <t> -o check.png` and look.

## Following a subject that MOVES across the shot

One fixed `--focus` can't track motion. Cut the clip at the points where the subject moves,
reframe each piece with its own focus, then concat:

```bash
# subject starts left, walks right around 4s
uv run video-agent trim in.mp4 --start 0.0 --end 4.0 -o a.mp4
uv run video-agent trim in.mp4 --start 4.0 --end 8.0 -o b.mp4
uv run video-agent reframe a.mp4 -o ar.mp4 --aspect 9:16 --focus 0.3
uv run video-agent reframe b.mp4 -o br.mp4 --aspect 9:16 --focus 0.7
uv run video-agent concat ar.mp4 br.mp4 -o reel.mp4
```

Use `detect` over the range to find exactly where the subject crosses, so the cut lands on
the move (not mid-gesture).

## Gotchas

- **Crop loses the edges** — always eyeball a `frame` from the output before shipping; a
  gesture or second person at the edge may be gone.
- **Pad mode never upscales the content** — it scales to *fit* and fills the rest with a
  blurred, zoomed copy. Output canvas can be large without `--width`; pass `--width` to pin
  the size.
- **Caption after reframing, not before** — so caption size/wrapping match the final frame.
  See the `captions` skill.
- **Audio is re-encoded** (aac); video uses `h264_videotoolbox`. After reframe, a further
  join must use filter_complex concat or the `concat` command (it re-encodes audio).
Pliki w paczce (3)
  • LICENSE.txt 1 KB
  • SKILL.md 4 KB
  • UPSTREAM.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie reframe-social.

Migawka bazy z 13.11.2026 · wersja paczki f05d13fd877e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90video-social-reframe
    Przekształca poziome nagrania w pionowe i kwadratowe, zachowując kadr z podmiotami.
  • 100social-video-formatter
    Zmienia kadr i eksportuje gotowe wideo do social mediów: cięcie 9:16 i 16:9, napisy, pierwsza klatka, pętle i specyfikacje dla TikTok, Reels, Shorts, X i LinkedIn.
  • 90reframe
    Kadruje poziome nagranie do pionu, kwadratu lub 4:5, prowadząc kadr za ważnym elementem bez ponownego kodowania.
  • 90make-vertical-cut
    Przekształca film poziomy w pionowy kadr 9:16 do mediów społecznościowych, komponując każdą scenę wokół akcji i dodając napisy.
  • 90reframe-aspect
    Zmienia proporcje gotowego klipu, np. z 16:9 na 9:16 lub 1:1, przez uzupełnianie obrazu w ComfyUI zamiast przycinania.
  • 100resize-for-social
    Przerabia poziome wideo 16:9 na pionowe 9:16 lub kwadrat 1:1 do Reels, TikTok, Shorts i postów, przestawiając każdy element na nowo.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.