VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. I have an mkv file, which has one video and 1 audio track. The audio out of sync. Using a +1000ms audio delay in vlc makes it sync.
    So i'm trying to re-encode with https://www.videohelp.com/tools/MKVtoolnix to get audio sync
    I believe
    HTML Code:
    -y
    switch should be used to do this. But it requires track ID to do the job(as said in the mkvmerge document).
    Now, how do i find out the track ID? When i tried
    mkvmerge -i e.mka

    it throws me an error:

    Error: The source file 'e.mka' could not be opened successfully, or retrieving i
    ts size by seeking to the end did not work.

    Opening the file in mkvmergeGUI doesn't show the TID either.

    Also, is it necessary for the input file to be present in the mkvmerge directory (the one which is defined in the environment variables)? Because, if i place the input file in any other directory, then i am supposed to five the directory location along with the filename, but the -i switch states that it won't take anything other than the filename itself.

    P.S: It seems that there are confusions with "track ID". I believe that the required TID in this case is the one something like 12345 and not 01 or 02.
    I also saw some dated discussions on TID here, but couldn't get what they were talking:
    https://trac.bunkus.org/ticket/695
    http://forum.doom9.org/archive/index.php/t-155732.html (while in this page, search for "identify" to see the TID related conversations)
    Quote Quote  
  2. Have you tried demuxing with TSMuxer and remuxing with a sync offset?
    Quote Quote  
  3. You can just load it into mkvmergegui, set your delay and remux new mkv, or do you just want to find some command line solution?
    Quote Quote  
  4. as for command line solution, you get track ID first with one line and then use -y in another command line, example here: http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html#mkvmerge.examples
    Quote Quote  
  5. Thank You _Al_ for your first suggestion.
    Quote Quote  



Similar Threads

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