Commit Graph

9 Commits

Author SHA1 Message Date
00696fc449 feat(scripts): add reusable venv utilities and file case renaming script
- Added `scripts/library/venv_utils.py`:
  - Utilities for creating, activating, and managing Python virtual environments.
  - Supports automatic requirement installation and optional --verbose mode.
- Added `scripts/change_case.py`:
  - CLI script to recursively rename files and directories based on case transformation (lower, upper, capitalize).
  - Supports --recursive and --case flags, and integrates with `venv_utils.py`.
- Updated README with usage instructions and documentation for new components.
2025-07-12 13:58:34 -04:00
8ff995a29f feat: Add shorthand parameters to video_manage_audio.py and video_manage_subtitles.py
- Added shorthand options for common arguments:
  - `-t` for --track
  - `-f` for --file
  - `-d` for --dir
- Simplified command-line usage for managing audio and subtitle tracks in video files.
2025-02-08 13:55:14 -05:00
2152479d2e feat: Add video_manage_subtitles.py to manage subtitle tracks in video files
- Implement functionality to remove, keep, or remove all subtitle tracks.
- Supports processing single video files or entire directories.
- Includes options for managing subtitle tracks by index.
2025-02-08 13:50:38 -05:00
53f483b574 feat: Enhanced functionalities of video_manage_audio.py to support removing and keeping tracks.
- Refactored audio processing logic to handle both 'remove' and 'keep' commands.
- Added a command-line argument to specify whether to remove a specific audio track or keep only a selected audio track while preserving other streams.
- Improved handling of video file processing in directories with recursive function.
- Streamlined error handling for more informative output during ffmpeg execution.
- Updated argument parsing with command options and enhanced autocomplete support.
2025-02-08 13:37:41 -05:00
4c76cbfe76 Renamed video_remove_audio.py to video_manage_audio.py to reflect incomming changes. 2025-02-08 13:16:33 -05:00
4ef0772105 Added argcomplete to video_autoreduce scripts. 2025-02-08 13:07:02 -05:00
98f9a57ea1 feat: add video_autoreduce_rename.py for automated renaming
- Adds `video_autoreduce_rename.py`, a companion script to rename video files and directories containing resolution tags.
- Automatically replaces higher resolution tags (e.g., 2160p, 1080p) with a specified max height (default: 720p).
- Supports debug mode for detailed output.
- Prevents overwriting existing files by skipping conflicts.
- Complements `video_autoreduce.py` for a streamlined video processing workflow.
2025-02-08 13:01:15 -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
069db4061b Add script to remove audio tracks from video files using ffmpeg
- Published a Python script that removes specified audio tracks from video files.
- Supports individual files and recursive directory processing.
- Added argument parsing with options for specifying audio track, file, and directory.
- Implemented color-coded output for clearer feedback.
- Integrated argcomplete for command-line autocompletion.
2024-10-23 10:10:22 -04:00