From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 30 11:59:54 2005 Return-Path: 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 8429616A4CE for ; Sat, 30 Apr 2005 11:59:54 +0000 (GMT) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ADE243D54 for ; Sat, 30 Apr 2005 11:59:54 +0000 (GMT) (envelope-from lioux@FreeBSD.org) Received: from 201.24.51.9 (unknown [201.24.51.9]) by vette.gigo.com (Postfix) with ESMTP id 17D0155DD for ; Sat, 30 Apr 2005 04:59:53 -0700 (PDT) Received: (qmail 29322 invoked by uid 1001); 30 Apr 2005 11:52:43 -0000 Message-ID: <20050430115243.29294.qmail@exxodus.fedaykin.here> Date: Sat, 30 Apr 2005 08:52:21 -0300 From: Mario Sergio Fujikawa Ferreira To: Steve O'Hara-Smith References: <20050429003339.86226.qmail@exxodus.fedaykin.here> <20050429103223.72e3a65b.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050429103223.72e3a65b.steve@sohara.org> User-Agent: Mutt/1.5.9i cc: freebsd-multimedia@freebsd.org cc: riggs@rrr.de Subject: Re: Mplayer adevice option does work X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 11:59:54 -0000 On Fri, Apr 29, 2005 at 10:32:01AM +0100, Steve O'Hara-Smith wrote: > On Thu, 28 Apr 2005 21:33:17 -0300 > Mario Sergio Fujikawa Ferreira wrote: > > > However, despite good reports from mplayer mailing lists (no FreeBSD > > reports), I am unable to use this option under FreeBSD. The option > > should allow me to get audio from a source other than the video source. > > AFAICS from a quick read of the source the audio device is > hardcoded to /dev/dsp (or /dev/sound for NetBSD) - presumably it fails > to open in mplayer because /dev/dsp is already opened for the audio > output. Try with -ao oss:dsp-device=/dev/dsp0.1 to force the output > to a different device. Actually, I was thinking more on the line of input audio source. :) Ouput audio source goes just fine. Though, I'll keep that line in mind. One thing, I recall you said that you watched TV in your bktr card heard the audio under FreeBSD. What mixers settings are you using? And, soundblaster audigy emuctrl too if you have it. > > > Option tv: Unknown suboption adevice > > ------- > > > > Inquiries at irc.freenode.net#mplayer imply that this option > > works fine under Linux. Any ideas why I am unable to use it? Is it > > incidental to my system; i.e., does it work for everyone using FreeBSD > > but me? Or, is it just that this option does not work under FreeBSD? > > > > We should work at getting it fixed. Any ideas? > > Charles Heinrich wrote the bsd capture for mplayer - he didn't > add support for it. It looks easy enough to fix though. I began a very naive addition of the audio support to mplayer. Basically, I made it aware of the option. Now, begins the hard work of telling mplayer to do something with it. http://people.FreeBSD.org/~lioux/mplayer.tgz Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature