mirror of
https://github.com/joe-scotto/scottokeebs.git
synced 2026-08-24 10:14:29 -05:00
Default to monow
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user