I am trying to cut out a scene from an avi file but when I load it with VirtualDub, I get an error like the one above. If I continue the operation, I get an avi file with audio sync problems.AVI: Variable bitrate (VBR) audio detected. VBR audio in AVI is
non-standard and you may encounter sync errors up to 43680ms when
attempting to extract WAV files or processing the audio in Direct Stream
Copy mode. Full Processing mode is recommended to decompress or recompress
the audio. (bitrate: 151.5 ± 32.3 kbps)
Is VirtualDub the tool to use for this task or is there a better tool that can overcome this error?
+ Reply to Thread
Results 1 to 11 of 11
-
-
This error is due to VBR MP3 audio. There are several ways to "deal" with this but I will give you my preferred way.
1.) Load the AVI into GOLDWAVE.
2.) Save the audio file as a 16-bit 48k 2 channel Stereo PCM WAV audio file.
3.) Load the AVI into VirtualDubMod
4.) Go to the STREAMS LIST and X-out the VBR MP3
5.) While still in the STREAMS LIST load the PCM WAV audio file that you created/saved out of Goldwave.
6.) You are now ready to edit.
BTW the same thing can be done with AviSynth. It would look like this:
Code:vid=AviSource("C:\VIDEOS\myvideo.avi", false) aud=WavSource("C:\VIDEOS\myvideo.wav") AudioDub(vid,aud)
You will end up with something like this:
Code:vid=AviSource("C:\VIDEOS\myvideo.avi", false) aud=WavSource("C:\VIDEOS\myvideo.wav") AudioDub(vid,aud) Trim(1181,10542) ++ Trim(12473,33484) ++ Trim(38689,60059) ++ Trim(66864,98725)
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by manono
In fact I would do it this way if I was going to re-convert to ... whatever ... be it another AVI file or whatever. To be honest though I've never tried to edit a MPEG-4 AVI and do a direct stream copy on what was left. Is that even possible? I mean sure it is but don't you have to edit on "I" frames and don't "I" frames only happen like once every 300 frames or some such nonesense with MPEG-4 files? So if you want to do any "exact" editing you will have to re-encode anyways so might as well use my AviSynth example.
I dunno.
I am assuming the source is MPEG-4 if it has VBR MP3 audio.
I always encode my MPEG-4 files with AC-3 when available or CBR MP3 ... never VBR MP3.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
I agree with manono. VirtualDubMod can very often handle the file with no problems if you answer "no" to the VBR MP3 question.
-
One other question, in addition to the Direct Stream Processing question, is....sometimes Nandub will give me the following error after I open some avi files:
Code:error fetching frame X: VideoSourceAVI error: unspecified error (-100)
UPDATE: I found the answer. I changed the FourCC codec information using the AVI FourCC Code Changer found here. I loaded the avi file with this code changing program, and I make sure that both boxes show the same four letter code. A lowercase xvid is not the same as XVID. Both have to be either lowercased or capitalized. Apply the change, load the avi file up with Nandub and the error will go away.
That's for any other newbie who runs into this problem. -
One question though: does saving the avi segment using "Direct Stream Copy" degrades the quality of the output file?
No. Anything Direct Stream Copied gives you the same as the original.
Similar Threads
-
How to precisely cut AVI in Virtualdub?
By user2008 in forum EditingReplies: 7Last Post: 26th Sep 2011, 11:21 -
No video in virtualdub after cut and split avi
By cooljoe666 in forum Video ConversionReplies: 10Last Post: 10th Jan 2011, 15:19 -
Can't cut portion of an .avi with VirtualDub
By Lolipop Jones in forum Newbie / General discussionsReplies: 3Last Post: 28th Aug 2009, 08:12 -
Error with Xvid4PSP when converting MKV to AVI (VirtualDub Error)
By Peter25 in forum Newbie / General discussionsReplies: 1Last Post: 9th Apr 2009, 18:10 -
cut a scene using VirtualDub
By exon in forum EditingReplies: 3Last Post: 19th Jul 2007, 16:05