Skip to content

feat(clips): --rotate for a physically turned camera - #213

Merged
BrettKinny merged 3 commits into
mainfrom
agent/clips-rotate
Nov 1, 2026
Merged

BrettKinny merged 3 commits into
mainfrom
agent/clips-rotate

Conversation

@BrettKinny

@BrettKinny BrettKinny commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Adds --rotate 90|180|270 (clockwise, applied before crop/fit) to scripts/dotty_av_clips.py export, so footage from a physically turned webcam exports as upright portrait. Crop coordinates refer to the rotated frame. Manifest records rotate_degrees. Tests added (29 pass).

No clip is marked reviewed by this change; exports still default to every human gate pending. Nothing is uploaded.

AI-assisted: drafted by Claude (Sonnet 5.5); a human should review before merge. Not merged.

🤖 Generated with Claude Code

BrettKinny and others added 3 commits November 1, 2026 20:00
The webcam was turned 90 degrees to shoot portrait, so frames arrive
sideways. Fitting them as-is letterboxed a sideways picture inside
1080x1920, and --crop alone cannot fix orientation. --rotate turns the
source upright first (crop coordinates then refer to the rotated frame),
so a 16:9 sensor rotated becomes a true 9:16 frame that fills the Short.
The rotation is recorded in the manifest layout. Source files untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@BrettKinny
BrettKinny merged commit 68b0dd7 into main Nov 1, 2026
8 checks passed
@BrettKinny
BrettKinny deleted the agent/clips-rotate branch November 1, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant