VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    for %%a in (*.mkv) do mkvmerge -o "output\%%~a" --default-track 2 "%%~a"

    hello there
    the script above doing well with me making the sub default ,but I wonder always it must copy to new folder (I mean it cannot be a quick action within the video file without wasting the time of copying to a new video again?)

    of course I am talking about series with 99 ep and every ep around 1GB, this a long time to copy
    Quote Quote  
  2. users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  3. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by Selur View Post
    thanks but it doesn't seems the page for teaching a beginner
    is there is certain command or tool ?
    Quote Quote  
  4. Doesn't the 'Example'-section cover what you want?
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  5. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by Selur View Post
    Doesn't the 'Example'-section cover what you want?
    no there is removing tag switch flag ...etc but there is nothing saying making track# default

    section 6 (examples) right?
    Quote Quote  
  6. Did you actually read what is written there?
    Code:
    mkvpropedit movie.mkv --edit track:s1 --set flag-default=0 --edit track:s2 --set flag-default=1
    This removes the default flag from subtitle track 1 and sets if for subtitle track 2,
    for audio tracks:
    Code:
    mkvpropedit movie.mkv --edit track:a1 --set flag-default=0 --edit track:a2 --set flag-default=1
    this would remove the default flag from audio track 1 and sets if for audio track 2.

    Note the comment:
    Note that mkvpropedit(1), unlike mkvmerge(1), does not set the 'default track flag' of other tracks to '0' if it is set to '1' for a different track automatically.
    So if you do not want to end up with multiple tracks flagged as default make sure to disable the default flag for other tracks.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  7. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by Selur View Post
    Did you actually read what is written there?
    Code:
    mkvpropedit movie.mkv --edit track:s1 --set flag-default=0 --edit track:s2 --set flag-default=1
    This removes the default flag from subtitle track 1 and sets if for subtitle track 2,
    for audio tracks:
    Code:
    mkvpropedit movie.mkv --edit track:a1 --set flag-default=0 --edit track:a2 --set flag-default=1
    this would remove the default flag from audio track 1 and sets if for audio track 2.

    Note the comment:
    Note that mkvpropedit(1), unlike mkvmerge(1), does not set the 'default track flag' of other tracks to '0' if it is set to '1' for a different track automatically.
    So if you do not want to end up with multiple tracks flagged as default make sure to disable the default flag for other tracks.

    Cu Selur
    ok thanks it just this flag thing confuses me
    so
    default=1 that's on
    default=0 to the rest that's off
    right?

    so what equivalent to make full folder as my request in the beginning
    for %%a in (*.mkv) do mkvmerge -o "output\%%~a" --default-track 2 "%%~a"
    Quote Quote  
  8. You select a track using '--edit track:..' you then set disable the default flag with '--set flag-default=0' or enable the default flag with '--set flag-default=1'.
    You should read the whole page if you want to understand things.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  9. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    found easy use tool for that to whom just like me beginner

    the tool name jmkvpropedit-1.4.3 (just extract and use)
    https://www.mediafire.com/file/vhllg04an7u4z53/jmkvpropedit-1.4.3-bin.rar/file

    very handy in making default and such thing
    Last edited by ghazalo; 5th Jan 2024 at 03:00.
    Quote Quote  



Similar Threads

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