Skip to content

Add Blender script for frame processing with configurable FPS#1

Draft
Copilot wants to merge 4 commits into
feat/cli-commandfrom
copilot/update-blender-script-parameters
Draft

Add Blender script for frame processing with configurable FPS#1
Copilot wants to merge 4 commits into
feat/cli-commandfrom
copilot/update-blender-script-parameters

Conversation

Copilot AI commented Jan 21, 2026

Copy link
Copy Markdown

Implements a Python script that processes image frames via Blender's background mode with configurable frame rate settings.

Implementation

  • Argument parsing: Handles Blender's -- separator for script arguments
    • --frames_dir (required): Directory containing frames to process
    • --fps (optional): Frame rate, defaults to 30
  • File filtering: Supports PNG, JPG, JPEG, EXR, TIFF formats via constant SUPPORTED_EXTENSIONS
  • Blender integration: Sets bpy.context.scene.render.fps when running in Blender context
  • Dry-run mode: Falls back gracefully when bpy module unavailable, useful for validation without Blender

Usage

blender --background --python main.py -- --frames_dir /path/to/frames --fps 30

Error handling

  • Validates directory existence and type
  • Filters non-image files consistently across Blender/dry-run modes
  • Exits with appropriate error codes for missing required arguments
Original prompt

blender --background --python main.py -- --frames_dir path --fps 30


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

caffeinum and others added 2 commits January 16, 2026 17:47
Adds ability to clone repos directly from GitHub by entering a URL or owner/repo format.
Repos are stored in userData/repos/{owner}/{repo}.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI and others added 2 commits January 21, 2026 12:51
Co-authored-by: jz24q6bct9-ops <247274528+jz24q6bct9-ops@users.noreply.github.com>
Co-authored-by: jz24q6bct9-ops <247274528+jz24q6bct9-ops@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Blender script to set frames directory and FPS Add Blender script for frame processing with configurable FPS Jan 21, 2026
Copilot AI requested a review from jz24q6bct9-ops January 21, 2026 12:54
@jz24q6bct9-ops jz24q6bct9-ops changed the base branch from feat/clone-from-github to feat/cli-command February 25, 2026 23:58
Repository owner locked and limited conversation to collaborators Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants