Mplayer adevice option does work

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Thu Apr 28 17:35:04 PDT 2005


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=bsdbt848:width=640:height=480:input=0:norm=ntsc 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


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" => local display)
==========================================================================
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 => 640x480 Packed UYVY 
Selected video codec: [rawuyvy] vfm:raw (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
V:   0.0  76/ 76 ??% ??% ??,?% 0 0 0%                                                                                          
Exiting... (Quit)
-------

	But as you can notice, no audio. mplayer(1) man page mentions
a adevice command line option.

adevice=<value>
  Set an audio device.  <value> 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=/dev/audio0.1:driver=bsdbt848:width=640:height=480:input=0:norm=ntsc 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,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20050428/aa796fac/attachment.bin


More information about the freebsd-multimedia mailing list