|
From: Heikki L. <hol...@ni...> - 2003-09-04 08:02:44
|
Hullo, could anyone clarify how the audio dropping algo is supposed to work. There's one thing I don't like: video is dropped only because there's difference between cheap capture cards clock (which value can't be read) and system clock used to take timestamps. I get frame drops every 60000 frames or so and would definitely like to capture more without drops. My solution was to add epoch to video capture core (capture, say, 1000 frames and then virtually start over). That should detect real frame drops nicely while not getting confused by system clock vs. video clock drift. The audio dropping algo however seems to use the constant 'real world' frame period as a sort of frame counter, so obviously audio capture would also need to be modified, but I just wondered why doesn't the frame estimator (fvtime calculation) ask number of frames from video capture core? btw. I also made an ALSA core and could put it somewhere if anyone's interested. -- hl |