Solved

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

Posted on 2008-10-29
6
303 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now