Solved

AVI XVid header is skewed, resulting in audio problems, even on recode.

Posted on 2008-10-29
6
306 Views
Last Modified: 2013-11-13
Hi,

I've got an xvid encoded avi that has a bad header. When viewing the avi on a standalone machine, the video pauses after a given amount of time and can't be bypassed.
I've opened the file in VirtualDubMod (latest version) to try to fix, and got an error message saying the VBR header is incorrect, and that a fix will cause up to 2450ms skew. It also says to demux wav file if this is unacceptable.
I've demuxed the wav, and tried to fix, but it's still got the skew. Seems like the audio portion has been stretched or something (resulting in sync at the start of the avi, and out of sync by 2s at the end).

Are there any easy fixes to these problems? it seems to occur with all the avi files I get from this source. I've looked around for batch fix programs to fix the previous files, but nothing has turned up that works.

Any help would be grateful.

Cheers
0
Comment
Question by:jbuzzard
  • 3
  • 3
6 Comments
 
LVL 2

Author Comment

by:jbuzzard
ID: 22830695
BTW, for the record. The AVI file is created by a video card streaming out of a video camera. The AVI file is then recoded to XVid and sent to me. I've posted a similar question on another forum, and they denied it because they thought that it was from an illegal source. I assure you it is not.

Cheers
0
 
LVL 22

Expert Comment

by:fredshovel
ID: 22835706
If it's a digital video camera why is it streamed via a video card. It should be sent via Firewire or USB2.
YOu shouldn't have any sync problems if you capture it this way.
0
 
LVL 2

Author Comment

by:jbuzzard
ID: 22837494
It's an analogue camera.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 22

Expert Comment

by:fredshovel
ID: 22837612
I don't know what you can do with your existing videos. There's a couple of AVI sync fix programmes floating around the net.
There's a couple of tools here: http://www.gromkov.com/faq/faq2004-0064.html

For further captures, you video card may be letting you down. Another method is to stream the analogue camera via the analogue A/V inputs, and then capture the video via Firewire or USB.
Try choosing AVI DV as the capture format or MPEG-2.
0
 
LVL 22

Accepted Solution

by:
fredshovel earned 500 total points
ID: 22837645
<For further captures, you video card may be letting you down. Another method is to stream the analogue camera via the analogue A/V inputs, and then capture the video via Firewire or USB.
Try choosing AVI DV as the capture format or MPEG-2.>

Sorry, this is supposed to read " via the analogue A/V inputs OF A DIGITAL CAMERA"\

Or alternatively try one of those boxes that does the A/D conversion in the box and then streams it into the PC via firewire or USB.
0
 
LVL 2

Author Closing Comment

by:jbuzzard
ID: 31511115
Thanks for your help - the video card was not syncing properly with the sound input. I got a soundblaster XFi, and it's now working fine. I've tried to use the syncing programs, but not much luck.

Cheers
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question