Automatically mux external subtitles into MKV video files
$10-30 USD
Completed
Posted over 4 years ago
$10-30 USD
Paid on delivery
I regularly receive video files with external subtitle files in either .SRT or IDX/SUB format. I would like a program or script to find and mux the subs with the videos automatically, so that I do not have to do it manually for each file with MKVMerge. The videos arrive in a directory, and the subtitle file(s) are sometimes in the same directory, or sometimes in a subdirectory. They may be named the same as the video file, or they may be named something else entirely. There may be multiple subtitles in multiple formats.
The sequence of operations I need is this:
Run program/script in a a particular directory.
Scan all subdirectories for video files.
If a video file is found, scan that directory and its subdirectories for subtitle files.
Mux video file and all found subtitles into an MKV using MKVMerge with the name of the original video file, in a location specified with a command line argument.
Repeat until all directories have been scanned.
So if I had a directory structure that looked like the attached image, and I ran the script specifying Main Directory as the directory to work in and Output Directory as the place to put the muxed files, the result would be the following new files created in Output Directory:
[login to view URL] containing all tracks from [login to view URL], plus subs from [login to view URL], and [login to view URL]
[login to view URL] containing all tracks from the original [login to view URL], plus subs from [login to view URL]
[login to view URL] containing all tracks from [login to view URL], plus subs from [login to view URL], and [login to view URL]
This needs to run on a windows 10 machine, so batch, powershell, or python are probably your best bets for scripts. If you choose to go with a compiled program, the source must be provided.
I am very proficient in process automation tasks.
I have a lot of experience in the projects like yours.
I will use Python as the tech stack because of its versatility and portability.
The script will run on all machines including Windows 10.
I am also experienced in image/video manipulation. So, in case MKVMerge does not work in our use case, I can implement another algorithm to do the task.
I am certain that I can deliver the results to you in 1-2 days.
I am returning to freelancing after a long time (2 years). So, my price is low to get started.
$15 USD in 2 days
5.0 (1 review)
1.0
1.0
5 freelancers are bidding on average $58 USD for this job