Log in

View Full Version : mpa audio delay and correction, d2v


grnpte
4th October 2004, 23:55
hey folks,

for the life of me i cant figure out any logical reason for mpa to have a delay associated with it, can somebody explain why the mpa audio delay exists.

in my video process i take my d2v and wav from dvd2avi and then put them in tmpegenc along the way to creating a wrapped avi for encoding. this process does not work when i get an mpa instead of a wav from dvd2avi. if i convert the mpa to wav, i eventually loose video, and i dont see a way to edit the d2v to work with a wav.

any thoughts would be much appreciated.

pete

shunx
7th August 2008, 12:05
can someone please explain this old problem? I noticed that when using DGIndex, the demuxed audio file from my HDV clip is an .mpa whose filename suggests that it has delay, in this case 99ms which is non-negligible.

Guest
7th August 2008, 12:11
What is the problem you are having?

The delay occurs because the audio and video stream are offset in the transport stream. sometimes it is done to allow for buffering in the decoder. Also, some audio formats have access unit starts less frequently and we need to start demuxing at a start, which may not coincide with the first video access unit.

You correct for the delay in your script or elsewhere.