VideoHelp Forum




+ Reply to Thread
Results 1 to 20 of 20
  1. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Hi, I'm having problems changing the audio files from .mkv files. I'd like to change 65 of them using a "batch" with mkvmerge but I don't know the exact steps i need to follow to do so. All i want to do is change the audio defaults from japanese to english and the sub to not default. Can anyone PLEASE help me? I followed a youtube video but when I attempted to do so the .bat file would always open for 1 second and close instantly.
    Quote Quote  
  2. To see the error message add "pause" (without the quotes) to the end of the .bat file



    mkvpropedit might be more suitable for this task (this forum hot links to mkvmerge, but there is a utility called "mkvpropedit.exe" that comes with mkvtoolnix)

    There is a GUI called JMKVPropedit which is probably easier for you to use (you can set default track on audio /video/sub tracks to a batch list of videos)

    http://forum.doom9.org/showthread.php?t=163753
    Quote Quote  
  3. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    To see the error message add "pause" (without the quotes) to the end of the .bat file



    mkvpropedit might be more suitable for this task (this forum hot links to mkvmerge, but there is a utility called "mkvpropedit.exe" that comes with mkvtoolnix)

    There is a GUI called JMKVPropedit which is probably easier for you to use (you can set default track on audio /video/sub tracks to a batch list of videos)

    http://forum.doom9.org/showthread.php?t=163753
    Hey, so i tried using it but it says that it cant open the file location?
    Quote Quote  
  4. Was that the exact error message ?

    In the general tab, "mkvpropedit executable" - do you have mkvpropedit.exe linked to the correct location ?
    Quote Quote  
  5. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Was that the exact error message ?

    In the general tab, "mkvpropedit executable" - do you have mkvpropedit.exe linked to the correct location ?
    its located here C:\Program Files (x86)\MKVToolNix\mkvpropedit.exe and the error is along the lines of cannot read or write file
    Quote Quote  
  6. I don't know. Sounds like it might be an administrator or priviledge issue, or maybe corrupt memory. Do you have access on that drive or admin priviledges ? Write the error message verbatim
    Quote Quote  
  7. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    I don't know. Sounds like it might be an administrator or priviledge issue, or maybe corrupt memory. Do you have access on that drive or admin priviledges ? Write the error message verbatim
    "The file is being analyzed.


    Error: The file 'C:\Users\Eric's account\Desktop\Fullmetal Alchemist BrotherHood Complete Series\Fullmetal Alchemist BrotherHood 64.mkv' could not be opened for reading and writing, or a read/write operation on it failed: open file error."


    this is the error I don't know what to do...
    Quote Quote  
  8. It says "Users\Eric's account" in your path so that implies that you might not be the admininstrator and might not have permissions to modify files on that machine . Log in as administrator, run as administrator (or go get the owner of the machine to give you permissions)
    Quote Quote  
  9. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    It says "Users\Eric's account" in your path so that implies that you might not be the admininstrator and might not have permissions to modify files on that machine . Log in as administrator, run as administrator (or go get the owner of the machine to give you permissions)
    I am the administrator. I don't understand why it's not allowing me to do this.
    Quote Quote  
  10. Then there might be some security or firewall settings preventing you from doing this. I think that GUI runs on java, and it might cause havoc with some security programs or settings

    You can copy the command line generated (there is a generate command line button) and run it from a prompt instead
    Quote Quote  
  11. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    I just did everything and I'm still getting this error. I don't understand. I drop the file into the program, go to audio, select audio 1 edit them and click process. and it says cannot open file location?
    Quote Quote  
  12. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    okay i'll try that
    Quote Quote  
  13. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Then there might be some security or firewall settings preventing you from doing this. I think that GUI runs on java, and it might cause havoc with some security programs or settings

    You can copy the command line generated (there is a generate command line button) and run it from a prompt instead
    I copied the general command and pasted it into a command prompt and it said that it wasnt recognized as an internal or external command, operable program or batch
    Quote Quote  
  14. you probably don't have the right paths specified - post the command line here
    Quote Quote  
  15. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.


    C:\Users\Eric's account>C:\Program Files (x86)\MKVToolNix\mkvpropedit.exe" "C:
    \Users\Eric's account\Desktop\Fullmetal Alchemist BrotherHood 01.mkv" --edit t
    rack:a1 --set flag-default=0 --set flag-forced=0 --set name="Japanese" --set lan
    guage="jpn" --edit track:a2 --set flag-default=1 --set flag-forced=1 --set name=
    "English" --set language="eng"
    'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.


    C:\Users\Eric's account>C:\Program Files (x86)\MKVToolNix\mkvpropedit.exe" "C:
    \Users\Eric's account\Desktop\Fullmetal Alchemist BrotherHood 01.mkv" --edit t
    rack:a1 --set flag-default=0 --set flag-forced=0 --set name="Japanese" --set lan
    guage="jpn" --edit track:a2 --set flag-default=1 --set flag-forced=1 --set name=
    "English" --set language="eng"
    'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.


    C:\Users\Eric's account>
    Quote Quote  
  16. Unless you copy/pasted incorrectly, you're missing an open quotation mark
    Quote Quote  
  17. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Unless you copy/pasted incorrectly, you're missing an open quotation mark
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.


    C:\Users\Eric's account>"C:\Program Files (x86)\MKVToolNix\mkvpropedit.exe" "C
    :\Users\Eric's account\Desktop\Fullmetal Alchemist BrotherHood 01.mkv" --edit
    track:a1 --set flag-default=0 --set flag-forced=0 --set name="Japanese" --set la
    nguage="jpn" --edit track:a2 --set flag-default=1 --set flag-forced=1 --set name
    ="English" --set language="eng"
    The file is being analyzed.
    Error: The file 'C:\Users\Eric's account\Desktop\Fullmetal Alchemist BrotherHo
    od 01.mkv' could not be opened for reading and writing, or a read/write operatio
    n on it failed: open file error.


    C:\Users\Eric's account>
    Quote Quote  
  18. well that's just weird

    I wonder if these are write protected? or read-only? if you right click one of them and check properties what does it say ?

    One of the benefits of using mkvpropedit instead of mkvmerge for what you want to do is it doesn't remux the file by writing a new file, it changes the files in place (so you don't have twice as many files, and it's waaay faster) . But you need to have permissions to modify and write to the file .
    Quote Quote  
  19. Member
    Join Date
    Oct 2013
    Location
    canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    well that's just weird

    I wonder if these are write protected? or read-only? if you right click one of them and check properties what does it say ?

    One of the benefits of using mkvpropedit instead of mkvmerge for what you want to do is it doesn't remux the file , it changes the files in place (so you don't have twice as many files, and it's waaay faster) . But you need to have permissions to modify and write to the file
    I........ I feel like crying because I'm so stupid. They were on read only the entire time. I've been attempting to do this for 24 hours. Man.... thank you so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so so much
    Quote Quote  
  20. It's ok - everyone forgets to check stuff like that

    Cheers
    Quote Quote  



Similar Threads

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