From owner-freebsd-multimedia Sun Jan 5 3:39:51 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAEC937B401; Sun, 5 Jan 2003 03:39:45 -0800 (PST) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E46A43E4A; Sun, 5 Jan 2003 03:39:44 -0800 (PST) (envelope-from corecode@corecode.ath.cx) Received: from fwd03.sul.t-online.de by mailout10.sul.t-online.com with smtp id 18V8Z0-0007ZO-01; Sun, 05 Jan 2003 12:03:30 +0100 Received: from pride.uni.stoert.net (320050403952-0001@[217.82.57.57]) by fmrl03.sul.t-online.com with esmtp id 18V8Ym-0WFwhcC; Sun, 5 Jan 2003 12:03:16 +0100 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by pride.uni.stoert.net (Postfix) with ESMTP id B920C12FFB8; Sun, 5 Jan 2003 12:03:09 +0100 (CET) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.6/8.12.6) with ESMTP id h05B3o8K012338; Sun, 5 Jan 2003 12:03:50 +0100 (CET) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.6/8.12.6/Submit) id h05B3oTD012337; Sun, 5 Jan 2003 12:03:50 +0100 (CET) (envelope-from corecode) Date: Sun, 5 Jan 2003 12:03:42 +0100 From: "Simon 'corecode' Schubert" To: ports@freebsd.org Cc: multimedia@freebsd.org Subject: cdparanoia ported Message-Id: <20030105120342.02fbf0bd.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.'Y4'h.2M?C1:ud" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.'Y4'h.2M?C1:ud Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hey ppl, i ported cdparanoia to freebsd, finally. it's not yet a port but a patchset. those eager to test may find it at instructions are contained within this file i think there may be still some issues so please provide feedback. incase somebody is interessted in helping: sections marked with /* XXX */ need some work. cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.'Y4'h.2M?C1:ud Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GBEVr5S+dk6z85oRAnVGAJ9/HnbOk3GFN262u90s/KtfTiMUbgCdEsAR pHf5PQ9ss0JKpd/5SnLy6Vg= =0eAm -----END PGP SIGNATURE----- --=.'Y4'h.2M?C1:ud-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 5 5:26: 3 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7C5937B401; Sun, 5 Jan 2003 05:26:01 -0800 (PST) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D58B43E4A; Sun, 5 Jan 2003 05:26:00 -0800 (PST) (envelope-from corecode@corecode.ath.cx) Received: from fwd08.sul.t-online.de by mailout04.sul.t-online.com with smtp id 18VAmt-0005I3-00; Sun, 05 Jan 2003 14:25:59 +0100 Received: from pride.uni.stoert.net (320050403952-0001@[217.82.57.57]) by fmrl08.sul.t-online.com with esmtp id 18VAmp-1AnpoWC; Sun, 5 Jan 2003 14:25:55 +0100 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by pride.uni.stoert.net (Postfix) with ESMTP id 00FB5130078; Sun, 5 Jan 2003 14:25:47 +0100 (CET) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.6/8.12.6) with ESMTP id h05DQS8K045241; Sun, 5 Jan 2003 14:26:28 +0100 (CET) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.6/8.12.6/Submit) id h05DQRtF045240; Sun, 5 Jan 2003 14:26:27 +0100 (CET) (envelope-from corecode) Date: Sun, 5 Jan 2003 14:26:23 +0100 From: "Simon 'corecode' Schubert" To: ports@freebsd.org Cc: multimedia@freebsd.org Subject: Re: cdparanoia ported Message-Id: <20030105142623.0c0b61df.corecode@corecode.ath.cx> In-Reply-To: <20030105120342.02fbf0bd.corecode@corecode.ath.cx> References: <20030105120342.02fbf0bd.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Y:(v8oqCi_=.Iwl3" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Y:(v8oqCi_=.Iwl3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lately "Simon 'corecode' Schubert" told: > hey ppl, [...] > i think there may be still some issues so please provide feedback. > > incase somebody is interessted in helping: sections marked with > /* XXX */ need some work. now there is also a port available to ease things: cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --Y:(v8oqCi_=.Iwl3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GDKDr5S+dk6z85oRAhB9AJ9pYDfllPwhPaI97ux9kpnDQvmgiwCgsUgZ 28VOfR6kHv0u2emxj/+7Uvk= =DcAs -----END PGP SIGNATURE----- --Y:(v8oqCi_=.Iwl3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 5 5:52:10 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A82A437B401; Sun, 5 Jan 2003 05:52:09 -0800 (PST) Received: from newtrinity.zeist.de (newtrinity.zeist.de [193.111.112.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D70543E4A; Sun, 5 Jan 2003 05:52:08 -0800 (PST) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.6/8.12.6/ZEIST.DE) with ESMTP id h05DplhN082206; Sun, 5 Jan 2003 14:51:47 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.6/8.12.6/Submit) id h05DpeSA082205; Sun, 5 Jan 2003 14:51:40 +0100 (CET) (envelope-from marius) Date: Sun, 5 Jan 2003 14:51:40 +0100 From: marius@alchemy.franken.de To: "Simon 'corecode' Schubert" Cc: ports@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: cdparanoia ported Message-ID: <20030105145140.A6847@newtrinity.zeist.de> References: <20030105120342.02fbf0bd.corecode@corecode.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030105120342.02fbf0bd.corecode@corecode.ath.cx>; from corecode@corecode.ath.cx on Sun, Jan 05, 2003 at 12:03:42PM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jan 05, 2003 at 12:03:42PM +0100, Simon 'corecode' Schubert wrote: > hey ppl, > i ported cdparanoia to freebsd, finally. > > it's not yet a port but a patchset. those eager to test may find it at > > instructions are contained within this file > e.g. cdrtools and cdrdao both include the cdparanoia-lib, if yet another incarnation is needed wouldn't it be better to rip out one of those libscg-based versions ? the result should be much more os-independent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 5 11:42: 0 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E01DB37B401; Sun, 5 Jan 2003 11:41:58 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAD1A43ED1; Sun, 5 Jan 2003 11:41:57 -0800 (PST) (envelope-from corecode@corecode.ath.cx) Received: from fwd08.sul.t-online.de by mailout06.sul.t-online.com with smtp id 18VGeS-0002PF-00; Sun, 05 Jan 2003 20:41:40 +0100 Received: from pride.uni.stoert.net (320050403952-0001@[217.82.51.84]) by fmrl08.sul.t-online.com with esmtp id 18VGe9-10a05AC; Sun, 5 Jan 2003 20:41:21 +0100 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by pride.uni.stoert.net (Postfix) with ESMTP id 0B68512FFB8; Sun, 5 Jan 2003 20:41:14 +0100 (CET) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.6/8.12.6) with ESMTP id h05Jft8K062004; Sun, 5 Jan 2003 20:41:55 +0100 (CET) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.6/8.12.6/Submit) id h05JftYl062003; Sun, 5 Jan 2003 20:41:55 +0100 (CET) (envelope-from corecode) Date: Sun, 5 Jan 2003 20:41:50 +0100 From: "Simon 'corecode' Schubert" To: marius@alchemy.franken.de Cc: ports@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: cdparanoia ported Message-Id: <20030105204150.0e630c2f.corecode@corecode.ath.cx> In-Reply-To: <20030105145140.A6847@newtrinity.zeist.de> References: <20030105120342.02fbf0bd.corecode@corecode.ath.cx> <20030105145140.A6847@newtrinity.zeist.de> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.'s4jUt8ntuyEKv" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.'s4jUt8ntuyEKv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lately marius@alchemy.franken.de told: > e.g. cdrtools and cdrdao both include the cdparanoia-lib, if yet > another incarnation is needed wouldn't it be better to rip out one of > those libscg-based versions ? the result should be much more > os-independent. i didn't know. and it would have made things much more easy i guess actually i just had to patch cdda_interface. if somebody wants it to port to libscg, go ahead, let me know cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.'s4jUt8ntuyEKv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GIqDr5S+dk6z85oRAm4jAJ43aIzjgstNI9e46WWCUbO0MN2FAQCgg6Vp m+7ZdEmWPFsYpCEJhVIn+2c= =ORi0 -----END PGP SIGNATURE----- --=.'s4jUt8ntuyEKv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 6 2:59: 1 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D56EE37B401 for ; Mon, 6 Jan 2003 02:58:59 -0800 (PST) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F44A43E4A for ; Mon, 6 Jan 2003 02:58:58 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id h06AwrP08976; Mon, 6 Jan 2003 11:58:54 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id h06AwqF20260; Mon, 6 Jan 2003 11:58:52 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mars.cert.siemens.de (8.12.7/8.12.7/$SiemensCERT: mail/cert.mc,v 1.39 2003/01/01 10:54:32 ust Exp $) with ESMTP id h06Awptx087636; Mon, 6 Jan 2003 11:58:52 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id h06AwpoJ049576; Date: Mon, 6 Jan 2003 11:58:51 +0100 From: Andre Albsmeier To: "Steve O'Hara-Smith" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-ID: <20030106115851.A12349@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021029194220.7fb532ad.steve@sohara.org>; from steve@sohara.org on Tue, Oct 29, 2002 at 07:42:20PM +0100 X-Echelon: 767, VHF, Satellite, MD4, Nuclear Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 29-Oct-2002 at 19:42:20 +0100, Steve O'Hara-Smith wrote: > On Tue, 29 Oct 2002 21:37:14 +1100 (EST) Hi Steve, this is a really old thread but I'd like to express my experiences as well :-) > Carl Makin wrote: > CM> On Mon, 28 Oct 2002, Steve O'Hara-Smith wrote: > > CM> > At what resolution ? I'm impressed if a Celeron 600 can keep > CM> > up with full resolution (720x576 for PAL). > CM> > CM> 384x288 > CM> > CM> Given that I'm having problems at that I haven't tried the patch to > CM> get full frame. :) > > No don't :) > > CM> Ok. Tried it. It is better, but still out by a couple of seconds > CM> after 5 minutes. I'm using the following command line; > > Hmm, better is useful. Still I would have thought it should have > been able to catch up on any missed frames given a 60% average. > > CM> ffmpeg -vcodec mpeg1video -me zero -intra -b 7200 -s 384x288 test1.mpg > > Try pushing up to -b 9600 and see if it helps. > > CM> It only uses around 60% CPU with this command line, and 90% CPU if I > CM> omit the '-intra'. Both attempts had sync problems. > > Were they worse on the 90% attempt ? > > CM> I'm using mplayer to play the video back... > > What version ? ISTR a creeping sync problem in mplayer in the > past. I have been experimenting with this as well. I use the command line ffmpeg -y -vcodec mpeg1video -me zero -intra -b 9600 -s 384x288 for capturing. I also see the problem of the audio being a bit out of sync. However, since I re-encode the whole thing using virtualdub (shame on me :-)) I simply set the frame rate to 25.045 and all is well. I have done this recently with a 60 minutes movie grabbed from the SAT receiver. The value of 25.045 (instead of 25) results in a sufficient well synchronization at every position within the movie. I am using the modified grab_bsdbktr.c from your site: -rw-r--r-- 1 root wheel - 6139 Nov 29 18:58 grab_bsdbktr.c Please tell me if you like me to do some more experiments! Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 6 12:36:47 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DAC837B401 for ; Mon, 6 Jan 2003 12:36:46 -0800 (PST) Received: from smtp4.wanadoo.nl (smtp4.wanadoo.nl [194.134.35.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 289DB43EC5 for ; Mon, 6 Jan 2003 12:36:41 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (p2940.vwr.wanadoo.nl [194.134.219.133]) by smtp4.wanadoo.nl (Postfix) with SMTP id 7334A3EAD9; Mon, 6 Jan 2003 21:36:37 +0100 (CET) Date: Mon, 6 Jan 2003 21:36:34 +0100 From: Steve O'Hara-Smith To: Jens Schweikhardt Cc: multimedia@freebsd.org Subject: Re: tv cards with other than brooktree chips Message-Id: <20030106213634.40269d85.steve@sohara.org> In-Reply-To: <20030104133208.GA42221@schweikhardt.net> References: <20030104133208.GA42221@schweikhardt.net> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 4 Jan 2003 14:32:08 +0100 Jens Schweikhardt wrote: JS> hello, world\n JS> JS> I've looked in the hardware list, but couldn't really find an answer. JS> Does FreeBSD support tv cards with a chipset other than brooktree bt*? The Matrox Meteor (if you can find one). Otherwise I'm afraid bt* is the only option. -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 6 12:58:28 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FD6837B401 for ; Mon, 6 Jan 2003 12:58:27 -0800 (PST) Received: from smtp4.wanadoo.nl (smtp4.wanadoo.nl [194.134.35.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1770043E4A for ; Mon, 6 Jan 2003 12:58:23 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (i1908.vwr.wanadoo.nl [194.134.215.124]) by smtp4.wanadoo.nl (Postfix) with SMTP id 5D9293EABD; Mon, 6 Jan 2003 21:58:20 +0100 (CET) Date: Mon, 6 Jan 2003 21:58:21 +0100 From: Steve O'Hara-Smith To: Andre Albsmeier Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-Id: <20030106215821.60130d42.steve@sohara.org> In-Reply-To: <20030106115851.A12349@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 6 Jan 2003 11:58:51 +0100 Andre Albsmeier wrote: AA> for capturing. I also see the problem of the audio being a bit out AA> of sync. However, since I re-encode the whole thing using virtualdub AA> (shame on me :-)) I simply set the frame rate to 25.045 and all is I have a few questions - How did you come up with this figure ? What are you playing back with ? What happens if you play back with something else ? AA> I am using the modified grab_bsdbktr.c from your site: AA> AA> -rw-r--r-- 1 root wheel - 6139 Nov 29 18:58 grab_bsdbktr.c There's a better one up there (since Nov 16 - size is 5896) that has a timer fallback to catch missing interrupts as well as the handling for processing overruns - in theory it should keep perfect sync under almost any conditions (it does for me). -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 6 13:31:53 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EEBC37B401 for ; Mon, 6 Jan 2003 13:31:52 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47D8B43ED4 for ; Mon, 6 Jan 2003 13:31:50 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org ([10.3.12.105]) by meitner.wh.uni-dortmund.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id h06KgBc02472; Mon, 6 Jan 2003 21:42:14 +0100 X-Authentication-Warning: meitner.wh.uni-dortmund.de: Host [10.3.12.105] claimed to be lofi.dyndns.org Received: from gmx.net (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.6/8.12.6) with ESMTP id h06LVDAS001198 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 6 Jan 2003 22:31:21 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <3E19F59F.4010503@gmx.net> Date: Mon, 06 Jan 2003 22:31:11 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Jens Schweikhardt Cc: multimedia@freebsd.org Subject: Re: tv cards with other than brooktree chips References: <20030104133208.GA42221@schweikhardt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jens Schweikhardt schrieb: > hello, world\n > > I've looked in the hardware list, but couldn't really find an answer. > Does FreeBSD support tv cards with a chipset other than brooktree bt*? > I've tried bt848 and bt878 cards and both cause PCI bus lockups on my > Shuttle Spacewalker ak31v3 board. According to the tv card manufacturer > (Hauppauge) this is a known problem with my board's VIA chipset. > No amount of BIOS tuning could solve the problem so far. I got mine to work by moving it to a different pci-slot (KT-133A). -- Regards, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 6 23:55:41 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F14E37B401 for ; Mon, 6 Jan 2003 23:55:40 -0800 (PST) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6632243E4A for ; Mon, 6 Jan 2003 23:55:38 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id h077tSX22030; Tue, 7 Jan 2003 08:55:28 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail1.siemens.de (8.11.6/8.11.6) with ESMTP id h077tRV09287; Tue, 7 Jan 2003 08:55:27 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mars.cert.siemens.de (8.12.7/8.12.7/$SiemensCERT: mail/cert.mc,v 1.39 2003/01/01 10:54:32 ust Exp $) with ESMTP id h077tQbY032337; Tue, 7 Jan 2003 08:55:27 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id h077tQoJ058811; Date: Tue, 7 Jan 2003 08:55:26 +0100 From: Andre Albsmeier To: "Steve O'Hara-Smith" Cc: Andre Albsmeier , freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-ID: <20030107085526.A14263@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030106215821.60130d42.steve@sohara.org>; from steve@sohara.org on Mon, Jan 06, 2003 at 09:58:21PM +0100 X-Echelon: Delta, chain reaction, MSNBC, NORAD, Secret Service Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 06-Jan-2003 at 21:58:21 +0100, Steve O'Hara-Smith wrote: > On Mon, 6 Jan 2003 11:58:51 +0100 > Andre Albsmeier wrote: > > AA> for capturing. I also see the problem of the audio being a bit out > AA> of sync. However, since I re-encode the whole thing using virtualdub > AA> (shame on me :-)) I simply set the frame rate to 25.045 and all is > > I have a few questions - How did you come up with this figure ? Try and error :-) I noticed that the offset becomes bigger while the movie plays. > What are you playing back with ? What happens if you play back with I use MPlayer 0.90rc2-2.95.4 > something else ? Haven't tried yet. However, if you like me to test it I can try it on some Windoze machine at work. > > AA> I am using the modified grab_bsdbktr.c from your site: > AA> > AA> -rw-r--r-- 1 root wheel - 6139 Nov 29 18:58 grab_bsdbktr.c > > There's a better one up there (since Nov 16 - size is 5896) that has a > timer fallback to catch missing interrupts as well as the handling for > processing overruns - in theory it should keep perfect sync under almost > any conditions (it does for me). Well, I assume the difference are the trailing ^M's when fetched here at work using the proxy: andre@bali:~>ll 2home/grab_bsdbktr.c grab_bsdbktr.c -rw-rw---- 1 andre andre - 5896 Nov 16 19:24 2home/grab_bsdbktr.c -rw-rw---- 1 andre andre - 6139 Jan 7 08:44 grab_bsdbktr.c andre@bali:~>diff -w 2home/grab_bsdbktr.c grab_bsdbktr.c andre@bali:~> So I think I already use the most recent one. Just tried it again: When doing a fetch (via some proxies) here at work, I get this one: -rw------- 1 andre wheel - 6139 Nov 16 19:24 grab_bsdbktr.c When I do a ftp (or a fetch without proxies) I get this one: -rw-rw---- 1 andre andre - 5896 Nov 16 19:24 grab_bsdbktr.c However, apart from the ^M issue they are the same. Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 7 10:14: 9 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5FA37B401 for ; Tue, 7 Jan 2003 10:14:07 -0800 (PST) Received: from smtp6.wanadoo.nl (smtp6.wanadoo.nl [194.134.35.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F6343ED4 for ; Tue, 7 Jan 2003 10:14:03 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (p2396.vwr.wanadoo.nl [194.134.217.101]) by smtp6.wanadoo.nl (Postfix) with SMTP id 44A7B71738; Tue, 7 Jan 2003 19:14:00 +0100 (CET) Date: Tue, 7 Jan 2003 19:13:59 +0100 From: Steve O'Hara-Smith To: Andre Albsmeier Cc: andre.albsmeier@siemens.com, freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-Id: <20030107191359.12abeb78.steve@sohara.org> In-Reply-To: <20030107085526.A14263@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 7 Jan 2003 08:55:26 +0100 Andre Albsmeier wrote: AA> > What are you playing back with ? What happens if you play back with AA> AA> I use MPlayer 0.90rc2-2.95.4 AA> AA> > something else ? AA> AA> Haven't tried yet. However, if you like me to test it I can try AA> it on some Windoze machine at work. Please do, it would be good to confirm that the problem is not in mplayer (I suspect it isn't but confirmation is good and I have no windows). AA> Well, I assume the difference are the trailing ^M's when fetched here AA> at work using the proxy: That'd do it - so much for theory :( -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 7 12:10:57 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D57537B401 for ; Tue, 7 Jan 2003 12:10:56 -0800 (PST) Received: from w2xo.jcdurham.com (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB1B43E4A for ; Tue, 7 Jan 2003 12:10:55 -0800 (PST) (envelope-from durham@jcdurham.com) Received: from jcdurham.com (pgh.nepinc.com [66.207.129.50]) by w2xo.jcdurham.com (8.11.6/8.11.6) with ESMTP id h07KAra98857 for ; Tue, 7 Jan 2003 20:10:53 GMT (envelope-from durham@jcdurham.com) Message-ID: <3E1B344B.6070607@jcdurham.com> Date: Tue, 07 Jan 2003 15:10:51 -0500 From: Jim Durham User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: newpcm driver with Via AC97 integrated sound Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I bought a couple of Gigabyte motherboards with Via KM266 chipset. I was able to get FreeBSD working almost completely except for sound recording. The problem is that when you spec 44100 sample rate, you actually get 22050 with a lot of "digital noise", like a raspy buzz. I played with audacity and with a C program that I wrote and have used on several different systems with FreeBSD and they both had the same problem. I remember when I first tried to bring up the pcm driver on my Dell 4000 laptop with ESS, back about 4.1 days, I had a similar problem (not quite the same, but it was noisy recording with the sample rate being off, not by 1/2 , but perhaps 25% slow). When I upgraded to 4.5, this went away. I only mention this as it was a similar problem and perhaps the fix is similar? Thanks, Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 7 12:43: 2 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B01137B401 for ; Tue, 7 Jan 2003 12:43:01 -0800 (PST) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 078C843EA9 for ; Tue, 7 Jan 2003 12:43:01 -0800 (PST) (envelope-from hodson@puma.icir.org) Received: from puma.icir.org (localhost [127.0.0.1]) by puma.icir.org (8.12.3/8.12.3) with ESMTP id h07KgopD005959; Tue, 7 Jan 2003 12:42:50 -0800 (PST) (envelope-from hodson@puma.icir.org) Message-Id: <200301072042.h07KgopD005959@puma.icir.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Jim Durham Cc: freebsd-multimedia@FreeBSD.ORG From: Orion Hodson Subject: Re: newpcm driver with Via AC97 integrated sound In-Reply-To: Your message of "Tue, 07 Jan 2003 15:10:51 EST." <3E1B344B.6070607@jcdurham.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Jan 2003 12:42:50 -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org /-- Jim Durham wrote: | I bought a couple of Gigabyte motherboards with Via KM266 chipset. I was | able to get FreeBSD working almost completely except for sound recording. Jim The driver has untested, and apparently broken, recording support. The board used to write the driver was borrowed and ended up being returned before recording was done. I'll go back to the specs and hopefully send you a patch by the weekend. Ping me if you don't get a patch by Saturday evening. Cheers - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 7 13:42: 7 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2F8437B401; Tue, 7 Jan 2003 13:42:06 -0800 (PST) Received: from w2xo.jcdurham.com (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6578443ED8; Tue, 7 Jan 2003 13:42:05 -0800 (PST) (envelope-from durham@jcdurham.com) Received: from jcdurham.com (pgh.nepinc.com [66.207.129.50]) by w2xo.jcdurham.com (8.11.6/8.11.6) with ESMTP id h07Lg3a01949; Tue, 7 Jan 2003 21:42:04 GMT (envelope-from durham@jcdurham.com) Message-ID: <3E1B49A9.2050009@jcdurham.com> Date: Tue, 07 Jan 2003 16:42:01 -0500 From: Jim Durham User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Orion Hodson Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: newpcm driver with Via AC97 integrated sound References: <200301072042.h07KgopD005959@puma.icir.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Orion Hodson wrote: > /-- Jim Durham wrote: > | I bought a couple of Gigabyte motherboards with Via KM266 chipset. I was > | able to get FreeBSD working almost completely except for sound recording. > > Jim > > The driver has untested, and apparently broken, recording support. The board > used to write the driver was borrowed and ended up being returned before > recording was done. I'll go back to the specs and hopefully send you a patch > by the weekend. Ping me if you don't get a patch by Saturday evening. > > Cheers > - Orion > Orion, Thanks! I'll look for it. I should have time Saturday to do some testing. Gee..would I get this kind of service from M$? -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 7 23:17: 3 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 485DD37B401 for ; Tue, 7 Jan 2003 23:17:02 -0800 (PST) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id E94C243EB2 for ; Tue, 7 Jan 2003 23:17:00 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.11.6/8.11.6) with ESMTP id h087Gpw12544; Wed, 8 Jan 2003 08:16:52 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id h087GoF03541; Wed, 8 Jan 2003 08:16:50 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mars.cert.siemens.de (8.12.7/8.12.7/$SiemensCERT: mail/cert.mc,v 1.40 2003/01/07 15:49:50 ust Exp $) with ESMTP id h087GnRK042765; Wed, 8 Jan 2003 08:16:50 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id h087GnoJ070569; Date: Wed, 8 Jan 2003 08:16:49 +0100 From: Andre Albsmeier To: "Steve O'Hara-Smith" Cc: Andre Albsmeier , freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-ID: <20030108081649.A21700@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> <20030107191359.12abeb78.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030107191359.12abeb78.steve@sohara.org>; from steve@sohara.org on Tue, Jan 07, 2003 at 07:13:59PM +0100 X-Echelon: USCODE, Clandestine, Surveillance, VHF, 707 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 07-Jan-2003 at 19:13:59 +0100, Steve O'Hara-Smith wrote: > On Tue, 7 Jan 2003 08:55:26 +0100 > Andre Albsmeier wrote: > > AA> > What are you playing back with ? What happens if you play back with > AA> > AA> I use MPlayer 0.90rc2-2.95.4 > AA> > AA> > something else ? > AA> > AA> Haven't tried yet. However, if you like me to test it I can try > AA> it on some Windoze machine at work. > > Please do, it would be good to confirm that the problem is not in > mplayer (I suspect it isn't but confirmation is good and I have no > windows). Hmm, I play a lot of movies in mplayer and never noticed out of sync effects with other files. I will test it with zoom player (just found one here who got it installed). It may take some days... > > AA> Well, I assume the difference are the trailing ^M's when fetched here > AA> at work using the proxy: > > That'd do it - so much for theory :( Yep :-) -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jan 9 5:49:32 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26FA37B401 for ; Thu, 9 Jan 2003 05:49:30 -0800 (PST) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EED743EB2 for ; Thu, 9 Jan 2003 05:49:29 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id h09DnJb11991; Thu, 9 Jan 2003 14:49:19 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id h09DnIF21117; Thu, 9 Jan 2003 14:49:18 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mars.cert.siemens.de (8.12.7/8.12.7/$SiemensCERT: mail/cert.mc,v 1.40 2003/01/07 15:49:50 ust Exp $) with ESMTP id h09DnHrM093833; Thu, 9 Jan 2003 14:49:18 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id h09DnHoJ087570; Date: Thu, 9 Jan 2003 14:49:13 +0100 From: Andre Albsmeier To: "Steve O'Hara-Smith" Cc: Andre Albsmeier , freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-ID: <20030109144913.A30175@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> <20030107191359.12abeb78.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030107191359.12abeb78.steve@sohara.org>; from steve@sohara.org on Tue, Jan 07, 2003 at 07:13:59PM +0100 X-Echelon: Panama, PEM, Defcon, Passwords, FBI Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 07-Jan-2003 at 19:13:59 +0100, Steve O'Hara-Smith wrote: > On Tue, 7 Jan 2003 08:55:26 +0100 > Andre Albsmeier wrote: > > AA> > What are you playing back with ? What happens if you play back with > AA> > AA> I use MPlayer 0.90rc2-2.95.4 > AA> > AA> > something else ? > AA> > AA> Haven't tried yet. However, if you like me to test it I can try > AA> it on some Windoze machine at work. > > Please do, it would be good to confirm that the problem is not in > mplayer (I suspect it isn't but confirmation is good and I have no > windows). Hmm, tried the file in question with "Zoom Player" under Win32 and here the sync is perfect! So far so good, now one would say this is an mplayer problem. But there are two things left: 1.) I played lot of other mpegs using mplayer and the audio sync is ok. 2.) When I use Virtualdub (which also runs under Win32 and has nothing to do with mplayer) and re-encode the mpg to some AVI, I have to use 25.045 as frame rate to play it back properly using mplayer. The next thing I will try is to re-encode the mpg to AVI but leave the frame rate as 25.00 and try the result with "Zoom Player"... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jan 9 10:22:59 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 573F337B401 for ; Thu, 9 Jan 2003 10:22:57 -0800 (PST) Received: from smtp6.wanadoo.nl (smtp6.wanadoo.nl [194.134.35.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5888F43F13 for ; Thu, 9 Jan 2003 10:22:56 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (p2486.vwr.wanadoo.nl [194.134.217.191]) by smtp6.wanadoo.nl (Postfix) with SMTP id 872796F123; Thu, 9 Jan 2003 19:22:52 +0100 (CET) Date: Thu, 9 Jan 2003 19:22:47 +0100 From: Steve O'Hara-Smith To: Andre Albsmeier Cc: freebsd-multimedia@FreeBSD.ORG Subject: AV sync on ffmpeg captures - was Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-Id: <20030109192247.0602e203.steve@sohara.org> In-Reply-To: <20030109144913.A30175@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> <20030107191359.12abeb78.steve@sohara.org> <20030109144913.A30175@curry.mchp.siemens.de> X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^- GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 9 Jan 2003 14:49:13 +0100 Andre Albsmeier wrote: AA> On Tue, 07-Jan-2003 at 19:13:59 +0100, Steve O'Hara-Smith wrote: AA> > On Tue, 7 Jan 2003 08:55:26 +0100 AA> > Please do, it would be good to confirm that the problem is not in AA> > mplayer (I suspect it isn't but confirmation is good and I have no AA> > windows). AA> AA> Hmm, tried the file in question with "Zoom Player" under Win32 and AA> here the sync is perfect! So far so good, now one would say this is an AA> mplayer problem. But there are two things left: AA> AA> 1.) I played lot of other mpegs using mplayer and the audio sync is AA> ok. Yep - I've played a lot of VOBs and AVIs in mplayer without sync problems too. Timestamping in streams is an amazingly complex thing (ie. I haven't managed to grok it yet). There are AFAICT multiple ways to work out when things should be played, there is probably a consistency problem in the streams generated by ffmpeg. What this tells me is that I shouldn't try and fix this in the grab code which is probably behaving well now, it needs fixing in the ffmpeg stream building code (somewhere) which I don't understand properly (the last time I tried to fiddle with it strange and unexpected things happened, I retreated in confusion). It may be better in ffmpeg 0.46 unfortunately the performance of 0.46 leaves much to be desired - my XP can't quite keep up with half resolution recording under 0.46 :(. AA> 2.) When I use Virtualdub (which also runs under Win32 and has nothing AA> to AA> do with mplayer) It probably digs out the timing in the same way as mplayer. What happens if you just play back the stream with mplayer -fps 25.045 (or perhaps about 24.95) ? Can anyone point me to a comprehensible description of how the timestamping is supposed to work in mpeg and avi streams ? If I can grok what is supposed to be going on I can take a crack at fixing it. -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Jan 9 23:22:47 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C262B37B401 for ; Thu, 9 Jan 2003 23:22:44 -0800 (PST) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42AD843E4A for ; Thu, 9 Jan 2003 23:22:43 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.11.6/8.11.6) with ESMTP id h0A7MXE21881; Fri, 10 Jan 2003 08:22:34 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id h0A7MXp10315; Fri, 10 Jan 2003 08:22:33 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mars.cert.siemens.de (8.12.7/8.12.7/$SiemensCERT: mail/cert.mc,v 1.40 2003/01/07 15:49:50 ust Exp $) with ESMTP id h0A7MWrM009426; Fri, 10 Jan 2003 08:22:33 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.6/8.12.6) id h0A7MWoJ095898; Date: Fri, 10 Jan 2003 08:22:31 +0100 From: Andre Albsmeier To: "Steve O'Hara-Smith" Cc: Andre Albsmeier , freebsd-multimedia@FreeBSD.ORG Subject: Re: AV sync on ffmpeg captures - was Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-ID: <20030110082231.A32663@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> <20030107191359.12abeb78.steve@sohara.org> <20030109144913.A30175@curry.mchp.siemens.de> <20030109192247.0602e203.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030109192247.0602e203.steve@sohara.org>; from steve@sohara.org on Thu, Jan 09, 2003 at 07:22:47PM +0100 X-Echelon: fraud, 737, Embassy, SEMTEX, AA Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 09-Jan-2003 at 19:22:47 +0100, Steve O'Hara-Smith wrote: > On Thu, 9 Jan 2003 14:49:13 +0100 > Andre Albsmeier wrote: > > AA> On Tue, 07-Jan-2003 at 19:13:59 +0100, Steve O'Hara-Smith wrote: > AA> > On Tue, 7 Jan 2003 08:55:26 +0100 > AA> > Please do, it would be good to confirm that the problem is not in > AA> > mplayer (I suspect it isn't but confirmation is good and I have no > AA> > windows). > AA> > AA> Hmm, tried the file in question with "Zoom Player" under Win32 and > AA> here the sync is perfect! So far so good, now one would say this is an > AA> mplayer problem. But there are two things left: > AA> > AA> 1.) I played lot of other mpegs using mplayer and the audio sync is > AA> ok. > > Yep - I've played a lot of VOBs and AVIs in mplayer without sync > problems too. Timestamping in streams is an amazingly complex thing (ie. Well, let me ask you one question: What happens if you play a ffmpeg generated stream with mplayer? Is the problem reproducible? > I haven't managed to grok it yet). There are AFAICT multiple ways to work > out when things should be played, there is probably a consistency problem > in the streams generated by ffmpeg. > > What this tells me is that I shouldn't try and fix this in the grab > code which is probably behaving well now, it needs fixing in the ffmpeg Yep, the fact that Zoom Player plays the file properly let's us assume that everything is allright with the grabbing. > stream building code (somewhere) which I don't understand properly (the > last time I tried to fiddle with it strange and unexpected things > happened, I retreated in confusion). It may be better in ffmpeg 0.46 > unfortunately the performance of 0.46 leaves much to be desired - my XP > can't quite keep up with half resolution recording under 0.46 :(. > > AA> 2.) When I use Virtualdub (which also runs under Win32 and has nothing > AA> to > AA> do with mplayer) > > It probably digs out the timing in the same way as mplayer. What > happens if you just play back the stream with mplayer -fps 25.045 (or > perhaps about 24.95) ? This doesn't help a lot. The interesting thing is, when playing without the -fps option, mplayer tells me that the frame rate is 25.00: Playing test.mpg Detected MPEG-PS file format! VIDEO: MPEG1 384x288 (aspect 1) 25.00 fps 12000.0 kbps (1500.0 kbyte/s) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 This would mean that it parsed some MPEG header data correctly. When using the -fps option it tells me: FPS forced to be 25.045 (ftime: 0.040) Start playing... However, I have got the impression that the whole -fps stuff doesn't work a good as it should be. E.g., if you use -fps and let a file play normally until a certain position, the AV-offset is different as it is if you seek 20 seconds before the same point and let it play from there. > > Can anyone point me to a comprehensible description of how the > timestamping is supposed to work in mpeg and avi streams ? If I can grok > what is supposed to be going on I can take a crack at fixing it. Unfortunately, I can't help here. But in case you want me to do some tests I am happy to help... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Jan 10 10: 0:49 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE6737B401 for ; Fri, 10 Jan 2003 10:00:47 -0800 (PST) Received: from smtp5.wanadoo.nl (smtp5.wanadoo.nl [194.134.35.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E9D43F43 for ; Fri, 10 Jan 2003 10:00:43 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (p3996.vwr.wanadoo.nl [212.129.227.164]) by smtp5.wanadoo.nl (Postfix) with SMTP id 4C80B746B0; Fri, 10 Jan 2003 19:00:39 +0100 (CET) Date: Fri, 10 Jan 2003 19:00:40 +0100 From: Steve O'Hara-Smith To: Andre Albsmeier Cc: andre.albsmeier@siemens.com, freebsd-multimedia@FreeBSD.ORG Subject: Re: AV sync on ffmpeg captures - was Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-Id: <20030110190040.00bc5dda.steve@sohara.org> In-Reply-To: <20030110082231.A32663@curry.mchp.siemens.de> References: <20021028202230.1283e8cd.steve@sohara.org> <20021029194220.7fb532ad.steve@sohara.org> <20030106115851.A12349@curry.mchp.siemens.de> <20030106215821.60130d42.steve@sohara.org> <20030107085526.A14263@curry.mchp.siemens.de> <20030107191359.12abeb78.steve@sohara.org> <20030109144913.A30175@curry.mchp.siemens.de> <20030109192247.0602e203.steve@sohara.org> <20030110082231.A32663@curry.mchp.siemens.de> X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^- GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 10 Jan 2003 08:22:31 +0100 Andre Albsmeier wrote: AA> On Thu, 09-Jan-2003 at 19:22:47 +0100, Steve O'Hara-Smith wrote: AA> > On Thu, 9 Jan 2003 14:49:13 +0100 AA> > Andre Albsmeier wrote: AA> > Yep - I've played a lot of VOBs and AVIs in mplayer without sync AA> > problems too. Timestamping in streams is an amazingly complex thing AA> > (ie. AA> AA> Well, let me ask you one question: What happens if you play a ffmpeg AA> generated stream with mplayer? Is the problem reproducible? I haven't seen slippage since the last iteration of the grab code, before that I did. I don't think you are the only one seeing it now though. AA> This doesn't help a lot. The interesting thing is, when playing AA> without the -fps option, mplayer tells me that the frame rate is AA> 25.00: Good the header is at least partially valid :) AA> However, I have got the impression that the whole -fps stuff doesn't AA> work a good as it should be. E.g., if you use -fps and let a file AA> play normally until a certain position, the AV-offset is different as AA> it is if you seek 20 seconds before the same point and let it play AA> from there. Ugh! AA> Unfortunately, I can't help here. But in case you want me to do some AA> tests I am happy to help... Thanks, I'll let you know if/when I get anywhere with it. -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message