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

Audio and video unsynchronized

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by dhavals17, Feb 21, 2005.

  1. dhavals17

    dhavals17 Member

    Joined:
    Feb 18, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hi, I downloaded a ripped dvd and converted the VOB files to mpeg format using AVS video convertor, when I play the mpeg file, the audio and video are not in register.Kindly let me know how can I shift the frames of Audio to match the video.

    Thanks
    Dhaval
     
  2. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    I am not much able in DID ripping (mine were always in-sync because it's me who made them), but if you use VobEdit you can demux the audio trace (just do 'demux all audio ...' ) and convert the AC3 (I suppose it's AC3) to MP2 with BeSweet (if you choose MP2 for DVD , it will be sampled 48 kHz, if you choose MP2 for SVCD , it will be sampled 44.1 kHz).
    Or, using DVD2AVI (but you need to know the exact nr of the audio trace you want to extract, you can see it in a text file which is present among the series, probably) you can convet it to WAV, then load it.
    But what do you want to do? A DVD? A (S)VCD? Some guides are in http://www.afterdawn.com/guides/, http://www.afterdawn.com/guides/archive/dvd2vcd_with_smart_dvd2avi_tmpgenc.cfm for DVD -> VCD, http://www.afterdawn.com/guides/archive/dvd2svcd_with_tmpgenc.cfm for DVD -> SVCD, I suppose you don't need to make a DVD, otherwise you could simply burn the DVD image, and you wouldn't need to rip it..(http://www.afterdawn.com/guides/archive/full_dvd_to_dvdr_with_clonedvd.cfm using CloneDVD and many others in the DVD-R section of http://www.afterdawn.com/guides/...)
     
    Last edited: Feb 21, 2005
  3. dhavals17

    dhavals17 Member

    Joined:
    Feb 18, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Dear Moderator, I want to burn the mpeg files for making a Vcd, actually the source file itself has this desynchronization, unless the avs video convertor or TMPEnc has introduced the sifht, which is unilkely.
     
  4. dhavals17

    dhavals17 Member

    Joined:
    Feb 18, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    in TMPGenc, for audio visualization, there is a green progress bar which one can slide, does that help in someway to synchronize the audio and video? I tried to demux a separat Wav file and then remerge it with TMpGenc, but that doesn't seem to work. No text file either in the ripped , downloaded vobs, ifos, bins, and cus.s..
     
  5. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Alas, my method is good if the original movie (AVI, for instance) was in-sync and the out-of-aync has been added by the conversion process.
    VirtualDub usually detects this, if it's the file which has the problem, and gives a warning (and I posted how to correct it).
    If the original movie is NOT in sync (and I imagine of a constant rate, 2.5 sec for exemple) you can correct it, but it's hard.

    1) extract an uncompressed WAV, as I said.
    If the movie is corrupt, at a certain point the sound gets constant un-shift from that poind to the end.
    2) open the WAV with EAC- Tools___Process WAV. Now you have the fill WAV (> 1 GB) loaded.
    Select the point from which the movie gets the shift, with the mouse. Do Edit__Insert Silence and insert a silence untill the rest of the movie is in-synch (therefore I hope there's onlt a point). Alas, you add 'samples' , therefore 500,000 samples = more or less 11.3 sec (obviously, you have to guess the amount by watching the movie).
    Then File___Save As.. and save (it will take a lot a time!).
    3) Then use VirtualDubMod, open the file, do Stream__Stream list, delete the old file, add the new one (if it accepts WAV OK, otherwise you'll need to compress it to 'MP2 for SCVCD' with BeSweet+BeSweet GUI), set Video__Direct Stream Copy, do File__Save and save this AVI you made with the new sound (and pray). The new AVI now has your new audio. Listen to it and see if it works (or if you need to add more silence to shift the audio more, ore if there are other points in which the sound becomes out-of-sync with te video...).
    It's a looong work, I'm sorry. Corrupt movies, when that can be corrected (many must be discharged), 'cause lof ot truble....
     
    Last edited: Feb 22, 2005

Share This Page