|
|
| Dark_Trunks |
| Posted: Jan 22 2003, 01:05 PM |
 |
|
Unregistered

|
OK heres the deal: I have this divx movie (Armitage3: Dual Matrix), when I paly it in any of my video players it freezes at the same frame, if I skip past that frame, it freezes at another frame.
I opened it with VirtualDub 1.4.13(Build 14328) and I get the following message: "VirtualDub has detected and improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibility. This may introduce up to 28075ms of skew from the video stream. If this is unacceptable decompress the *entire* audio stream to an uncompresses WAV file and recompress with a constant bitrate encoder. (bitrate 125.8 ± 34.9Kbps)"
So I did that, I extraced the audio to wav, and when I put it back in, its out of sync, but not at a constant rate. The further into the movie, the more its out of sync.
Does anyone have anyway of fixing this problem? The original file is perfectly in sync, so I really dont want to play with the audio at all but it seems as if VD is hell-bent on making me fix it.
Sorry for the long post, and thanks in advance for any help you might be able to give me. |
 |
| minion |
| Posted: Jan 22 2003, 09:45 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 508
Member No.: 1027
Joined: 26-November 02

|
VBR audio is really hard to work with and causes Sync problems if you try to proscess the video, what I do with VDR Audio is use "Sound Forge" and Load the avi file in and save the audio stream as a WAV file, sound forge will allways keep the original length of the Audio so there shouldn"t be any sync issues.... |
 |
| Dark_Trunks |
| Posted: Jan 23 2003, 11:39 AM |
 |
|
Unregistered

|
Great, thanks for the tip, but as usual, as soon as I ask for help, I figure it out all on my own. Turns out that the 'uncompressed' wav that I was saving wasn't uncompressed at all - I really should have taken notice of that file size (80Mb as compared to somewhere over 900Mb for the proper uncompressed one). Once I figured that out it was easy to to put back together. |
 |
| Ainshi |
| Posted: Feb 1 2003, 11:31 PM |
 |
|
Unregistered

|
Just to follow up on this, even though it's been solved.
First off, a nice clue to know is that when vdub does a "wav dump" all it does is copy the audio track of the avi file with no encoding. That means, obviously, if the avi audio track is mp3, the file created will be mp3 (but instead of xxxx.mp3, it will be created xxxx.wav, highly tricky). Vdub was obviously written for PCM avi's . Fastest way to fix this is to dump the audio, rename the extension, and use WinAmp to encode the file to a true .wav.
Another solution would be to try and encode your source in Nandub. I have a short discussion on this in another thread (VBR encoding). I'm going to assume that your copy of Armitage is a rip of the DVD made using GordianKnot (or just someone who likes nandub) that you downloaded from some media-share network. While I hate to tell you how to fix this file, and thus further bootlegging, I might as well spread knowledge. Anyways, the video was probably at some point re-encoded using Vdub which will cause video problems (and the audio track will also end much much earlier than the video track, at which point the video will smooth out but have no audio). An easier solution to your problem might have just as well been to use nandub to re-encode using either VBR or non-VBR mp3 tracks, Windows Media player has no problem playing VBR audio tracks with DivX, just improperly encoded and flagged ones (which will happen if you encode a VBR file with Vdub). |
 |
| phaeron |
| Posted: Feb 2 2003, 02:45 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Contrary to popular belief, WAVs can be compressed. An MP3 stream written out as a WAV file by VirtualDub in direct mode actually is a WAV file. If you don't believe me, check Windows Sound Recorder. |
 |
| Dark_Trunks |
| Posted: Feb 2 2003, 11:38 AM |
 |
|
Unregistered

|
Well, what I actually did is this: rather than use multiple programs, I just selected PCM from the audio compression option in the audio menu of VDub. Easy! Seems that saving a wav in VDub actually takes into account the 'Full Processing Mode' options for the audio. |
 |
|