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

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



>  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

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[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