Skip to content

Commit

Permalink
Add description
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicer86 committed Dec 14, 2024
1 parent 5fdf7db commit 4eaa945
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@

## Tool for batch merging video files with subtitles into mkv files ##
## Set of tools for batch video file manipulations

TwoTone is a python script which searches for movie and subtitle files and merges them into one mkv file.<br />
**Be aware that source files will be deleted** so you may want to backup your data.
Before using any of given scripts backup your data as **source files are being deleted**.

By default subtitles are added without any language label but it can be changed with \-\-language option. See \-\-help for details.
### Merging video files with subtitles into mkv files

twotone.py is a python script which searches for movie and subtitle files and merges them into one mkv file.<br/>
By default subtitles are added without any language label but it can be changed with \-\-language option. <br/>
See \-\-help for details.


### Automatic video reencoding

encode.py takes video dir as an input parameter and reencodes them with x265 coded.
Script tries to find optimal crf for each video by comparing original video with encoded one and measuring quality.
As of now it looks for crf giving SSIM ≈ 0.98 result.

Currently this is a very simple script. It has no 'dry run' mode no any other options. Just run it with the input dir.<br/>
Please mind ctrl+c is not supported yet, so be careful when you stop its work.

0 comments on commit 4eaa945

Please sign in to comment.