[MPlayer-users] audio input bug.
Alexandre Becoulet
diaxen at wanadoo.fr
Sat Apr 27 14:20:02 CEST 2002
Hello,
I get a trash sound when using the v4l tv input.
Video work well.
Audio format used look strange : 8bits mono.
Linux distribution : Debian woody
kernel version : Linux georgette 2.4.17 #5 Sat Mar 9 00:43:38 CET 2002 i686
-rwxr-xr-x 1 root root 1153816 Mar 24 18:00 /lib/libc-2.2.5.so
lrwxrwxrwx 1 root root 13 Apr 10 00:00 /lib/libc.so.6 ->
libc-2.2.5.so
XFree86 Version 4.1.0.1 / X Window System
gcc version 2.95.4 20011002 (Debian prerelease)
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) processor
stepping : 4
cpu MHz : 1401.734
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2798.38
Video card : Gforce 2 Ti
V4l : bt848
Video driver: nvidia 2880
Creative SBLive! with kernel OSS driver
lspci:
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [Irongate] System
Controller (rev 13)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 32
Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
Region 1: Memory at df003000 (32-bit, prefetchable) [size=4K]
Region 2: I/O ports at d000 [disabled] [size=4]
Capabilities: <available only to root>
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [Irongate] AGP
Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: dc000000-ddffffff
Prefetchable memory behind bridge: d0000000-d7ffffff
BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev
40)
Subsystem: ABIT Computer Corp.: Unknown device a702
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: <available only to root>
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
(prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. Bus Master IDE
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 4: I/O ports at d400 [size=16]
Capabilities: <available only to root>
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00
[UHCI])
Subsystem: Unknown device 0925:1234
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at d800 [size=32]
Capabilities: <available only to root>
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16) (prog-if 00
[UHCI])
Subsystem: Unknown device 0925:1234
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 10
Region 4: I/O ports at dc00 [size=32]
Capabilities: <available only to root>
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
Subsystem: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
Capabilities: <available only to root>
00:08.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: Technotrend Systemtechnik GmbH: Unknown device 1003
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (3750ns min, 9500ns max)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at df000000 (32-bit, non-prefetchable) [size=512]
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
Subsystem: Unknown device bd11:1200
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at df001000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
00:09.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
Subsystem: Unknown device bd11:1200
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at df002000 (32-bit, prefetchable) [size=4K]
Capabilities: <available only to root>
00:0b.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (750ns min, 2000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at e000 [size=64]
Expansion ROM at <unassigned> [disabled] [size=64K]
00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
Subsystem: Creative Labs CT4830 SBLive! Value
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e400 [size=32]
Capabilities: <available only to root>
00:0d.1 Input device controller: Creative Labs SB Live! (rev 07)
Subsystem: Creative Labs Gameport Joystick
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 0: I/O ports at e800 [size=8]
Capabilities: <available only to root>
00:0f.0 SCSI storage controller: Advanced System Products, Inc ABP940-U /
ABP960-U (rev 03)
Subsystem: Advanced System Products, Inc ASC1300 SCSI Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ec00 [size=256]
Region 1: Memory at df004000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at <unassigned> [disabled] [size=64K]
01:05.0 VGA compatible controller: nVidia Corporation NV15 DDR (GeForce2 GTS)
(rev a4) (prog-if 00 [VGA])
Subsystem: Unknown device 1681:0050
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 12
Region 0: Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: <available only to root>
MPlayer CVS-020427-13:40-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 4)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/diaxen/.mplayer/codecs.conf: 34 audio & 86 video codecs
font: can't open file: /home/diaxen/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error: Permission denied
Using usleep() timing
Input config file /home/diaxen/.mplayer/input.conf parsed : 50 binds
Playing TV
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi <alex at naxine.org>
comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
Capabilites: capture tuner overlay clipping frameram scales
Device type: 235
Supported sizes: 48x32 => 924x576
Inputs: 3
0: Television: tuner audio tv camera (tuner:1, norm:0)
1: Composite1: audio camera (tuner:0, norm:0)
2: S-Video: audio camera (tuner:0, norm:0)
Audio devices: 1
ioctl dsp getfmt: 0
Supported formats: 10
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Requested width: 640
Requested height: 480
Using input 'Composite1'
Selected norm: pal
Tuner isn't capable to set norm!
Selected input hasn't got a tuner!
Detected TV! ;-)
Output format: RGB 16-bit
fps: 25.000000, frametime: 0.040000
Output size: 640x480
palette: 3, depth: 16, bytesperline: 1280
Picture values:
Depth: 16, Palette: 3 (Format: RGB 16-bit)
Brightness: 32767, Hue: 32767, Colour: 32112, Contrast: 27524
[V] filefmt:9 fourcc:0x52474210 size:640x480 fps:25.00 ftime:=0.0400
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: srate=44100 chans=1 bps=6280 sfmt=0x8 ratio: -405347296->276948000
==========================================================================
Opening Video Decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480, RGB 16-bit
[PP] Sorry, postprocessing is not available
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x480 => 640x480 RGB 16-bit vm
SDL: Using driver: x11
Detected video codec: [rawrgb16] drv:8 prio:0 (RAW RGB16)
==========================================================================
AO: [oss] 44100Hz Mono Unsigned 8-bit
ao2: 44100 Hz 1 chans Unsigned 8-bit
audio_setup: sample format: Unsigned 8-bit (requested: Unsigned 8-bit)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 32/32 (1024 bytes/frag) free: 32768
Start playing...
*** [vo] Exporting mp_image_t, 640x480x16bpp RGB packed, 614400 bytes
A: -0.0 V: 0.0 A-V: -0.000 ct: -0.000 2/ 2 0% 0% 0.0% 0 0 0%
*** free_stream() called ***
Exiting... (Quit)
More information about the MPlayer-users
mailing list