<commit_before># media scripts
bash script for batch media processing.
This is purely for personal use

media_scripts.sh recursively finds video files in the input directory provided. It asks the user a series of questions to determine which presets to use. The output files are placed in the output directory provided. eg:

./media_scripts.sh ~/videos/movies ~/finished
./media_scripts.sh ~/videos/movies/movie.mkv ~/finished


Install the script to /usr/local/bin with the install script. Then media_scripts can be run from anywhere

sudo ./install.sh<commit_msg>tweak readme formatting<commit_after># media scripts
bash script for batch media processing.
This is purely for personal use

media_scripts.sh recursively finds video files in the input directory provided. It asks the user a series of questions to determine which presets to use. The output files are placed in the output directory provided. eg:


./media_scripts.sh ~/videos/movies ~/finished

./media_scripts.sh ~/videos/movies/movie.mkv ~/finished


Install the script to /usr/local/bin with the install script. Then media_scripts can be run from anywhere


sudo ./install.sh

{'fraction_non_alphanumeric': 0.06118881118881119, 'fraction_numerical': 0.0, 'mean_word_length': 4.325581395348837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7259618', 'n_tokens_mistral': 314, 'n_tokens_neox': 298, 'n_words': 149}