[wdmaudiodev] Re: Audio Video Sincronization

  • From: Robert Bielik <robert.bielik@xxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 01 Feb 2006 16:49:11 +0100

Could you not try to output the same audio frame a couple of times according to pseudo algo:

For each audio frame:

if (audioFrameEnergy < silenceThreshold) // Would help make it less noticable
{
if (video lags audio by x ms)
{
run last audio frame again;
}


        if (audio lags video by x ms)
        {
                drop an audio frame;
        }
}

That way audio should keep up, but I don't know if that's good enough for you.

/R

On Wed, 1 Feb 2006 19:15:27 +0530, Bipin Mistry <bpnmistry@xxxxxxxxx> wrote:


I have gone through various groups and discussions...
Where by "Time Stretching" technic was supposed to be the solution.
But no such Logic or the Algo.. or the Source Code that explains how it can
be executed was found on the net till yet.


Any help towards any of these areas will be gr8 help to me..

Thanks
Bipin Mistry


--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/



******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: