Date: Mon, 22 Dec 1997 09:31:28 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: Randall Hopper <rhh@ct.picker.com> Cc: Luigi Rizzo <luigi@labinfo.iet.unipi.it>, multimedia@FreeBSD.ORG Subject: Re: MPEG audio/video sync & Re: These mtv video pauses are murder Message-ID: <199712221731.JAA01187@rah.star-gate.com> In-Reply-To: Your message of "Mon, 22 Dec 1997 12:19:42 EST." <19971222121942.13340@ct.picker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Do you also keep track of skipped video frames? The driver may need a little work to faithfully report how many frames it has skipped . Cheers, Amancio > Luigi Rizzo: > |I suppose the problem if any will be in the capture phase. We have a > |way to timestamp (using the cpu clock) incoming video frames (do you > |use that ?), but e.g. for audio you cannot rely on the sample rate > > I do store off a timestamp for each frame of data (video frame + > accumulated audio to that point). This is used to know how many frames we > missed, which is how many times the preceeding frame is replicated in the > mpeg_encode input stream to normalize the video back up to the full FPS rate. > > Thanks, > > Randall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712221731.JAA01187>