A simple bash script to merge video, audio, and subtitle files into a single MKV container using FFmpeg. The script automatically matches files by filename and merges them without re-encoding.
Usage: $0 -i <input_folder> -o <output_folder>
Options:
-i <input_folder> Specify input folder containing video, audio, and subtitle files
-o <output_folder> Specify output folder for merged MKV files
-h Display this help message
Description:
This script merges video (.mkv), audio (.mka), and subtitle (.ass) files
into a single MKV container. Files are matched by name (excluding extensions).
Example:
$0 -i /path/to/input -o /path/to/output
- bash
- ffmpeg
This project is provided under the GNU GPL v3 License.