Skip to content

SPAD Video Support#3

Open
alfarojdd wants to merge 1 commit intodrodriguezSRL:mainfrom
alfarojdd:make-video-spad
Open

SPAD Video Support#3
alfarojdd wants to merge 1 commit intodrodriguezSRL:mainfrom
alfarojdd:make-video-spad

Conversation

@alfarojdd
Copy link
Copy Markdown

SPAD Video Support

Main Changes

  1. New function: create_video_from_frames()
  • Generates MP4 videos from generated SPAD frames (PNGs)
  • Converts a sequence of numerically ordered images into a video
  • Includes directory validation and error handling
  1. New command-line arguments

-- save_spad_video / -sv: Flag to enable MP4 video generation from SPAD frames
-- spad_video_dir / -svd: Output directory for the MP4 video (default: output_dir)

  1. Integration into main stream
  • Upon completion of SPAD frame generation, if --save_spad_video is enabled, the video is automatically created
  • The video is saved as spad_frames.mp4
  • Includes exception handling to prevent failures if video generation is unsuccessful

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