add license and readme

This commit is contained in:
ronny abraham 2025-05-12 02:54:24 +03:00
parent b95395bd04
commit 9793f02826
2 changed files with 27 additions and 0 deletions

6
LICENSE Normal file
View file

@ -0,0 +1,6 @@
MIT License
Copyright (c) 2025
Permission is hereby granted, free of charge, to any person obtaining a copy...
[etc.]

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# 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