VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Member
    Join Date
    Feb 2009
    Location
    United Kingdom
    Search Comp PM
    I have a movie, audio sync is fine if I play in SMPlayer.

    However, when I watch in VLC, the audio is way out of sync by minutes - if I seek to a future time, etc.

    When I look at the codec media info, it shows that the first Stream 0 is the audio. Normally, all my other movies, Stream 0 is the Video.


    Is this a known problem for VLC?
    Quote Quote  
  2. You can try to remap (swap) audio and video track:
    Code:
    @ffmpeg -i "%1" -map 0:1 -map 0:0 -c copy -f matroska "%~n1_swap.mkv"
    Quote Quote  
  3. Member
    Join Date
    Feb 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by pandy View Post
    You can try to remap (swap) audio and video track:
    Code:
    @ffmpeg -i "%1" -map 0:1 -map 0:0 -c copy -f matroska "%~n1_swap.mkv"
    awesome
    how can I use this command-line?
    Quote Quote  
  4. Or swap the streams and remux with MKVToolnixGUI. It'll open the common containers (AVI, MP4 etc) and remux as MKV.
    Quote Quote  
  5. Originally Posted by andwan0 View Post
    Originally Posted by pandy View Post
    You can try to remap (swap) audio and video track:
    Code:
    @ffmpeg -i "%1" -map 0:1 -map 0:0 -c copy -f matroska "%~n1_swap.mkv"
    awesome
    how can I use this command-line?
    If you using Windows just create with simple text editor new file, name it somehow, copy above line, save, after this change extension to bat or cmd, after all you will have script file, drag and drop your video on this file - after few moments you will get new file with similar name - ffmpeg can be downloaded from link provided by VideoHelp - all you need is to have ffmpeg.exe in same folder where your newly created script is located.
    Quote Quote  



Similar Threads

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