?
Solved

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

Posted on 2008-10-29
6
Medium Priority
?
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
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 1500 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

I have a Synology DS212+ NAS.  These are not only great for backup and normal NAS stuff, but also for delivering media throughout your home or LAN via DLNA.  I copied my whole audio collection from iTunes over to the box, but couldn't figure out how…
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

764 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