diff options
| author | Dennis Fink | 2026-02-22 08:41:04 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-02-22 08:41:24 +0100 |
| commit | d6b6cb1bfd71e95aeda2e784c214ddffcc777fd1 (patch) | |
| tree | 4ca07090f28242764425f6416c10b0203334da29 /LICENSES/BSD-3-Clause.txt | |
| download | transcode.sh-d6b6cb1bfd71e95aeda2e784c214ddffcc777fd1.tar.gz transcode.sh-d6b6cb1bfd71e95aeda2e784c214ddffcc777fd1.zip | |
feat: initial release of transcode.sh v1.0.0
Batch transcode helper for media files using ffmpeg. Encoding parameters
are supplied by user-defined preset files (shell snippets that set an
`ffargs` array) stored under
${XDG_CONFIG_HOME:-$HOME/.config}/transcode.sh/presets/.
Key capabilities:
- Probes input codec and pixel format via ffprobe; derives an output
pixel format that preserves chroma subsampling and bit depth.
- Per-user and per-invocation codec skip lists to leave already-encoded
files untouched.
- Atomic in-place replacement: encodes to a temp file in the same
directory, then renames on success.
- --only-if-smaller: discard the result if it is larger than the
original.
- --saving: append filename, original/new sizes and percentage saved to
a log file after each successful encode.
- --dry-run, --verbose, --quiet, --nice and --continue flags.
- Respects the NO_COLOR standard.
- Script hardening: strict PATH, safe IFS, errtrace, nounset, pipefail.
Also included:
- Man page (transcode.sh.1)
- Bash completion script (transcode.sh.bash-completion)
- README.md
- .gitmessage commit message template
License: BSD-3-Clause
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
