XviD to H.264 MeGUI conversion - audio sync problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • admin
    Administrator
    • Nov 2001
    • 8951

    XviD to H.264 MeGUI conversion - audio sync problems

    I've been doing some test XviD to H.264 conversions in MeGUI, but I've run into audio sync problems on some of the output files. What's the best way to prevent it?

    I've tried demuxing the mp3 track from VirtualDubMod, and then muxing it in without re-encoding in MeGUI, but it is still out of sync.

    It doesn't happen to all the files, but from what I can tell, it happens when the original file was edited before (sections cut out).
    Visit Digital Digest and dvdloc8.com, My Blog
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    #2
    Guessing the source is in an AVI and that the audio is VBR?

    MeGUI uses Avisynth, which is capable of both Directshowsource() and Avisource(). VFW/AVI spec does not (or rather is not supposed to) support VBR audio, and Directshow, due mostly to the merit system is just inherently unreliable. Assuming the video framerate/number of frames does not change in the process, demux with Avi-Mux GUI, re-encode with something like foobar2k if needed and mux with mkvmerge/mp4box.

    What's the best way to prevent it?
    - Avisynth's EnsureVBRMP3Sync()
    - Reliable decoders/encoders (foobar2k, ffmpeg)
    - Use/encode to CBR in AVI
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • admin
      Administrator
      • Nov 2001
      • 8951

      #3
      Thanks, I'll try it out.
      Visit Digital Digest and dvdloc8.com, My Blog

      Comment

      Working...