mini_arcade_core.runtime.capture.capture_settings ================================================= .. py:module:: mini_arcade_core.runtime.capture.capture_settings .. autoapi-nested-parse:: Capture settings dataclass Classes ------- .. autoapisummary:: mini_arcade_core.runtime.capture.capture_settings.CaptureSettings Module Contents --------------- .. py:class:: CaptureSettings Settings for the Capture Service. :ivar screenshots_dir: Directory to save screenshots. :ivar screenshots_ext: File extension/format for screenshots. :ivar replays_dir: Directory to save replays. :ivar recordings_dir: Directory to save video recordings. :ivar ffmpeg_path: Path to the ffmpeg executable. :ivar encode_on_stop: Whether to encode video on stop. :ivar keep_frames: Whether to keep raw frames after encoding. :ivar video_codec: Video codec to use for encoding. :ivar video_crf: Constant Rate Factor for video quality. :ivar video_preset: Preset for video encoding speed/quality tradeoff. .. py:attribute:: screenshots_dir :type: str :value: 'screenshots' .. py:attribute:: screenshots_ext :type: str :value: 'png' .. py:attribute:: replays_dir :type: str :value: 'replays' .. py:attribute:: recordings_dir :type: str :value: 'recordings' .. py:attribute:: ffmpeg_path :type: str :value: 'ffmpeg' .. py:attribute:: encode_on_stop :type: bool :value: True .. py:attribute:: keep_frames :type: bool :value: True .. py:attribute:: video_codec :type: str :value: 'libx264' .. py:attribute:: video_crf :type: int :value: 18 .. py:attribute:: video_preset :type: str :value: 'veryfast'