21 lines
No EOL
345 B
Markdown
21 lines
No EOL
345 B
Markdown
# convert_dirs.sh
|
|
|
|
Converts video files in a directory to `.mp4` using ffmpeg.
|
|
|
|
Supports:
|
|
|
|
- Dry-run mode
|
|
- Archiving originals
|
|
- Custom CRF quality
|
|
- Filter by source file types (e.g., .avi, .mkv)
|
|
|
|
## Usage
|
|
|
|
\`\`\`bash
|
|
./convert_dirs.sh --source ./tv --src-type avi --src-type mkv --quality 22 --dry-run
|
|
\`\`\`
|
|
|
|
## Requirements
|
|
|
|
- bash
|
|
- ffmpeg |