Reply
Old March 15th, 2006 Top | #1
 
BouncingSoul's Avatar
Stranger Than Fiction
Joined: January 2004
Location: Sioux Falls, SD
Posts: 1,289
Reputation: 877
Power: 122

Default VBR in Avi files.

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
BouncingSoul is offline   Reply With Quote
Old March 15th, 2006 Top | #2
 
vertigo's Avatar
OSNN Senior Addict
Joined: December 2005
Posts: 330
Reputation: 150
Power: 83

Default Re: VBR in Avi files.



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
vertigo is offline   Reply With Quote
Old March 15th, 2006 Top | #3
 
BouncingSoul's Avatar
Stranger Than Fiction
Joined: January 2004
Location: Sioux Falls, SD
Posts: 1,289
Reputation: 877
Power: 122

Default Re: VBR in Avi files.

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
BouncingSoul is offline   Reply With Quote
Old March 15th, 2006 Top | #4
 
BouncingSoul's Avatar
Stranger Than Fiction
Joined: January 2004
Location: Sioux Falls, SD
Posts: 1,289
Reputation: 877
Power: 122

Default Re: VBR in Avi files.

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.
BouncingSoul is offline   Reply With Quote
Old March 15th, 2006 Top | #5
 
vertigo's Avatar
OSNN Senior Addict
Joined: December 2005
Posts: 330
Reputation: 150
Power: 83

Default Re: VBR in Avi files.

its pretty much guaranteed to work, make sure you select "direct stream copy" mode for the video
vertigo is offline   Reply With Quote
Old March 15th, 2006 Top | #6
 
BouncingSoul's Avatar
Stranger Than Fiction
Joined: January 2004
Location: Sioux Falls, SD
Posts: 1,289
Reputation: 877
Power: 122

Default Re: VBR in Avi files.

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!
BouncingSoul is offline   Reply With Quote
Old March 15th, 2006 Top | #7
 
vertigo's Avatar
OSNN Senior Addict
Joined: December 2005
Posts: 330
Reputation: 150
Power: 83

Default Re: VBR in Avi files.

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
vertigo is offline   Reply With Quote
Old March 15th, 2006 Top | #8
 
BouncingSoul's Avatar
Stranger Than Fiction
Joined: January 2004
Location: Sioux Falls, SD
Posts: 1,289
Reputation: 877
Power: 122

Default Re: VBR in Avi files.

Originally Posted by vertigo
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
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.
BouncingSoul is offline   Reply With Quote
Old March 15th, 2006 Top | #9
 
vertigo's Avatar
OSNN Senior Addict
Joined: December 2005
Posts: 330
Reputation: 150
Power: 83

Default Re: VBR in Avi files.

hmm looks like the file in question hasn't been encoded too well...
vertigo is offline   Reply With Quote
Old January 18th, 2008 Top | #10
 
dajm's Avatar
OSNN One Post Wonder
Joined: January 2008
Posts: 1
Reputation: 0
Power: 0

Default Re: VBR in Avi files.

Originally Posted by vertigo View Post
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
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!
dajm is offline   Reply With Quote
Old January 21st, 2008 Top | #11

OSNN Folding Team  
fitz's Avatar
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,028
Reputation: 2947
Power: 168

Default Re: VBR in Avi files.

old thread.. but the message was approved because it's always nice to give thanks.
fitz is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Something is changing my .exe files to 0-byte files LoctOut Windows Desktop Systems 14 October 27th, 2004 2:48am
converting flash files back to normal files... ryan3dfan Windows Desktop Systems 3 January 23rd, 2003 8:22pm
What are these files??? Engineer Windows Desktop Systems 4 December 15th, 2002 9:19pm
XP-erience Files - Tweak files - DNS Cache Tweak Teddy Windows Desktop Systems 2 October 23rd, 2002 4:59pm
mp3 files mboy007 Windows Desktop Systems 2 June 30th, 2002 7:00pm