Hello,
i am completely new to this.
I have got 200+ season of series of which i want to merge the SRT with the MKV
Can anybody help me on this?
I want to merge all MKV files (also setting the language to English) with the SRT files (setting language to Dutch)
Is there a simple way of merging these files season by season while making the proper language settings?
Doing it episode by episode will take me ages since there are over 4500 episodes.
I started out with creating 2 folders on my desktop (one called "to merge", the other "merged" thinking this maybe would prove easier
Thanks guys!
+ Reply to Thread
Results 1 to 4 of 4
-
-
Please only post GUIDES in the guides section. I'm moving you to our general section.
-
Hi,
I had the same problem as yourself and put together the below PowerShell Script to achieve the batch muxing of subtitles.
#Batch Merge Subtitles with MKVMerge - Iain McCain
#Set MKVMerge.exe Path
$MKVMerge = 'C:\Program Files\MKVToolNix\mkvmerge.exe'
#Set Target
$Directory = "Z:\Films\"
#Set Subtitle Extension
$SubExtension = 'eng.srt'
#Process
$Subs = Get-ChildItem $Directory -Filter "*.$SubExtension" -Recurse | % { $_.FullName } | Sort-Object
$Count = $Subs.count
Write-Host "$Count MKV's to be processed."
Foreach ($Sub in $Subs)
{
#Get File Name
$FormatName = $Sub.ToString()
$Name = $FormatName.TrimEnd(".$SubExtension")
$MKV = $Name + '.mkv'
#Set Output File Name
$Output = $Name + '___MERGED' + '.mkv'
#Execute
& $MKVMerge -o "$Output" --default-track "0" --language "0:eng" "$Sub" "$MKV"
#Clean Up
Remove-Item $MKV
Remove-Item $Sub
Rename-Item $Output -NewName $MKV
}
Last edited by IainMc; 26th Jun 2016 at 03:37.
Similar Threads
-
Batch convert a lot of mp4, different framerate/bitrate, and merging.. help
By Jerryskate in forum Video ConversionReplies: 0Last Post: 14th Jul 2014, 04:50 -
Batch tool to conbert srt to ssa/ass
By dudul in forum SubtitleReplies: 3Last Post: 15th Nov 2012, 17:02 -
Batch extract srt from multiple Mkv's?
By gosa in forum MacReplies: 59Last Post: 21st Apr 2012, 17:30 -
Merging NOT joining SRT files
By pmshah in forum SubtitleReplies: 3Last Post: 20th Sep 2011, 00:02 -
Batch Converting ASS to SRT
By sickonsin in forum SubtitleReplies: 5Last Post: 30th Apr 2011, 17:12