VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. I need some help with building a command line to remove an audio track from several video files (same number audio track in each file) and have them output in another folder without that audio track. Can't seem to get that to work.
    Can I get some help explaining that to me? Thanks!
    Quote Quote  
  2. First check which ID you want to remove has:
    Code:
    mkvmerge -i "input.mkv"
    For example it has ID "2".
    https://mkvtoolnix.download/doc/mkvmerge.html#mkvmerge.track_ids


    Then:
    Code:
    for %a in (*.mkv) do mkvmerge -o "output_folder\%~a" --audio-tracks !2 "%~a"
    (If you write a batch file instead of writing directly on the cmd use "%%" instead of "%" in all cases.)
    https://mkvtoolnix.download/doc/mkvmerge.html#d4e1822
    Quote Quote  
  3. Originally Posted by sneaker View Post
    First check which ID you want to remove has:
    Code:
    mkvmerge -i "input.mkv"
    For example it has ID "2".
    https://mkvtoolnix.download/doc/mkvmerge.html#mkvmerge.track_ids


    Then:
    Code:
    for %a in (*.mkv) do mkvmerge -o "output_folder\%~a" --audio-tracks !2 "%~a"
    (If you write a batch file instead of writing directly on the cmd use "%%" instead of "%" in all cases.)
    https://mkvtoolnix.download/doc/mkvmerge.html#d4e1822
    Thank you! I'm not sure I fully understand this, but I'll study it tomorrow.
    Quote Quote  



Similar Threads

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