From owner-freebsd-multimedia Sun Feb 2 23: 8:50 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 2AFED37B401 for ; Sun, 2 Feb 2003 23:08:49 -0800 (PST) Received: from mail.lanworks.de (mailgate.lanworks.de [194.77.154.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4879D43E4A for ; Sun, 2 Feb 2003 23:08:47 -0800 (PST) (envelope-from ahuth@lanworks.de) Received: from miraculix.pinguintown.local (private-lan-address [192.168.100.207] (may be forged)) by mail.lanworks.de with ESMTP id h1389cO01952 for ; Mon, 3 Feb 2003 09:09:38 +0100 From: Alex Huth Organization: Lanworks AG Date: Mon, 3 Feb 2003 07:57:11 +0100 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Disposition: inline To: freebsd-multimedia@freebsd.org Subject: Xine Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200302030757.11193.ahuth@lanworks.de> X-Virus-Scanned: by AMaViS-perl11-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 Hi folks! I=B4ve just tried to install xine by using the ports. There is a error like= you=20 see below: In file included from xine_decoder.c:43: /usr/local/include/ffmpeg/dsputil.h: In function `lrintf': /usr/local/include/ffmpeg/dsputil.h:290: warning: implicit declaration of=20 function `rint' xine_decoder.c: In function `ff_decode_data': xine_decoder.c:131: `CODEC_ID_MSMPEG4' undeclared (first use in this functi= on) xine_decoder.c:131: (Each undeclared identifier is reported only once xine_decoder.c:131: for each function it appears in.) xine_decoder.c:230: warning: passing arg 2 of `avcodec_decode_video' from=20 incompatible pointer type xine_decoder.c:235: structure has no member named `aspect_ratio_info' gmake[3]: *** [xine_decoder.lo] Error 1 gmake[3]: Leaving directory=20 `/daten/temp/usr/ports/graphics/libxine/work/xine-lib-0.9.13/src/libffmpeg' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory=20 `/daten/temp/usr/ports/graphics/libxine/work/xine-lib-0.9.13/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory=20 `/daten/temp/usr/ports/graphics/libxine/work/xine-lib-0.9.13' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/graphics/libxine. *** Error code 1 Stop in /usr/ports/graphics/xine. Can someone help me by solving this problem? Thanks Alex Huth =2D-=20 Unix like TeePee no windows, no gates, Apache inside. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Feb 3 4:24:46 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 4987F37B401 for ; Mon, 3 Feb 2003 04:24:45 -0800 (PST) Received: from drweb.spb.ru (relay.drweb.ru [62.16.103.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8314043F85 for ; Mon, 3 Feb 2003 04:24:43 -0800 (PST) (envelope-from n_p@potanin.spb.ru) Received: from nip.drweb.ru (sald.ipnet.spb.ru [62.16.103.217]) (authenticated bits=0) by drweb.spb.ru (8.12.6/8.12.6) with ESMTP id h13COaHl066102 for ; Mon, 3 Feb 2003 15:24:36 +0300 (MSK) (envelope-from n_p@potanin.spb.ru) Date: Mon, 3 Feb 2003 15:25:20 +0300 From: "Nikolaj I. Potanin" To: freebsd-multimedia@FreeBSD.ORG Subject: Re: ufm0: GemTek Corp USB FM Radio Message-Id: <20030203152520.1bd98195.n_p@potanin.spb.ru> In-Reply-To: References: <20030129131019.7c0f9b42.n_p@potanin.spb.ru> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) 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 Wed, 29 Jan 2003 22:54:47 +0100 (CET) Heiko Recktenwald wrote: > Never heard of an USB radio, what is this? It's an external FM-radio device, controlled via USB-interface. http://www.modulartech.com/dsheets/USB_FM_radio.htm -- Nikolaj I. Potanin (POTANIN-RIPN) http://potanin.spb.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Feb 3 7:38:52 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 27DB637B401 for ; Mon, 3 Feb 2003 07:38:51 -0800 (PST) Received: from pgh.nepinc.com (pgh.nepinc.com [66.207.129.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4380843E4A for ; Mon, 3 Feb 2003 07:38:50 -0800 (PST) (envelope-from jimd@nepinc.com) Received: from jimslaptop.pitt.nepinc.com (jimslaptop.pitt.nepinc.com [192.100.100.107]) by pgh.nepinc.com (8.11.4/8.11.3) with ESMTP id h13Fcjs67689 for ; Mon, 3 Feb 2003 10:38:45 -0500 (EST) (envelope-from jimd@nepinc.com) From: Jim Durham Organization: NEP Supershooters To: freebsd-multimedia@freebsd.org Subject: Maestro 3 flakiness Date: Mon, 3 Feb 2003 10:38:43 -0500 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302031038.43539.jimd@nepinc.com> 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 It seems since I upgraded my Dell Inspiron 4000 laptop with Maestro 3 sound to FreeBSD 4.7 that I have an occasional problem with the sound system. I don't recall this happening under 4.6. Sometimes the hardware apparently fails to initialize properly. The symptom is that there appears to be no clock for the recording process, ie; running 'audacity' or any recording program, no samples are taken and the time line stands still. Once in a while this happens on playback as well, but mostly on recording. Usually, a reboot will fix it. Sometimes it takes 2 reboots. Is something not initializing correctly? I'm using KDE3 with the artsd sound server. However, killing artsd and going directly to the dsp doesn't make any difference. Has anyone else seen this? -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Feb 3 13:58:16 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 11ACF37B401 for ; Mon, 3 Feb 2003 13:58:15 -0800 (PST) Received: from smtp6.wanadoo.nl (smtp6.wanadoo.nl [194.134.35.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA7AA43F75 for ; Mon, 3 Feb 2003 13:58:10 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (i0681.vwr.wanadoo.nl [194.134.210.172]) by smtp6.wanadoo.nl (Postfix) with SMTP id 24A936F678; Mon, 3 Feb 2003 22:58:07 +0100 (CET) Date: Mon, 3 Feb 2003 19:18:10 +0100 From: Steve O'Hara-Smith To: Alex Huth Cc: freebsd-multimedia@freebsd.org Subject: Re: Xine Message-Id: <20030203191810.06ae9210.steve@sohara.org> In-Reply-To: <200302030757.11193.ahuth@lanworks.de> References: <200302030757.11193.ahuth@lanworks.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=ISO-8859-15 Content-Transfer-Encoding: 8bit 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, 3 Feb 2003 07:57:11 +0100 Alex Huth wrote: AH> Hi folks! AH> AH> I´ve just tried to install xine by using the ports. There is a error AH> like you see below: Try deinstalling ffmpeg first it may be an older version than the xine port is expecting to find. If that doesn't do it then try installing the ffmpeg045 port (it may be looking for an older ffmpeg) and then building xine (I have a nasty suspicion that this will work in which case ffmpeg045 isn't as redundant as I was hoping it was). OTOH I notice that the xine port was updated two days ago - how up to date is your ports tree ? It might work fine with an up to date xine port. -- 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 Feb 3 14:58:22 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 24B7037B405 for ; Mon, 3 Feb 2003 14:58:21 -0800 (PST) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F20D43F3F for ; Mon, 3 Feb 2003 14:58:20 -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 h13MwE8J023524; Mon, 3 Feb 2003 14:58:14 -0800 (PST) (envelope-from hodson@puma.icir.org) Message-Id: <200302032258.h13MwE8J023524@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 Subject: Re: Maestro 3 flakiness In-Reply-To: Your message of "Mon, 03 Feb 2003 10:38:43 EST." <200302031038.43539.jimd@nepinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Feb 2003 14:58:14 -0800 From: Orion Hodson 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: | It seems since I upgraded my Dell Inspiron 4000 laptop with Maestro 3 sound t | o | FreeBSD 4.7 that I have an occasional problem with the sound system. I don't | recall this happening under 4.6. | | Sometimes the hardware apparently fails to initialize properly. The symptom i | s | that there appears to be no clock for the recording process, ie; running | 'audacity' or any recording program, no samples are taken and the time line | stands still. Once in a while this happens on playback as well, but mostly on | | recording. Usually, a reboot will fix it. Sometimes it takes 2 reboots. | | Is something not initializing correctly? | | I'm using KDE3 with the artsd sound server. However, killing artsd and going | directly to the dsp doesn't make any difference. | | Has anyone else seen this? Jim There is a difference in the initialization sequence between 4.6 and 4.7 that might be worth investigating: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/maestro3.c.diff?r1= 1.2.2.11%3ARELENG_4_7&tr1=1.1&r2=1.2.2.7%3ARELENG_4_6&tr2=1.2.2.11 There are additional changes in -CURRENT relating to with suspend/resume which are probably not directly relevant. If you have the stomach for it, I'd recommend grabbing the specs and comparing the ALSA and FBSD versions of the driver. There may be differences in the initialization code that give a clue to what the root of the problem is. Failing this, try polling scottl@freebsd.org who is responsible for the maestro3 driver. YMMV, he's release engineering these days though and could well be busy there since 4.8 code freeze is coming up shortly. - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Feb 3 21:26:26 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 C5EC937B401 for ; Mon, 3 Feb 2003 21:26:25 -0800 (PST) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59DD543F85 for ; Mon, 3 Feb 2003 21:26:25 -0800 (PST) (envelope-from rsidd@papagena.rockefeller.edu) Received: from user-0cev12d.cable.mindspring.com ([24.239.132.77] helo=bluerondo.a.la.turk) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18fvbA-0006qi-00 for freebsd-multimedia@freebsd.org; Mon, 03 Feb 2003 21:26:20 -0800 Received: (qmail 74606 invoked by uid 1001); 4 Feb 2003 05:26:15 -0000 Date: Tue, 4 Feb 2003 00:26:14 -0500 From: Rahul Siddharthan To: Alex Huth Cc: freebsd-multimedia@freebsd.org Subject: Re: Xine Message-ID: <20030204052614.GA59067@papagena.rockefeller.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302030757.11193.ahuth@lanworks.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT i386 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 Alex Huth wrote: > I've just tried to install xine by using the ports. There is a error > like you see below: You probably have an old ffmpeg port installed (likely 0.4.5). Try pkg_delete'ing it first. I just had a similar problem. -- Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Feb 3 22:35:45 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 9BE5F37B401 for ; Mon, 3 Feb 2003 22:35:44 -0800 (PST) Received: from purple.the-7.net (purple.the-7.net [209.126.178.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EAE443F9B for ; Mon, 3 Feb 2003 22:35:43 -0800 (PST) (envelope-from ab@purple.the-7.net) Received: from purple.the-7.net (localhost [IPv6:::1]) by purple.the-7.net (8.12.6/8.12.6) with ESMTP id h146rg3m058529; Mon, 3 Feb 2003 22:53:42 -0800 (PST) (envelope-from ab@purple.the-7.net) Received: (from ab@localhost) by purple.the-7.net (8.12.6/8.12.6/Submit) id h146rgOK058528; Mon, 3 Feb 2003 22:53:42 -0800 (PST) (envelope-from ab) Date: Mon, 3 Feb 2003 22:53:42 -0800 From: "Eugene M. Kim" To: Orion Hodson Cc: Jim Durham , freebsd-multimedia@FreeBSD.ORG Subject: Re: Maestro 3 flakiness Message-ID: <20030204065341.GA57735@purple.the-7.net> References: <200302031038.43539.jimd@nepinc.com> <200302032258.h13MwE8J023524@puma.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302032258.h13MwE8J023524@puma.icir.org> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-9.9 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.41 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've ran into similar troubles a couple of days ago with my Dell Inspiron 8000 running -current. I did a bit of research myself, and after pulling out about N hairs (where log2(N) >= 7) I found one workaround to this problem: As soon as you play something (I used `echo -n AA > /dev/dsp'), the recording should be back in shape. On Mon, Feb 03, 2003 at 02:58:14PM -0800, Orion Hodson wrote: > If you have the stomach for it, I'd recommend grabbing the specs and comparing > the ALSA and FBSD versions of the driver. There may be differences in the > initialization code that give a clue to what the root of the problem is. The thing is, the spec available online (from ALSA) doesn't seem to explain programming interface of specific firmware images. I couldn't find any reference documentation for the GPL'ed firmware the FreeBSD driver uses. Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Feb 4 20:20:33 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 5826437B401 for ; Tue, 4 Feb 2003 20:20:32 -0800 (PST) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01.nyroc.rr.com [24.92.226.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72A9C43F75 for ; Tue, 4 Feb 2003 20:20:31 -0800 (PST) (envelope-from justin@shiningsilence.com) Received: from shiningsilence.com (roc-24-169-96-227.rochester.rr.com [24.169.96.227]) by ms-smtp-01.nyroc.rr.com (8.12.5/8.12.2) with SMTP id h154KUOU007343 for ; Tue, 4 Feb 2003 23:20:30 -0500 (EST) Received: from 192.168.0.254 (SquirrelMail authenticated user justin) by home.shiningsilence.com with HTTP; Tue, 4 Feb 2003 23:26:28 -0500 (EST) Message-ID: <49359.192.168.0.254.1044419188.squirrel@home.shiningsilence.com> Date: Tue, 4 Feb 2003 23:26:28 -0500 (EST) Subject: ffmpeg missing SBLive audio device From: "Justin C. Sherrill" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 ffmpeg automatically picks "/dev/dsp" as my audio device when recording from my bktr card. However, I have no sound in the output recording. I've played the result in mplayer and mpegtv and, while those programs say there's an audio track, there's nothing in it. I can hear the audio when recording. The bktr card is wired from sound out to audio in on my SoundBlaster Live! card. I'm on 5.0-R. My dsp devices look like this: justin@big> ls /dev/ds* /dev/dsp0.0 /dev/dsp0.3 /dev/dspW0.0 /dev/dspW0.3 /dev/dspr0.0 /dev/dsp0.1 /dev/dsp0.4 /dev/dspW0.1 /dev/dspW0.4 /dev/dspr0.1 /dev/dsp0.2 /dev/dsp0.5 /dev/dspW0.2 /dev/dspW0.5 Could it be that the different device layout is causing this? I'm hoping there's someone else with a similar device setup that is working and can fill me in. Or am I just completely missing an obvious clue? That was my modus operandi last time I asked a question... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Feb 5 2:32: 6 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 7414937B401 for ; Wed, 5 Feb 2003 02:32:01 -0800 (PST) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7AF243F85 for ; Wed, 5 Feb 2003 02:31:59 -0800 (PST) (envelope-from freebsd@fadesa.es) Received: (from mail@fadesa.es) by fuego.fadesa.es (8.9.3/8.8.8) id LAA22443 for ; Wed, 5 Feb 2003 11:32:41 +0100 Message-ID: <3E3F96A1.8F0B8AF@fadesa.es> Date: Tue, 04 Feb 2003 11:32:01 +0100 From: "=?iso-8859-15?Q?Jos=E9?= M. =?iso-8859-15?Q?Fandi=F1o?=" Reply-To: freebsd@fadesa.es Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20-grsec i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 To: multimedia@freebsd.org Subject: ffmpeg issues with audio Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as LAA15585 at Wed Feb 5 11:19:15 2003 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 Hello, I apologize for this long message, but it's necesary in order to explain my problem. Thanks to the advice of Steve I can record from a bktr device, but the success in recording isn't as good as it could be. When I record with sound (don't mind that video/audio codec I use mpeg1, msmpeg4, mpeg4) the cpu spends alot of time in system context as you can see below in the first example. Now in the second example when I use the "-an" parameter (disable audio) the cpu has a more moderate (read: normal) consumption. I'm curious about this, why audio does encoding drop my framerate from 25fps and about 35% of cpu time to 19fps with 100% of cpu time usage? Is there any other info that I can provide to help to debug this? Perhaps an execution profile report. Thanks all of you. > ffmpeg -vcodec mpeg1video -b 7200 -s 384x288 -y -t 5.0 test1.mpg Input #0, video_grab_device, from '/dev/bktr0': Stream #0.0: Video: rawvideo, yuv420p, 384x288, 25.00 fps, 800 kb/s Input #1, audio_device, from '/dev/dsp': Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s Output #0, mpeg, to 'test1.mpg': Stream #0.0: Video: mpeg1video, 384x288, 25.00 fps, q=2-31, 7200 kb/s Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press [q] to stop encoding frame= 125 q=3.0 size= 4542kB time=5.0 bitrate=7441.6kbits/s ffmpeg in free(): warning: page is already free procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 ad2 in sy cs us sy id 0 0 0 88560 514360 7 0 0 0 0 0 0 0 291 1531 269 5 0 95 0 0 0 88560 514360 3 0 0 0 0 0 0 0 236 1081 199 2 0 98 1 0 0 92932 515932 837 0 0 0 1613 0 3 0 252 26938 186 8 8 85 2 0 0 93144 514628 56 0 0 0 0 0 0 8 358 203007 219 44 56 0 1 0 0 92780 513764 3 0 0 0 0 0 0 7 356 203172 202 42 58 0 1 0 0 92780 512868 6 0 0 0 0 0 0 7 357 205271 198 47 53 0 1 0 0 92780 512004 3 0 0 0 0 0 0 7 357 203537 195 45 55 0 0 0 0 88196 514312 3 0 0 0 841 0 0 6 340 178599 201 41 46 13 1 0 0 88616 514312 6 0 0 0 0 0 0 0 275 1378 232 1 0 99 0 0 0 88616 514312 3 0 0 0 0 0 0 0 246 1096 184 0 1 99 > ffmpeg -vcodec mpeg1video -b 7200 -s 384x288 -y -t 5.0 -an test1.mpg Input #0, video_grab_device, from '/dev/bktr0': Stream #0.0: Video: rawvideo, yuv420p, 384x288, 25.00 fps, 800 kb/s Output #0, mpeg, to 'test1.mpg': Stream #0.0: Video: mpeg1video, 384x288, 25.00 fps, q=2-31, 7200 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 125 q=4.0 size= 4520kB time=5.0 bitrate=7405.6kbits/s ffmpeg in free(): warning: page is already free procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 ad2 in sy cs us sy id 0 0 0 136000 514336 7 0 0 0 0 0 0 0 296 1897 358 4 2 95 0 0 0 136000 514336 3 0 0 0 0 0 0 0 230 785 135 1 2 97 1 0 0 140500 515552 865 0 0 0 1237 0 0 2 261 1303 192 9 4 87 1 0 0 140500 514576 3 0 0 0 0 0 3 8 319 1453 207 35 2 63 0 0 0 140136 513736 3 0 0 0 2 0 0 6 312 1385 206 32 3 65 1 0 0 140136 512856 6 0 0 0 0 0 0 7 314 1399 201 32 3 65 0 0 0 140136 511960 3 0 0 0 0 0 0 7 315 1414 205 31 5 65 1 0 0 136056 514360 3 0 0 0 752 0 0 5 286 1293 202 23 5 72 0 0 0 136056 514360 3 0 0 0 0 0 0 0 254 1078 191 5 2 94 0 0 0 136056 514360 3 0 0 0 0 0 0 0 257 947 155 1 2 98 FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xa800 irq 11 (1p/1r/0v channels duplex) [pcm0:play:0]: spd 44100, fmt 0x10000010, flags 00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x10000010) -> {hardware} [pcm0:record:0]: spd 44100, fmt 0x00000010, flags 00000000 interrupts 0, overruns 0, hfree 4096, sfree 131072 {hardware} -> feeder_root(0x00000010) -> {userland} Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE #2: Sun Jan 5 00:03:36 CET 2003 root@damocles.olimpus:/usr/src/sys/compile/NUCLEO Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) Processor (1410.21-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 805224448 (786352K bytes) config> q avail memory = 779366400 (761100K bytes) Preloaded elf kernel "kernel" at 0xc03e9000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03e909c. Preloaded elf module "vesa.ko" at 0xc03e90ec. Preloaded elf module "agp.ko" at 0xc03e9188. netsmb_dev: loaded VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc03db362 (1000022) VESA: ATI RAGE128 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1750 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 9 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 10 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f irq 10 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered viapropm0: SMBus I/O base at 0xe800 viapropm0: port 0xe800-0xe80f at device 4.4 on pci0 viapropm0: SMBus revision code 0x40 smb0: on smbus0 pcm0: port 0xa000-0xa003,0xa400-0xa403,0xa800-0xa8ff irq 11 at device 4.5 on pci0 ed0: port 0x9400-0x941f irq 10 at device 9.0 on pci0 ed0: address 00:02:44:17:3a:fa, type NE2000 (16 bit) pci0: at 10.0 irq 11 bktr0: mem 0xde000000-0xde000fff irq 10 at device 13.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus1: on iicsmb0 smb1: on smbus1 iic0: on iicbus0 iicbus1: on iicbb0 master-only iicsmb1: on iicbus1 smbus2: on iicsmb1 smb2: on smbus2 iic1: on iicbus1 smbus3: on bti2c0 smb3: on smbus3 bktr0: AVer Media TV/FM, Philips PAL tuner. pci0: (vendor=0x109e, dev=0x0878) at 13.1 irq 10 atapci1: port 0x7800-0x783f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 mem 0xdb800000-0xdb81ffff irq 3 at device 17.0 on pci0 ata2: at 0x9000 on atapci1 ata3: at 0x8400 on atapci1 orm0: