Skip to content

Conversation

@majiayu000
Copy link

Fixes #258

Changes

  • Add MakeFrames function to apply styling (padding, window bar, margins, border radius) to frame output
  • Remove raw frame rename/move logic that bypassed styling
  • Integrate frame processing into render pipeline alongside GIF/MP4/WebM generation

🤖 Generated with Claude Code

Previously, when using `Output frames/`, the raw frames were simply moved
to the output directory without any styling applied (padding, window bar,
margins, border radius). This fix adds a `MakeFrames` function that
processes all frames through FFmpeg with the same filters used for
video and screenshot outputs.

Changes:
- Add MakeFrames function in video.go to process frames with FFmpeg filters
- Add buildFrameFFopts helper for assembling FFmpeg arguments per frame
- Update Render method in vhs.go to include frame processing
- Remove the simple rename logic from evaluator.go defer block

Fixes charmbracelet#258

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
@majiayu000 majiayu000 requested a review from a team as a code owner December 30, 2025 18:48
@majiayu000 majiayu000 requested review from andreynering and raphamorim and removed request for a team December 30, 2025 18:48
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.

Padding is ignored for Output frames/

1 participant