From 11926f03b2ba3ea52bcf9c12d4b4c58683d4935b Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 14 May 2026 12:56:32 +0200 Subject: docs: fix option and help text typos Correct the README entry for the long --encode-file=PATH form, which was documented as --encodefile=PATH. Also fix spacing in the generated help text for output_gop_size so the preset variable descriptions remain aligned. --- README.md | 2 +- transcode.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85e45b3..a2e970c 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ transcode.sh [OPTION] [--] FILE... | `--verify-output` | Probe output with ffprobe before replacing original (default) | | `--no-verify-output` | Skip the post-encode integrity check | | `--config-file FILE`, `--config-file=FILE` | Load configuration from FILE instead of the default path | -| `-f PATH`, `--encode-file PATH`, `--encodefile=PATH` | Read file list from PATH (one per line) | +| `-f PATH`, `--encode-file PATH`, `--encode-file=PATH` | Read file list from PATH (one per line) | | `-n`, `--dry-run` | Show what would be done; don't run ffmpeg | | `-N VALUE`, `--nice VALUE`, `--nice=VALUE` | Niceness value for ffmpeg (default: 19) | | `--hwaccel [METHOD]`, `--hwaccel=METHOD` | Enable hardware acceleration; METHOD defaults to `auto` if omitted (e.g. `cuda`, `vaapi`, `videotoolbox`); enabled by default | diff --git a/transcode.sh b/transcode.sh index 9fca292..ce0be24 100755 --- a/transcode.sh +++ b/transcode.sh @@ -302,7 +302,7 @@ ${BOLD}${BLUE}Configuration files:${ALL_OFF} ${BOLD}${GREEN}output_pixel_format${ALL_OFF} derived from input ${BOLD}${GREEN}input_frame_rate${ALL_OFF} raw fraction from ffprobe (e.g. 30000/1001) ${BOLD}${GREEN}input_fps${ALL_OFF} input_frame_rate rounded to nearest integer - ${BOLD}${GREEN}output_gop_size${ALL_OFF} ~5 s GOP derived from input_fps, capped at 300 + ${BOLD}${GREEN}output_gop_size${ALL_OFF} ~5 s GOP derived from input_fps, capped at 300 ${BOLD}${RED}presets are sourced as shell code; only use trusted presets from trusted directories.${ALL_OFF} -- cgit v1.3.1