Default to monow

This commit is contained in:
Joe Scotto
2026-01-19 12:57:28 -05:00
parent 9f2533aa67
commit 15398c01c3
2 changed files with 12 additions and 12 deletions
@@ -25,9 +25,9 @@ parser.add_argument(
)
parser.add_argument(
"--format",
default="gray",
choices=["gray", "rgb24", "monow"],
help="Output pixel format (default: gray)",
default="monow",
choices=["monow", "gray", "rgb24"],
help="Output pixel format (default: monow)",
)
parser.add_argument(
"--speed",
+9 -9
View File
@@ -25,12 +25,12 @@ This is the script used to generate the video frames you will use to convert.
> python extract_frames.py "video.mp4"
| Argument | Type | Default | Description |
| ---------- | ------- | ---------- | ------------------------------------------------- |
| `input` | `str` | _required_ | Path to the input video file. |
| `--fps` | `float` | `15` | Playback frames per second. |
| `--width` | `int` | `128` | Width of the output frames in pixels. |
| `--height` | `int` | `64` | Height of the output frames in pixels. |
| `--frames` | `int` | `120` | Number of frames to extract from the video. |
| `--format` | `str` | `gray` | Output pixel format: `gray`, `rgb24`, or `monow`. |
| `--speed` | `float` | `1.0` | Playback speed of the video. |
| Argument | Type | Default | Description |
| ---------- | ------- | ---------- | ------------------------------------------------ |
| `input` | `str` | _required_ | Path to the input video file. |
| `--fps` | `float` | `15` | Playback frames per second. |
| `--width` | `int` | `128` | Width of the output frames in pixels. |
| `--height` | `int` | `64` | Height of the output frames in pixels. |
| `--frames` | `int` | `120` | Number of frames to extract from the video. |
| `--format` | `str` | `monow` | Output pixel format: `monow`, `gray`, or `rgb24` |
| `--speed` | `float` | `1.0` | Playback speed of the video. |