VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hey, I have hundreds of mkv files with subtitles in it. I want to remux all files again, but without the subtitle tracks. Is there an easy solution?

    Regards
    Quote Quote  
  2. Banned
    Join Date
    Feb 2013
    Search PM
    MKVToolNIX
    Just uncheck the streams you don't want
    Quote Quote  
  3. Originally Posted by gonca View Post
    MKVToolNIX
    Just uncheck the streams you don't want
    Hundred of files manually?
    Quote Quote  
  4. for %%a in (*.mkv) do mkvmerge -o "output\%%a" --no-subtitles "%%a"

    Or MKVBatch.
    Quote Quote  
  5. Originally Posted by sneaker View Post
    for %%a in (*.mkv) do mkvmerge -o "output\%%a" --no-subtitles "%%a"

    Or MKVBatch.
    Perfect! Thanks!
    Quote Quote  
  6. I just ask a question with another way to solve this

    Code:
    for i in *.mkv; do
      mkvmerge --no-subtitles "$i" -o WithoutSubs/"$i"
    done
    I don't know if it works on Windows but here is another way to do it using bash.
    Quote Quote  
  7. I doesn't work on Windows (except maybe Windows 10 x64 with Ubuntu/bash?). And with that quote placement it might not work at all on any system.
    Quote Quote  
  8. Originally Posted by sneaker View Post
    I doesn't work on Windows (except maybe Windows 10 x64 with Ubuntu/bash?). And with that quote placement it might not work at all on any system.
    On Windows probably not but the script works and these quotes are needed. if u don't use it the file name will break in every space.
    Quote Quote  
  9. Usually you put the quotes around the complete path:
    "WithoutSubs/$i"

    You did:
    WithoutSubs/"$i"
    Quote Quote  
  10. Originally Posted by sneaker View Post
    Usually you put the quotes around the complete path:
    "WithoutSubs/$i"

    You did:
    WithoutSubs/"$i"
    The quotes are needed around the variable $i for the video file name.
    I̶f̶ ̶I̶ ̶s̶u̶r̶r̶o̶u̶n̶d̶ ̶t̶h̶e̶ ̶p̶a̶t̶h̶ ̶t̶o̶o̶ ̶I̶ ̶w̶i̶l̶l̶ ̶t̶a̶k̶e̶ ̶i̶t̶ ̶a̶s̶ ̶a̶ ̶s̶t̶r̶i̶n̶g̶ ̶a̶n̶d̶ ̶s̶e̶n̶d̶ ̶l̶i̶t̶e̶r̶a̶l̶l̶y̶ ̶t̶h̶e̶ ̶w̶o̶r̶d̶ ̶$̶i̶ ̶a̶n̶d̶ ̶n̶o̶t̶ ̶t̶h̶e̶ ̶v̶i̶d̶e̶o̶ ̶f̶i̶l̶e̶ ̶n̶a̶m̶e̶.̶
    Last edited by Akari; 15th Jan 2017 at 09:47.
    Quote Quote  
  11. Ok, I guess you're using a different shell than me, then. I think without "./" at the beginning path would be a problem on mine as well.
    Quote Quote  
  12. Originally Posted by Akari View Post
    If I surround the path too I will take it as a string and send literally the word $i and not the video file name.
    nvm I just try and it works in anyway.
    Last edited by Akari; 15th Jan 2017 at 09:47.
    Quote Quote  



Similar Threads

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