diff --git a/Scripts-Divers/Batch Merge one MKV Audio with another video MKV.ps1 b/Scripts-Divers/Batch Merge one MKV Audio with another video MKV.ps1 index 573510a..4130703 100644 --- a/Scripts-Divers/Batch Merge one MKV Audio with another video MKV.ps1 +++ b/Scripts-Divers/Batch Merge one MKV Audio with another video MKV.ps1 @@ -79,7 +79,7 @@ if ( $NB_External_SUB -ne 0 ) { $ExtSubTrackName_1 = "0:English - SRT" $ExtSubTrackLang_1 = "0:eng" $ExtSubTrack_1_default = "0:yes" - $Extsub_charset_1 = "0:UTF-8" + $ExtSub_charset_1 = "0:UTF-8" #### #### FILE 4 - SRT - Keeping all but the video (audio + chapters tags) # ================== SUBTITLES ================== @@ -88,7 +88,7 @@ if ( $NB_External_SUB -ne 0 ) { $ExtSubTrackName_2 = "0:Français - SRT" $ExtSubTrackLang_2 = "0:fr" $ExtSubTrack_2_default = "0:no" - $Extsub_charset_2 = "0:UTF-8" + $ExtSub_charset_2 = "0:UTF-8" #### # ================== OTHER SETTINGS ================== # Define track order @@ -345,7 +345,7 @@ Foreach ($MKV_1 in $MKV_1_List) { "$SRT_2" #> - & $MKVMerge --title "$VideoTrackName" --track-order "$track_order" -o "$Output" --no-video --no-subtitles --language "$AudioLang_1" --track-name "$AudioTrackName_1" --default-track "$AudioTrack_1_default" --language "$AudioLang_2" --track-name "$AudioTrackName_2" --default-track "$AudioTrack_2_default" "$MKV_1" --no-audio --no-track-tags --no-global-tags --language "0:en" --track-name "0:$VideoTrackName" --default-track "0:yes" "$MKV_2" --sub-charset "$Extsub_charset_1" --language "$ExtSubTrackLang_1" --track-name "$ExtSubTrackName_1" --default-track "$ExtSubTrack_1_default" "$SRT_1" --sub-charset "$Extsub_charset_2" --language "$ExtSubTrackLang_2" --track-name "$ExtSubTrackName_2" --default-track "$ExtSubTrack_2_default" "$SRT_2" + & $MKVMerge --title "$VideoTrackName" --track-order "$track_order" -o "$Output" --no-video --no-subtitles --language "$AudioLang_1" --track-name "$AudioTrackName_1" --default-track "$AudioTrack_1_default" --language "$AudioLang_1" --track-name "$AudioTrackName_1" --default-track "$AudioTrack_1_default" "$MKV_1" --no-audio --no-track-tags --no-global-tags --language "0:en" --track-name "0:$VideoTrackName" --default-track "0:yes" "$MKV_2" --sub-charset "$ExtSub_charset_1" --language "$ExtSubTrackLang_1" --track-name "$ExtSubTrackName_1" --default-track "$ExtSubTrack_1_default" "$SRT_1" --sub-charset "$ExtSub_charset_2" --language "$ExtSubTrackLang_2" --track-name "$ExtSubTrackName_2" --default-track "$ExtSubTrack_2_default" "$SRT_2" } else {