DivX VDub VBR error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bchball
    Junior Member
    Junior Member
    • Aug 2002
    • 26

    DivX VDub VBR error

    I cant play this particular divx file with media player 9 and i get a vbr error message with vdub. VDub will rebuild the audio to cbr for me but it will be skewed by 13883ms. I want to rebuild the divx file so i have in sync cbr audio, seeing as thats how all my other divx movies are and they work great.
    Is it ok for me to extract the audio as uncompressed wav and re-encode with CDex to 128kbps cbr (vbr disabled) mp3 then save-as the divx file through vdub with 'no sound' then interleave it with the new cbr mp3 audio?
    Thanks in advance for any suggestions.
  • Batman
    Lord of Digital Video
    Lord of Digital Video
    • Jan 2002
    • 2570

    #2
    Yes.

    But before that, try playing the file with BSPLAYER...it might solve your synch issues.

    Comment

    • setarip
      Retired
      • Dec 2001
      • 25141

      #3
      "I cant play this particular divx file with media player 9"

      What happens when you try to play the DivX-compressed .AVI with Windows Media Player 9?




      1) Load the .AVI file into VirtualDub or NanDub

      2) From the "File" dropdown menu, select "File Information"

      3) Post (here) EVERYTHING you see (both video and audio information), or post a screen capture .jpg of the information box

      Comment

      • Bchball
        Junior Member
        Junior Member
        • Aug 2002
        • 26

        #4
        This is what i get when rebuilding the index with DivFix: Corrupted data detected at frame 14170
        Error offset: 73450176 ($0460C2C0)
        Corrupted data detected at frame 14173
        Error offset: 73465866 ($0461000A)

        More than likely why i get this error with wmp9: Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.

        This is the information I get from virtual dub after it has rebuilt missing index block and warned of vbr/cbr header changes:
        VIDEO STREAM
        Frame size fps: 576x320, 25fps (40000us)
        # of frames (time: 128497 (1:25:39)
        Decompressor: DivX MPEG-4 Low-Motion
        number of keyframes: 1
        min/avg/max/total keyframe size: 907/907/907 (1K)
        min/avg/max/total delta frame size: 0/4893/62817 (614203K)

        AUDIO STREAM
        Sampling rate: 48000hz
        channels: 2 (stereo)
        sample precision: 0-bit
        Compression: Fraunhofer IIS MPEG Layer-3 Codec
        Preload skew: 384 samples (0.01s)
        # of frames: 214728
        min/avg/max/total frame size: 16/449/768 (94204K)
        When i save-as-avi using vdub's cbr audio header the audio is off by the amount specified in previous post.

        Thanks heaps for your assistance.

        Off now to try BSPlayer.

        Comment

        • setarip
          Retired
          • Dec 2001
          • 25141

          #5
          "number of keyframes: 1"

          You should also use VirtualDub or NanDub to "re-derive keyframe flags"



          Converting .AVIs with VBR-MP3 Audio

          Simply use VirtualDub to save the audio stream as an Uncompressed PCM (WAV) file as follows:
          Load your original .AVI into VirtualDub
          From the "File" dropdown menu, select "Save WAV" (Enter a new filename with a ".WAV" extender).Click on "OK"
          Then set "Video" to "Direct Stream Copying"
          Then save the .AVI as a silent .AVI (set "Audio" to "No audio" after you've saved the WAV file).

          Then close VirtualDub and restart it
          Set "Audio" to "No audio"
          Load your silent .AVI
          Set "Video" to "Direct Stream Copying"
          Under "Audio" click on "WAV Audio" and load your .WAV
          Set "Audio" to "Full Processing Mode"
          From the "Audio" dropdown menu, select "Compression" and choose the appropriate .MP3 settings. Click on "OK"
          From the "File" dropdown menu, select "Save as AVI" and save your file with a new filename.

          Comment

          • Bchball
            Junior Member
            Junior Member
            • Aug 2002
            • 26

            #6
            Thanks Setarip, that set me straight.

            After I saved the silent avi with vdub I ran it through DivxFix and it regained its keyframes.

            When creating a new avi using silent avi and uncompressed wav I chose audio compression (mpeg layer-3 128kbps 48000hz) some of the sound was'nt so good especially when there was music in foreground (but audio is in sync..yeha). Could this be because the original audio is at 150kbps and not 128kbps which I chose, or is this expected due to VBR to CBR conversion. Also the new audio is 10 meg less in size than the original.

            I have one last question (for now): How can i tell if a file has been encoded with VBR or CBR audio without opening it through virtual dub?

            Hope this was'nt too much to ask...Thanks Again...I've learnt alot about vdub because of this.

            Comment

            • Enchanter
              Old member
              • Feb 2002
              • 5749

              #7
              How can i tell if a file has been encoded with VBR or CBR audio without opening it through virtual dub?
              Play the AVI file in WMP 6.4 and go to File -> Properties -> MP3 decoder. Under the Statistics -> Bitrate (detected), if the bitrate constantly changes and differs from the Indicated bitrate, it is a good sign that the audio is in VBR mode.

              Comment

              • Bchball
                Junior Member
                Junior Member
                • Aug 2002
                • 26

                #8
                Thanks heaps guys. I really appreciate your input, it's helped me alot.
                BTW. i re-encoded the divx file with audio at 160kbps it's a bit better but is'nt as good as the original vbr audio. But i guess i had to lose something through the conversion. VBR may be good for music but for movies it sucks in my opinion.

                Comment

                • Enchanter
                  Old member
                  • Feb 2002
                  • 5749

                  #9
                  VBR may be good for music but for movies it sucks in my opinion.
                  A majority of people have the same opinion, though it has always worked perfectly fine with me.

                  By the way, have you tried using nandub for muxing VBR sound stream? It natively supports VBR MP3s . . .

                  Comment

                  Working...