xvid encoding w/out audio, later problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spilja
    Junior Member
    Junior Member
    • Oct 2003
    • 6

    xvid encoding w/out audio, later problems

    I ripped a dvd, and while encoding to xvid, forgot to put the audio file and then deleted it after the encoding. I took the dvd later and only ripped the audio, but now sticking it to the avi file, it's out of sync. any suggestions on how to find the appropriate delay so i can put the audio on the avi?
    Thx a bunch.
  • setarip
    Retired
    • Dec 2001
    • 24955

    #2
    "any suggestions on how to find the appropriate delay so i can put the audio on the avi?"

    By watching the lips and listening - to estimate the delay. Then experiment with the estimated delay...

    Comment

    • spilja
      Junior Member
      Junior Member
      • Oct 2003
      • 6

      #3
      how do i preview avi with the added sound in virtualdub or nandub?

      Comment

      • shiny#3
        Digital Video Master
        Digital Video Master
        • Jul 2003
        • 1000

        #4
        I suggest the following.....
        just sync the file with e.g. virtual dub.....

        get yourself the MV2 player......

        MV2 player offers you the option to delay or preroll
        the audiostream wih a "slider" in the audiooptions
        during playback....

        the wheel shaped slider also indicates, by how many
        milliseconds you either delayed or pulled the audio
        forward..... you can use this value to interleave your
        audio again with virtual dub


        make sure that your audiofile has a format
        that provides either a constant bitrate....
        or that the videoframe audiotime /progression yields
        a linear function...
        Last edited by shiny#3; 11 Oct 2003, 08:31 PM.

        Comment

        • GalFisk
          Junior Member
          Junior Member
          • Feb 2003
          • 13

          #5
          If you rip with SmartRipper (and possibly other ripping software also), the filename will include the correct delay (Soundtrack_([0x80]_Audio_English_AC3(2Ch)_48kHz___)_Delay_-96ms.ac3).
          If you have clipped the beginning of the movie you'll have to subtract that from the delay indicated.

          Comment

          • shiny#3
            Digital Video Master
            Digital Video Master
            • Jul 2003
            • 1000

            #6
            right galfisk......

            here are some additional delaytimes .....note that they must be interleaved with virtualdub MOD!!!

            ac3 interleaves:



            448kbps (6 ch) Preload: 128ms, Interleave: 128ms
            384kbps (6 ch) Preload: 160ms, Interleave: 160ms
            256kbps (2 ch) Preload: 48ms , Interleave: 48ms
            224kbps (2 ch) Preload: 64ms , Interleave: 64ms
            192kbps (2 ch) Preload: 80ms , Interleave: 80ms

            Comment

            • shiny#3
              Digital Video Master
              Digital Video Master
              • Jul 2003
              • 1000

              #7
              but I am not quite sure that the audio is an AC3 still
              and wasn´t transformed

              Comment

              • spilja
                Junior Member
                Junior Member
                • Oct 2003
                • 6

                #8
                the mp3 that was made form the ac3 file (using robot4rip) is 1:27:something long, and the ac3 is 1:51:something long...

                when i muxed avi with ac3, the video and audio match, but the video is running slowly for a few moments and then it fasts forward and so it does on and on.

                Comment

                • spilja
                  Junior Member
                  Junior Member
                  • Oct 2003
                  • 6

                  #9
                  ok, now i saw a log file of ac3 converting to mp3, and it's full of errors. what do i use to convert ac3 to mp3?

                  Comment

                  • UncasMS
                    Super Moderator
                    • Nov 2001
                    • 9047

                    #10
                    besweet

                    Comment

                    • spilja
                      Junior Member
                      Junior Member
                      • Oct 2003
                      • 6

                      #11
                      i tried besweet, but the mp3 is full of errors again. it's probably the ac3 file that is corrupted or smth, so i'll have to rent the dvd again... darn it.

                      Comment

                      Working...