Repository navigation
feat(clips): --rotate for a physically turned camera - #213
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
--rotate 90|180|270(clockwise, applied before crop/fit) toscripts/dotty_av_clips.py export, so footage from a physically turned webcam exports as upright portrait. Crop coordinates refer to the rotated frame. Manifest recordsrotate_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