VBR in Avi files.

Discussion in 'Windows Desktop Systems' started by BouncingSoul, Mar 15, 2006.

  1. BouncingSoul

    BouncingSoul Stranger Than Fiction Political User

    Messages:
    1,297
    Location:
    Sioux Falls, SD
    So I want to cut certain ... uh ... parts from longer ... movies. Most of the movies I have are in VBR and virtual dub tells me the audio/video sync will be off by x amount unless I "decompress the ENTIRE audio stream and recompress at a constant bitrate." I've been doing that for a while but I'm kinda sick of it. Even on my 3.4 ghz cpu it takes around 2-4 hours depending on how high the video bitrate is. What I'm wondering is if there is an easier way to convert VBR to CBR and maintain the audio/video sync?

    PS. Sorry if this is in the wrong forum
     
  2. vertigo

    vertigo OSNN Senior Addict

    Messages:
    330
    :eek:

    that warning is talking about the audio only, not the video! audio encoding should take no more than 20 min. please don't tell me you've been encoding CBR video, which horribly degrades quality!

    anyway vdub does not handle vbr audio (although the latest has limited vbr support). use virtualdubmod instead, you will not have to reencode anything, just click "no" when it gives you the warning, it'll turn out fine :)
     
    BouncingSoul likes this.
  3. BouncingSoul

    BouncingSoul Stranger Than Fiction Political User

    Messages:
    1,297
    Location:
    Sioux Falls, SD
    I'd been seperating the video and wav audio and doing a recompress in either vdub or dr divx. I'll check the mod out and see what happens.

    Thanks
     
  4. BouncingSoul

    BouncingSoul Stranger Than Fiction Political User

    Messages:
    1,297
    Location:
    Sioux Falls, SD
    No luck with the mod. The audio and video are terribly out of sync when I try edit it out. I'll see if anything else works.

    Reps for the effort.
     
  5. vertigo

    vertigo OSNN Senior Addict

    Messages:
    330
    its pretty much guaranteed to work, make sure you select "direct stream copy" mode for the video :)
     
  6. BouncingSoul

    BouncingSoul Stranger Than Fiction Political User

    Messages:
    1,297
    Location:
    Sioux Falls, SD
    What I did this time is set the video to direct stream copy and set the audio to full processing mode and then I set it to recompress the audio using Lame @ 192 and looks like it worked. Took about 20 minutes like you said and I didn't have to redo the video. Awesome, many thanks!
     
  7. vertigo

    vertigo OSNN Senior Addict

    Messages:
    330
    we should be able to beat that, should only take seconds, or as fast as your hard disk can go.

    when you open the avi file, click 'no' to the warning. set direct stream copy for video and audio (audio is set to direct stream copy by default anyway). select points you wish to cut at, save as avi :)

    it'll just do a straight cut at the nearest keyframe and dump onto hard disk
     
  8. BouncingSoul

    BouncingSoul Stranger Than Fiction Political User

    Messages:
    1,297
    Location:
    Sioux Falls, SD
    Doesn't work for me. I even tried another video splitter and it still spits out video that is around 5 seconds ahead of the audio.
     
  9. vertigo

    vertigo OSNN Senior Addict

    Messages:
    330
    hmm looks like the file in question hasn't been encoded too well...
     
  10. dajm

    dajm OSNN One Post Wonder

    Messages:
    1
    This was some excellent advice when I tried to cut a segment out of a video with vbr audio, first time around I clicked "yes" when it asked for some reason (I'm not handy with anything that comes to video editing), but then I did as suggesten and clicked "no" when it asked and the audio was in perfect sync with the video. I am using VirtualDubMod, which is in itself just excellent. Thanks!
     
  11. fitz

    fitz Just Floating Along Staff Member Political User Folding Team

    Messages:
    4,076
    Location:
    Chicagoland
    old thread.. but the message was approved because it's always nice to give thanks. :)