Re: Re: A/V sync with streamer a V4L problem, fixed in V4L2 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Gerd Knorr wrote:
say it was out by about 3 seconds (not bad over 3600 seconds, I grant
you). Is this becoz there are no timestamps in V4L images, so that
streamer has to use gettimeofday(), which may lag the timestamps
in the audio recording by just enough (mill/micro seconds) to cause
the drift ?


No.  It is probably because the sampling rate of the sound card isn't
very exact.  streamer assumes the sound card samples *exactly* the
sampling rate reported by the driver.  If this isn't the case you'll get
a drift between audio and video.  streamer doesn't attempt to fix this
somehow.

  Gerd

* shameless plug ;-) *

You can always try nvrec for dynamic warping of the audio stream...

-justin







[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux