Commit Graph

5 Commits

Author SHA1 Message Date
29446a718d feat: extract resolution rename to library/tools.py, add -r/--rename to video_autoreduce 2026-05-31 11:26:43 -04:00
df8bdd903d feat: add --delete/-y flags, parse_args(), in-place output, fix unbound dimensions 2026-05-30 16:04:39 -04:00
c31007498e Passed the code in formatter 2026-05-30 15:28:52 -04:00
4ef0772105 Added argcomplete to video_autoreduce scripts. 2025-02-08 13:07:02 -05:00
c062b32dc6 feat: add video_autoreduce.py for automatic video resolution reduction
Added `video_autoreduce.py`, a Python script that scans directories for video files exceeding a specified resolution and prepares them for automatic resolution reduction using FFmpeg.

- Detects video files in a given directory.
- Determines their resolution using `ffprobe`.
- Identifies videos exceeding a maximum height threshold.
- Supports subtitle codec validation and ensures proper output handling.
- Includes utility functions for file management and logging.

This script will help streamline batch video processing while preserving essential metadata and subtitles.
2025-02-08 12:55:09 -05:00