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