audio out of sync when converting to wav

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by euloginny, Apr 2, 2004.

  1. euloginny

    euloginny Member

    Joined:
    Apr 2, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    Hi there. I have a problem with a movie. When I open in Virtualdub the movie (with 1h32m20sec lenght) it detects the VBR MP3 and the if converted to CBR it will introduce 8234 of skew. When convert the audio stream to WAV, the file is only 1h31m30sec.
    When I'm doing the AVI to VCD conversion the movie is totally out of sync. The funny thing is that the audio stream in the AVI is at the same lenght of the video stream in the AVI. I tried to convert the MP3 to WAV in BeSweet, but after transcoding it shows:
    Stream error : Sync found after 41856 bytes
    [00:05:40:826] Stream error : Sync found after 32592 bytes
    [00:05:46:898] Stream error : Sync found after 36144 bytes
    [00:06:30:050] Stream error : Sync found after 92679 bytes
    [00:06:48:746] Stream error : Sync found after 36768 bytes
    [00:06:57:050] Stream error : Sync found after 29376 bytes
    [00:07:07:562] Stream error : Sync found after 36576 bytes
    [00:07:52:826] Stream error : Sync found after 51984 bytes
    [00:07:55:754] Stream error : Sync found after 67104 bytes
    [00:08:09:746] Stream error : Sync found after 69264 bytes
    [00:08:34:802] Stream error : Sync found after 53760 bytes
    [00:08:53:978] Stream error : Sync found after 83760 bytes
    [00:09:15:290] Stream error : Sync found after 52080 bytes
    [00:09:26:546] Stream error : Sync found after 33072 bytes
    [00:09:39:938] Stream error : Sync found after 32352 bytes
    [00:09:42:698] Stream error : Sync found after 29088 bytes
    [00:09:49:394] Stream error : Sync found after 19584 bytes.
    Is there any way to fix the bad audio stream, or to put the audio in sync when converting to VCD?
    Thanks in advance!
     
  2. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    This is because VBR audio is goes against the AVI specification and because the Packet length of VBR audio is Of a Variable length the audio length changes when the audio has been decompressed.....So what you have to do is Decompress the audio in your AVI file before encodeing it to VCD useing say "Tmpgenc"....You can decompress the audio useing Virtual Dub by going to "Audio" and set it to "Full Processing Mode" and then set the "Video" to "Direct Stream Copy" and then go to "File" to "Save AVI" and then give the New AVI file a Name and save it ,and in a few Minutes you will have a New AVI file with Uncompressed audio and a Lot Bigger because of the Uncompressed audio, You now just encode this File with your Encoder(Tmpgenc is the best for VCD)...Cheers

    PS: if you MPM me with your e-mail I can also send you a simple tool that will decompress the audio for you...
     

Share This Page