{"id":13279,"date":"2021-12-12T04:16:15","date_gmt":"2021-12-12T04:16:15","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=13279"},"modified":"2021-12-12T04:16:41","modified_gmt":"2021-12-12T04:16:41","slug":"mkvmerge-batch-script","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/mkvmerge-batch-script\/22599.html","title":{"rendered":"Mkvmerge Batch Script"},"content":{"rendered":"<p>How can I turn this command into a batch command? There is 50 Videos I would like to do this to and they are all the same layout etc all the track numbers\/names are the same and each subtitle file has the same name as the .Mkv file it wants to be added to.<\/p>\n<p>If possible I would also like someone to tell me how to create a batch script for Mkvmerge so I don&#8217;t have to ask every time I need one \ud83d\ude00<\/p>\n<p>&#8220;C:\\Program Files (x86)\\MKVtoolnix\\mkvmerge.exe&#8221; -o &#8220;D:\\\\Folder\\\\New\\\\Video.mkv&#8221; &#8220;&#8211;default-track&#8221; &#8220;1:yes&#8221; &#8220;&#8211;forced-track&#8221; &#8220;1:no&#8221; &#8220;&#8211;display-dimensions&#8221; &#8220;1:720&#215;540&#8221; &#8220;&#8211;language&#8221; &#8220;3:jpn&#8221; &#8220;&#8211;track-name&#8221; &#8220;3:Japanese (2.0)&#8221; &#8220;&#8211;default-track&#8221; &#8220;3:no&#8221; &#8220;&#8211;forced-track&#8221; &#8220;3:no&#8221; &#8220;-a&#8221; &#8220;3&#8221; &#8220;-d&#8221; &#8220;1&#8221; &#8220;-S&#8221; &#8220;-T&#8221; &#8220;&#8211;no-global-tags&#8221; &#8220;D:\\\\Folder\\\\Video.mkv&#8221; &#8220;&#8211;language&#8221; &#8220;0:eng&#8221; &#8220;&#8211;track-name&#8221; &#8220;0:English Improved&#8221; &#8220;&#8211;default-track&#8221; &#8220;0:yes&#8221; &#8220;&#8211;forced-track&#8221; &#8220;0:no&#8221; &#8220;-s&#8221; &#8220;0&#8221; &#8220;-D&#8221; &#8220;-A&#8221; &#8220;-T&#8221; &#8220;&#8211;no-global-tags&#8221; &#8220;&#8211;no-chapters&#8221; &#8220;D:\\\\Folder\\\\Subtitle.srt&#8221; &#8220;&#8211;track-order&#8221; &#8220;0:1,0:3,1:0&#8221;<\/p>\n<p>Thanks<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":6},"question-category":[55],"question_tags":[],"class_list":["post-13279","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/13279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=13279"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=13279"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=13279"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=13279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}