From owner-freebsd-stable@FreeBSD.ORG Wed Nov 16 05:03:21 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB31D16A42A for ; Wed, 16 Nov 2005 05:03:21 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD9643D4C for ; Wed, 16 Nov 2005 05:03:19 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.24]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id jAG53Bbo063975 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 16 Nov 2005 15:33:13 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Danny Pansters Date: Wed, 16 Nov 2005 15:33:09 +1030 User-Agent: KMail/1.8.2 References: <200511132204.55664.doconnor@gsoft.com.au> <200511141132.04513.doconnor@gsoft.com.au> <200511140221.54069.danny@ricin.com> In-Reply-To: <200511140221.54069.danny@ricin.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart41931277.v4HvipzKC4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200511161533.10818.doconnor@gsoft.com.au> X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: freebsd-stable@freebsd.org, Miguel Mendez Subject: Re: mplayer + bktr X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 05:03:21 -0000 --nextPart41931277.v4HvipzKC4 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Mon, 14 Nov 2005 12:51, Danny Pansters wrote: > I myself am not really doing anything with capturing, but some ideas that > may be helpful: > > FWIW, from what I know in ring capture mode the video gets synch'd by the > audio by having enough frames per audio sample. So if audio sample size or > expected speed or expected kHz is somehow wrong... Hmm.. Certainly worth instrumenting.. Although wading through the mplayer source = is=20 always an 'interesting' experience :) > Also the code for ring capture mode (as opposed to immediate which does n= ot > do audio but does give a video one could capture at 25 fps) has its own > timing (perhaps it uses rtc down the line, I dunno, is rtc.ko alright?). > You may get into a worst-worst-worst-even worst scenario where the softwa= re > timer degrades on and on possibly. =46reeBSD doesn't have rtc.ko.. Mine doesn't anyway :) I'm not sure how mplayer in FreeBSD stamps frames either. > Maybe capturing only works well if you use immediate (case 2 in bktr(4) > IIRC) and you should capture audio seperately and later merge them to > frames. Hmm, well in any capture you're going to have to worry about clock drift=20 (between the sound card and the bktr card) and dropped frames. > > > > I don't use either of those, but a small program I wrote which > > > > captures YUV frames and uses the Xv extension doesn't show the > > > > problem. > > Capturing only pictures at 25 fps (with mplayer vo) can be handled easily. Hmm OK. So much to learn! :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart41931277.v4HvipzKC4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDer2O5ZPcIHs/zowRAir7AJ9aTCH4//KJPbDh7nY5iqMDi4WkjQCdGY6Z 77U+JMZeTY7U4MxnW1z8D+g= =poTf -----END PGP SIGNATURE----- --nextPart41931277.v4HvipzKC4--