Noisy sound from dsp3 on Hauppauge WinTV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm just getting started with video on Linux, so my appologies if this is
a FAQ -- I looked through the last couple of months archives and didn't
find a solution :(

My goal is to record video and audio from the TV card -- eventually from
multiple TV cards.

I have a Hauppage WinTV 190 labeled "NTSC 38101 rev B410."

I'm using mencoder 0.90pre9-3.2 to grab and encode to MPEG4.

If I use "/dev/dsp" which reads the audio from the sound card, the sound
quality it fine.

If I use "/dev/dsp2" which should be the "digital" output from the TV
card, I get nothing -- it confuses mencoder and I have to kill the
process.

If I use "/dev/dsp3" which should be the "analog" output from the TV card
I get really noisy audio. It sounds like something is "overdriving"
something.

I've tried fiddling with "aumix-minimal -d /dev/mixer1" which should
control the output levels on the TV card, but it doesn't.

I've tried fudging the channel frequency up and down in 0.1mHz increments
without success.

I've tried mencoder's "-tv" "volume" option which I hoped would control
the output level, but it doesn't.

How can I get sound from dsp2?

How can I get "clean" sound from dsp3?

Any clues will be greatly appreciated :)

Here's some more (relevant?) details:

uname -r:

	2.4.19

mencoder command line using "dsp3:"

	/usr/local/bin/mencoder -endpos 60 -o t.avi -oac mp3lame\
		-lameopts cbr:br=48 -ovc lavc\
		-lavcopts keyint=300:vcodec=mpeg4:vhq:vqmax=31:vbitrate=500\
		-sws 1 -vop scale=352:240,pp=tn/lb,crop=704:480:0:0\
		-tv adevice=/dev/dsp3\
		-tv chanlist=us-cable\
		-tv channel=10\
		-tv device=/dev/video0\
		-tv driver=v4l\
		-tv norm=NTSC\
		-tv on\
		-tv width=704:height=480\
		-sws 1\
		-vop scale=352:240,pp=tn/lb,crop=704:480:0:0

/etc/modules.conf:
	#
	# i2c
	alias char-major-89	i2c-dev
	options i2c-core	i2c_debug=1
	options i2c-algo-bit	bit_test=1
	#
	# bttv
	alias char-major-81	videodev
	alias char-major-81-0	bttv
	options	bttv		autoload=1 card=2 radio=0 tuner=2
	options	tuner		debug=1
	options tvmixer		debug=1 devnr=1
	options btaudio		debug-2
	#
	alias sound-slot-1 btaudio

dmesg output:

	Linux video capture interface: v1.00
	i2c-core.o: i2c core module
	i2c-algo-bit.o: i2c bit algorithm module
	bttv: driver version 0.7.91 loaded
	bttv: using 2 buffers with 2080k (4160k total) for capture
	bttv: Host bridge is VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
	bttv: Host bridge is VIA Technologies, Inc. VT82C596 Power Management
	bttv: Bt8xx card found (0).
	PCI: Enabling device 00:0b.0 (0004 -> 0006)
	PCI: Assigned IRQ 9 for device 00:0b.0
	PCI: Sharing IRQ 9 with 00:0b.1
	bttv0: Bt878 (rev 17) at 00:0b.0, irq: 9, latency: 32, memory: 0xe1000000
	bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
	bttv0: using: BT878(Hauppauge (bt848)) [card=2,insmod option]
	bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
	i2c-algo-bit.o: Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
	i2c-algo-bit.o:1 scl: 1  sda: 0
	i2c-algo-bit.o:2 scl: 1  sda: 1
	i2c-algo-bit.o:3 scl: 0  sda: 1
	i2c-algo-bit.o:4 scl: 1  sda: 1
	i2c-algo-bit.o: bt848 #0 passed test.
	i2c-core.o: adapter bt848 #0 registered as adapter 0.
	bttv0: Hauppauge eeprom: model=38101, tuner=Philips FI1236 MK2 (2), radio=no
	bttv0: i2c: checking for MSP34xx @ 0x80... not found
	bttv0: i2c: checking for TDA9875 @ 0xb0... not found
	bttv0: i2c: checking for TDA7432 @ 0x8a... not found
	tvaudio: TV audio decoder + audio/video mux driver
	tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea642
	0,tda8425,pic16c54 (PV951)
	i2c-core.o: driver generic i2c audio driver registered.
	i2c-core.o: driver i2c TV tuner driver registered.
	tuner: probing bt848 #0 i2c adapter [id=0x10005]
	tuner: chip found @ 0xc2
	tuner: type set to 2 (Philips NTSC)
	bttv0: i2c attach [client=Philips NTSC,ok]
	i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 0).
	bttv0: registered device video0
	bttv0: registered device vbi0
	tuner: tv freq set to 139.25
	btaudio: driver version 0.6 loaded [digital+analog]
	PCI: Found IRQ 9 for device 00:0b.1
	PCI: Sharing IRQ 9 with 00:0b.0
	btaudio: Bt878 (rev 17) at 00:0b.1, irq: 9, latency: 32, memory: 0xe0800000
	btaudio: registered device dsp2 [digital]
	btaudio: registered device dsp3 [analog]
	btaudio: registered device mixer1
	tuner: tv freq set to 193.25

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards    redhat.com@xxxxxxxxxxxx      Voice: +1-760-468-3867 PST





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux