aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDennis Fink2026-05-10 22:07:29 +0200
committerDennis Fink2026-05-10 22:07:29 +0200
commit077ed51e254b9a6af2259b1952e6134ead98afa2 (patch)
treeecf3604e86518fd0e773c2f78ccfa7ab42f19f3c /README.md
parenteecaf6c4b9b5c6c248302e7db2bb15b7ca1c6b29 (diff)
downloadtranscode.sh-077ed51e254b9a6af2259b1952e6134ead98afa2.tar.gz
transcode.sh-077ed51e254b9a6af2259b1952e6134ead98afa2.zip
refactor(core): remove awk and bc dependencies
Both tools were used for simple arithmetic that bash handles natively. awk: fps rounding (num/den) replaced with round-half-up integer arithmetic: (num + den/2) / den. bc: savings percentage replaced with bash $(( )) arithmetic. bc was a conditional dependency (only required with --saving), which made the dependency story inconsistent. Removing it means the full feature set is available with only ffmpeg, ffprobe, nice, and optionally tomlq. Updated README requirements table, man page --saving description, SEE ALSO section, and exit-code 127 entry accordingly.
Diffstat (limited to '')
-rw-r--r--README.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8ce5e12..3c4053f 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,6 @@ replaces the original atomically on success.
| `ffmpeg` | always | encoding |
| `ffprobe` | always | codec/format detection |
| `nice` | always | process priority control |
-| `bc` | only with `--saving` | percentage calculation |
| `tomlq` | only when `config.toml` is present | TOML config parsing |
## Installation