VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. would like to have a batch file for mkvpropedit that can set the subtitle track to display english, as well as the audio track for japanese. there is only one video, audio, and subtitle track for each file, and they should be in the same order. thanks for any help

    When I try to use this command:
    "C:\Program Files\MKVToolNix\mkvpropedit.exe" "D:/*.mkv" --edit track:a1 --set language="jpn" --edit track1 --set language="eng"
    I get the following error

    "Error: The file '*.mkv' is not a Matroska file or it could not be found."
    Last edited by WakaFlakaFlakes; 12th May 2017 at 14:32.
    Quote Quote  
  2. Mkvpropedit does not accept wildcards like "*" in file names. You can use the Windows batch functions:
    Code:
    cd /d D:\
    for %%a in (*.mkv) do "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%a" --edit track:a1 --set language=jpn --edit track:s1 --set language=eng
    Quote Quote  
  3. That worked perfectly, thanks
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!