Features
- Traverse any deep folder/file tree.
- Rename original files.
- Convert with
x265
codec (20-50% space improvment). - Use GPU in encoding (improved performance).
- Use it with care.
Steps
- download both files
- download handbrake cli and extract it to the same directory with the script.
.
|-convert.sh
|-HandBrakeCLI.exe
|-<Folders with mp4 inside, no matter how deep it's>
|-preset.json
Run the following bash commands
chmod +x converter.sh
./converter
Handbrake GUI You can use the attached preset with the gui app and change it as you want, and use it again with the script.