1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Audio/video sync problems on converted file.

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by john03, Jun 13, 2003.

  1. DrCarter

    DrCarter Guest

    OK I think I can clarify the problem, since John and masterv have a little bit of a language barrier, and I've been trying to deal with this problem for months. Dela, essentially what happens is, there are certain AVI's (usually DIVX and ESPECIALLY XVID, I don't know why everyone keeps using it) that have consecutive bad frames, wherein the video becomes garbled and digitized and looks like "green mush". Sometimes it's not that bad and even if you convert it to a VCD with TMPGEnc, you may see a little distortion on the video but the overall movie still plays OK. However, in other cases the picture "freezes" for a second and literally melts into the green mush, but the sound continues. This throws the audio out of sync from the video. Typically when you play the video on MediaPlayer the sync problem corrects itself, so that you may see the video speed up until it's in sync with the audio. But if you try to convert it to an MPEG, the audio is out of sync with video from the bad frames onward.
    Sometimes DIVXRepair will solve this, but often it doesnt recognize the bad frames and tells you "all frames are good". AVIFixed often doesn't pick it up either. If you try using VirtuaDub to cut out the bad frames by creating two new AVI's (using "Save as AVI" and putting video and audio on direct stream copy) your new AVI's will still have audio out of sync. I've tried setting the environmental settings on TMPGEnc as others have suggested, and it usually just crashes. Unless you have a suggestion for something I haven't tried, I think the only thing you can do is look for a better copy of the file without those errors.
    One other suggestion for john: you don't always need fancy software. Open your Windows Explorer, find the file in question, and right click on it, then select "properties". Go to the "summary" tab, and it will give you basic information about your file. Look at audio and video to see what kind of codec it uses. Make sure you have the right video codec (you probably do if you're able to play it). Check the audio; if looks really bizarre, it may be an AC3 audio. If that's the case, search on this site for instructions how to deal with that (it's too long to go into here, and I know I hate when people go on about things unrelated to the question).
     
  2. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    OK, well I use VirtualDUB for removing bad frames, nandub is also good for vbr audio!
     
  3. DrCarter

    DrCarter Guest

    Thanks, I actually have an update. Today I tried changing the following environmental settings: Direct Show to +2, AVI VFW Compatibility to 0. All the rest I kept at 0. This time when I converted my damaged AVI through TMPGEnc, it just plowed right through the damaged section, and the rst of the movie was perfect with audio and video in sync! I haven't tried it yet with others so I can't guarantee it will solve all problems (particularly XVID), but it at least worked on this one that I tried everything else on! John, it's worth a try!
     
  4. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    Ye i can understand how that would work giving directshow complete priority!
     
  5. jonny618

    jonny618 Member

    Joined:
    Aug 24, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    hey dr.carter....when i am encoding a movie that has no problems...should i change the vfpai environmental setting back to the reccomended settings, or should i keeps them as they are????
     
  6. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    I find that with any divx/xvid its always best to have directshow multimedia filereader with a priority of 2!
     
  7. jonny618

    jonny618 Member

    Joined:
    Aug 24, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    awsome thanz...btw...u have dela...u have helped sooooo much during the past 3 months, i really appreciate all ur help!!!!
     
  8. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    Its no problem :)
     
  9. jonny618

    jonny618 Member

    Joined:
    Aug 24, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    btw...i took ur advice and used divxfix..it removed the bad and corrupted parts of my movie...is there any way that now i can make sure my subtitles are still in sync with video
     
  10. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    ouch, i dont think so man, thats a bitch i must admit, but if it only removed a couple of frames it should be fine!
     
  11. jonny618

    jonny618 Member

    Joined:
    Aug 24, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    that sux..i'll try to play around with the subtitles...i just hoped there was an easier way...thankz again
     
  12. Dela

    Dela Administrator Staff Member

    Joined:
    Aug 25, 2002
    Messages:
    8,895
    Likes Received:
    3
    Trophy Points:
    118
    Ok Good Luck Man!
     

Share This Page