Skip to content

Instantly share code, notes, and snippets.

@m3y54m
Last active July 21, 2023 09:53
Show Gist options
  • Save m3y54m/3967a227104bfa2f966e7fe7cdefce8a to your computer and use it in GitHub Desktop.
Save m3y54m/3967a227104bfa2f966e7fe7cdefce8a to your computer and use it in GitHub Desktop.
Batch extract audio file of a specific language from MKV files (Using MKVToolNix)
REM Batch extract audio of a specific language (Farsi) from MKV files - Using mkvmerge
FOR /F "delims=*" %%A IN ('dir /b *.mkv') DO "C:\Program Files\MKVToolNix\mkvmerge.exe" -o "farsi_audio_%%A.mka" -D -S -a fa "%%A"
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment