Hi.
I have Debian etch (stock Debian kernel 2.6.12-1-686) installed on a p2 350 mhz.
The box has a pvr-350 card. ivtv driver 0.4.2, latest firmware.
What I'm trying to do is to stream from the pvr card, using the svideo input.
Picture works fine, no problems, but i cant get audio in the stream.
cat /dev/video0 > test.mpeg gives me an video file without audio.
mplayer detects audio track, but no sound. (see below)
audio is connected in line-in jack.
Can anyone point me in the right direction, there must be something i
have overseen?
I think I'm blind to this problem.. :-)
Thanks!
===============================================================
mplayer test.mpeg -vo x11
<snipp>
Playing test.mpeg.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9600.0 kbps (1200.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
<snipp>
dmesg:
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.2 (tagged release) loading
ivtv: Linux version: 2.6.12-1-686 686 gcc-4.0
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
PCI: Found IRQ 3 for device 0000:00:09.0
PCI: Sharing IRQ 3 with 0000:00:04.2
msp3400 1-0040: ivtv driver
msp3400 1-0040: chip=MSP4418G-B3 +nicam +simple +simpler +radio mode=simpler
ivtv0: i2c attach to card #0 ok [client=MSP4418G-B3, addr=40]
msp3400 1-0040: msp34xxg daemon started
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 8234588
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom =
0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = MSP4418 (type = 19)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 1-0021: ivtv driver
saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 1-0044: ivtv driver
saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Decoder revision: 0x02020023
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Create decoder VOUT stream
ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv
i2c driver #0
ivtv0: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
ik-kli-videolan:~# ivtvctl -a
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 0
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 8000000
bitrate_peak: 9600000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 0
framespergop: 12
gop_closure : 1
pulldown : 0
stream_type : 14
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 350
Bus info : 0000:00:09.0
Driver version: 1026
Capabilities : 0x010700F3
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 1
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 2
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : Composite 3
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : Tuner 0
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000000000FF ( PAL )
Status : 0
Input : 5
Name : Composite 4
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 6
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 7
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 8
Name : S-Video 2
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 9
Name : S-Video 3
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 6
ioctl: VIDIOC_ENUMOUTPUT
Output : 0
Name : S-Video + Composite
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Output : 1
Name : Composite
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Output : 2
Name : S-Video
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Output : 3
Name : RGB
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Output : 4
Name : YUV C
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Output : 5
Name : YUV V
Type : 0x00000002
Audioset: 0x00000001
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
ioctl VIDIOC_G_OUTPUT ok
Output = 0
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line In
ioctl VIDIOC_G_AUDIO ok
Audio input = 1: Audio Line In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 6400
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 58880
Mute = 0
lsmod:
Module Size Used by
tda9887 17112 0
saa7127 14204 0
saa7115 17560 0
tuner 25160 0
tveeprom 14644 0
ivtv 222996 1
wm8775 7124 0
cx25840 30424 0
msp3400 36776 0
ipv6 261984 12
af_packet 22216 2
uhci_hcd 32176 0
firmware_class 10112 2 ivtv,cx25840
i2c_algo_bit 9576 1 ivtv
usbcore 122300 2 uhci_hcd
i2c_piix4 8656 0
videodev 9568 2 ivtv
3c59x 41064 0
mii 5696 1 3c59x
i2c_core 21776 11
tda9887,saa7127,saa7115,tuner,tveeprom,ivtv,wm8775,cx25840,msp3400,i2c_algo_bit,i2c_piix4
pci_hotplug 28468 0
ns558 5476 0
gameport 15208 2 ns558
pcspkr 3332 0
intel_agp 24092 1
agpgart 35560 1 intel_agp
joydev 10144 0
evdev 9728 0
mousedev 11776 0
psmouse 31236 0
serio_raw 7108 0
rtc 12376 0
ide_cd 43140 0
cdrom 40640 1 ide_cd
parport_pc 36708 0
parport 36936 1 parport_pc
floppy 60180 0
ext3 141736 1
jbd 56760 1 ext3
mbcache 9252 1 ext3
ide_disk 18688 3
ide_generic 1152 0 [permanent]
via82cxxx 13820 0 [permanent]
trm290 4196 0 [permanent]
triflex 3680 0 [permanent]
slc90e66 5664 0 [permanent]
sis5513 16488 0 [permanent]
siimage 12448 0 [permanent]
serverworks 9032 0 [permanent]
sc1200 7296 0 [permanent]
rz1000 2400 0 [permanent]
piix 10340 0 [permanent]
pdc202xx_old 11168 0 [permanent]
opti621 4324 0 [permanent]
ns87415 4264 0 [permanent]
hpt366 20384 0 [permanent]
hpt34x 5152 0 [permanent]
generic 3808 0 [permanent]
cy82c693 4676 0 [permanent]
cs5530 5312 0 [permanent]
cs5520 4544 0 [permanent]
cmd64x 12028 0 [permanent]
atiixp 5904 0 [permanent]
amd74xx 14396 0 [permanent]
alim15x3 12268 0 [permanent]
aec62xx 7360 0 [permanent]
pdc202xx_new 9248 0 [permanent]
ide_core 130388 28
ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix 27888 12
fbcon 39936 0
tileblit 2240 1 fbcon
font 8096 1 fbcon
bitblit 5920 1 fbcon
vesafb 7992 0
cfbcopyarea 3872 1 vesafb
cfbimgblt 2816 1 vesafb
cfbfillrect 4128 1 vesafb
softcursor 2176 1 vesafb
capability 4584 0
commoncap 6912 1 capability
md5sum:
d85cb08382395390dc95ac6ebc2205f9 ivtv-fw-enc.bin
305dba74bbe5905447add8883f3ecb68 v4l-cx2341x-dec.fw
5f5fa240ada73c3565f5f7de4c7b5138 v4l-cx2341x-enc.fw
0661f8b2693fe3123e6234557353eacc v4l-cx2341x-init.mpg
3a4803384f749d644ee1f1ca9dcb12fa v4l-cx25840.fw
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users