From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 29 00:35:04 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 4284A16A4E1 for ; Fri, 29 Apr 2005 00:35:04 +0000 (GMT) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA5D843D66 for ; Fri, 29 Apr 2005 00:35:03 +0000 (GMT) (envelope-from lioux@FreeBSD.org) Received: from 201.14.99.206 (unknown [201.14.99.206]) by vette.gigo.com (Postfix) with ESMTP id BA32B5655 for ; Thu, 28 Apr 2005 17:35:00 -0700 (PDT) Received: (qmail 86283 invoked by uid 1001); 29 Apr 2005 00:33:39 -0000 Message-ID: <20050429003339.86226.qmail@exxodus.fedaykin.here> Date: Thu, 28 Apr 2005 21:33:17 -0300 From: Mario Sergio Fujikawa Ferreira To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline User-Agent: Mutt/1.5.9i cc: "Thomas E. Zander" Subject: 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: Fri, 29 Apr 2005 00:35:04 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I am having a bit of trouble with TV capturing. My video source device is bktr0: Hauppauge Model 44001 C110 bktr0: Hauppauge WinCast/TV crw-rw---- 1 root bktr 239, 0 Apr 25 07:20 /dev/bktr0 whilst my audio source device is crw-rw-rw- 1 root wheel 30, 0x00010004 Apr 25 07:20 /dev/audio0.1 The following mplayer line can capture video but no audio. ------- $ mplayer -tv driver=3Dbsdbt848:width=3D640:height=3D480:input=3D0:norm=3Dn= tsc tv:// =20 MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: = 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Playing tv://. Cache fill: 0.00% (0 bytes) TV detected! ;-) Selected driver: bsdbt848 name: Brooktree848 Support author: Charles Henrich comment: in development START vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" =3D> local di= splay) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 640 x 480 (preferred csp: Packed UYVY) VDec: using Packed UYVY as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 640x480 =3D> 640x480 Packed UYVY=20 Selected video codec: [rawuyvy] vfm:raw (RAW UYVY) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Audio: no sound Starting playback... V: 0.0 76/ 76 ??% ??% ??,?% 0 0 0% = =20 Exiting... (Quit) ------- But as you can notice, no audio. mplayer(1) man page mentions a adevice command line option. adevice=3D Set an audio device. should be /dev/xxx for OSS and a hardware ID for ALSA. See the -ao alsa documentation to find out how to specify the hardware ID. 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. For example, ------- $ mplayer -tv adevice=3D/dev/audio0.1:driver=3Dbsdbt848:width=3D640:height= =3D480:input=3D0:norm=3Dntsc tv:// MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: = 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE 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? Regards, --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCcYDjrxEiaFLzGQwRAkFMAJ0WZXedAURQnscnlCakyv8dUpaWDACfeYvH gBQzQpClcvcbrGfXMQK7uRI= =vBtF -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--