A/V sync problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • varunb
    Trying my experiments in the dark.
    • Dec 2005
    • 79

    A/V sync problem

    Pls can any1 help me. this is a serious a/v sync problem.

    i converted a .vob file to avs using dgindex. i found that the ac3 stream demuxed by dgindex had a delay of -129ms (by checking the name of the ac3 stream). I inserted the .avs & the ac3 files to vdubmod &after checking the frame rate dialog box, i found both had suprisingly the f.r of 23.976 to maintain sync. When i encoded the avs alongwith the delay factor inserted in the audio skew correction box(using divx codec), i found that the output avi were not in sync. to maintain sync the a/v shud hav a frame rate of 23.978. but on playing the avi in media player classic in divx player, i found that the audio was totally in sync with the motion & lip movement of the persons speaking in the movie. now i am confused as i dont know how to fix this frame rate problem. before encoding the avs file vdubmod also reported that the ac3 stream had some corrupted bytes of bad frame headers.

    i ave tried everthing from ac3fix,besplice to reencoding the ac3 file in besweet but still i am getting the same frame rate report in the vdubmod's frame rate tab about the a/v sync. WAT SHALL I DO TO FIX THIS PROBLEM ??
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    #2
    not sure i understand... if the audio is in sync what exactly is the problem?
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • ed klein
      Banned
      • Mar 2004
      • 880

      #3
      Let me guess, at -129ms it must be the movie basic instinct 2.

      Two methods I have learned in the past to keep video and audio in sync, but I normally go from AVI to mpeg2/DVD.

      1. Put ALL your files including logs, set up files and other necessary files in ONE folder, the only other folder is the folder your will need to burn usually the VIDEO_TS folder with the necessary burning files.
      2. If you use DGIndex be sure you create BOTH the video and audio file at the same time or together like d2v video and AC-3 audio. You can input the d2v file to some other program but be sure you create the video and audio at the same time and with the same software program. Don't create audio with some other program like VobEdit.
      3. If you use the IFO Edit software to author the -129ms was automatically adjusted to be in sync with video and audio. At least it was for the basic instinct 2, you did not have to adjust for delay in ms.

      Comment

      • varunb
        Trying my experiments in the dark.
        • Dec 2005
        • 79

        #4
        Well guyz firstly, thanx for showing interest in my problem. secondly ed klein, its not basic instinct 2. thirdly, both the audio & d2v files were created at the sametime only.
        I just dont understand the problem myself. The length of the video part is 00:25:15.014 as reported by vdubmod. the length of the audio (repaired by ac3fix gui due to corruption of 192 bytes starting at byte 36360192 in the stream ripped by dgindex) is 00:25:15.008. The corrupted ac3 file has a length of 00:25.15.016. Since there is only this much difference between the video & audio durations, then why is dgindex giving me a delay value of -129ms. Now any suggestions guyz ?

        Comment

        • anonymez
          Super Moderator
          • Mar 2004
          • 5525

          #5
          again, what is the actual problem you're having?
          "What were the things in Gremlins called?" - Karl Pilkington

          Comment

          • varunb
            Trying my experiments in the dark.
            • Dec 2005
            • 79

            #6
            well let me xplain my prob in detail again.

            I generated a d2v file of my movie using dgindex. The ac3 stream demuxed by dgindex shud hav a delay of -129ms. On feeding the .avs & ac3 files in vdubmod, i found that they r in sync at a frame rate of 23.976. Moreover, vdubmod is reporting that the length of video stream is 00:25:15.014 & that of the audio stream is 00:25:15.016. It is also reporting that a total of 192 bytes hav been corrupted starting at byte 36360192.

            When i encoded a sample using the delay factor & checked the output avi in vdubmod, then it reported that the frame rate shud b 23.978 to maintain a/v sync. But on playing the avi, i found that the audio was in total with the lip movement of the speaker. WHAT SHUD I DO TO GET A/V SYNC AT F.R of 23.976 ?

            my 2nd question is dat shud i use the ac3 stream generated by ac3fix or the original one ?I am asking this cos the length of the ac3 generated by ac3fix is
            00:25:15.008.

            Hope u can understand dis!

            Comment

            • varunb
              Trying my experiments in the dark.
              • Dec 2005
              • 79

              #7
              Hey i hav figured out the solution. I used GoldWave's timestretch function to match the length of the audio stream with the video stream & it worked. Anyways, thanx every1 for looking into my problem.

              Comment

              Working...