Ori Pessach wrote:
> 
> Ok, somebody please tell me I'm not crazy:
> 
> Now, I don't like whining when I can instead read the source. It turns
> out that xawtv's capture code is trying hard to sync the video to the
> system's real time clock. I hacked it so it now synchs to the audio time
> line, and I no longer lose sync, even after capturing video for over an
> hour. Except for some minor issues, that's good enough for me.

I'd have thought that since AVI files don't store timestamps, there's no
other way to tie the video/audio streams together than to sync one to
the other (and assume that the capturing process did the same). If you
rely on the video/audio samples/sec rates being exact and therefore
being able to sync to absolute time, you're bound to drift, because
nothing ever is perfect. It's not so much a matter of having a crappy
sound card, as having a crappy a/v file format (AVI) that doesn't store
timestamps or any other sync information.

Could you post your patch?

Ben



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to