VideoHelp Forum


Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Hello my friends,
    I know that is a lot of similar post,
    But I need a software or command for batch files to mux all srt to mkv in a folder,
    example 10srt's+10mkv's all, one after one muxing only by one click on batch file

    Without any modification script for file after files, I've got mkv and srt in the same names
    Any suggestions you guys?

    Tapped by SM-A310f
    Last edited by euphonic; 1st Jul 2016 at 16:16.
    Quote Quote  
  2. Try either:
    Windows/CMD batch:
    for %%a in (*.mkv) do mkvmerge -o "muxed\%%a" "%%a" "%%~na.srt"

    MKVBatch:
    https://forum.videohelp.com/threads/371886-Batch-merges-for-MKVmerge-%28Windows-only%29

    (answer to PM I received today, not accidentally digging up old thread)
    Quote Quote  
  3. Originally Posted by euphonic
    doesn't work :/
    this line
    for %%a in (*.mkv) do d:\1\ mkvtoolnix 9.4.2\ mkvmerge.exe -o "muxed\%%a" "%%a"
    "%%~na.srt"
    Put quotes around paths that have spaces in them. Make sure no extra spaces after "\".

    Originally Posted by euphonic
    the cmd window show in seconds and disappeard
    Add extra line: "PAUSE". Then window doesn't close and you can read error messages.

    Originally Posted by euphonic
    And have other problem
    I've got other mkv's with muxed .srt
    how to removed them and add new or simple how to replace them??
    Remove subtitles from input file: --no-subtitles
    Example: for %%a in (*.mkv) do mkvmerge -o "muxed\%%a" --no-subtitles "%%a"

    Remove embed subtitles and add new:
    for %%a in (*.mkv) do mkvmerge -o "muxed\%%a" --no-subtitles "%%a" "%%~na.srt"

    Read: https://mkvtoolnix.download/doc/mkvmerge.html
    Quote Quote  
  4. command:
    for %%a in (*.mkv) do "E:\1\converters\MKV\mkvtoolnix 9.4.2\mkvmerge.exe"-o"D:\2\%%a"--no-subtitles
    PAUSE
    Click image for larger version

Name:	2016-10-04 18.38.08.png
Views:	203
Size:	11.5 KB
ID:	38807

    Doesn't work :/
    Last edited by euphonic; 4th Oct 2016 at 13:01.
    Quote Quote  
  5. The order of the commands is important. See my example and the docs. https://mkvtoolnix.download/doc/mkvmerge.html#mkvmerge.synopsis
    And be careful with spaces. You removed too many.
    Quote Quote  
  6. I just read this before, the error is about names of input and output files, but I can't handle with it, I know about cmd not much
    I'll try it in couple minutes, I'm on shopping now

    Tapped by SM-A310F
    Quote Quote  
  7. How to add command cropping to JMKvpropedit?
    File: D:\*.mkv
    Command line: "mkvpropedit" "D:\*.mkv" --edit track:v1 --cropping 0:0,40,0,40

    Error: More than one file name has been given ('D:\*.mkv' and '--cropping').
    or
    File: D:\*.mkv
    Command line: "mkvpropedit" "D:\*.mkv" --edit track:v1 --set cropping 0,40,0,40

    Error: Invalid change spec (missing value) in '--set cropping'.
    both doesn't work
    Quote Quote  
  8. Stop trying to make up parameters.
    Originally Posted by sneaker View Post
    Why are you trying to invent new parameters? You can list all possible parameters using mkvpropedit -l
    If you use JMKvpropedit it will already fill in the input file name for mkvpropedit. You must not enter it a second time manually.
    Quote Quote  
  9. hi
    look
    Click image for larger version

Name:	2016-11-02 20.33.41.png
Views:	177
Size:	12.2 KB
ID:	39214

    propedit.exe can use in commandline arguments of cropping, but how should look a commandline for this?
    Quote Quote  



Similar Threads