mini_arcade_core.runtime.capture.capture_settings

Capture settings dataclass

Classes

CaptureSettings

Settings for the Capture Service.

Module Contents

class mini_arcade_core.runtime.capture.capture_settings.CaptureSettings

Settings for the Capture Service.

Variables:
  • screenshots_dir – Directory to save screenshots.

  • screenshots_ext – File extension/format for screenshots.

  • replays_dir – Directory to save replays.

  • recordings_dir – Directory to save video recordings.

  • ffmpeg_path – Path to the ffmpeg executable.

  • encode_on_stop – Whether to encode video on stop.

  • keep_frames – Whether to keep raw frames after encoding.

  • video_codec – Video codec to use for encoding.

  • video_crf – Constant Rate Factor for video quality.

  • video_preset – Preset for video encoding speed/quality tradeoff.

screenshots_dir: str = 'screenshots'
screenshots_ext: str = 'png'
replays_dir: str = 'replays'
recordings_dir: str = 'recordings'
ffmpeg_path: str = 'ffmpeg'
encode_on_stop: bool = True
keep_frames: bool = True
video_codec: str = 'libx264'
video_crf: int = 18
video_preset: str = 'veryfast'