From owner-freebsd-multimedia@FreeBSD.ORG Thu May 15 21:41:08 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A832106566B for ; Thu, 15 May 2008 21:41:08 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id E71848FC26 for ; Thu, 15 May 2008 21:41:07 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.189] (port=33586 helo=smtp2.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1JwlCE-0005d4-5r for freebsd-multimedia@freebsd.org; Thu, 15 May 2008 23:41:06 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:64371 helo=desktop.homenet) by smtp2.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1JwlCD-0003No-SI for freebsd-multimedia@freebsd.org; Thu, 15 May 2008 23:41:06 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Thu, 15 May 2008 23:41:05 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Thu, 15 May 2008 23:41:05 +0200 User-Agent: KMail/1.9.7 References: <20080515182746.GA14203@phat.za.net> <200805152315.06436.danny@ricin.com> In-Reply-To: <200805152315.06436.danny@ricin.com> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805152341.05210.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: Fwd: pvr-xxx on 7.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 21:41:08 -0000 > > > >>i observed something strange on 7.0 with this driver. mplayer is now > > > >>able to sync a/v properly when doing "mplayer /dev/cxm0". i would > > > >>like > > > >>to hear from others about this. mplayer has been updated, that might be the difference. With my ffcxm backend for kbtv, I have basically turned ffplay into a library and added some simple stuff (to fit into backend api). One thing I noticed is that the only way to keep a/v in sync is to call the ffcxm event code as soon as possible rather than in line with the video frame rate as I was doing earlier. Considering that ffmpeg/ffplay is multithreaded (but with some internally fixed parameters, some of which I may have also made a bit more agressive in my ffcxm), this is only logical. So I think it's quite possible that what you're seeing is merely an improvement in mplayer, in the way they use ffmpeg or in their thread handling or both, not a necessarily a difference between FreeBSD 6 and 7. I haven't looked at mplayer's source code recently. I can say that kbtv2+cxm performed somewhat better on my i386 (fbsd6) and amd64 (fbsd7) machine than mplayer did, but that's a while ago ~3 months. That is unless you are using the same (old) mplayer than you were using before. In that case I don't know why you're seeing this difference. HTH, Dan