Hi,

I get error grabbing with lavrec (xawtv works ! and I have sound coming out the soundcard)

any tips ?

Thanks in advance

Thierry


[EMAIL PROTECTED] dev]$ lavrecord test1.avi
+ export LAV_VIDEO_DEV=/dev/video0
+ LAV_VIDEO_DEV=/dev/video0
+ export LAV_AUDIO_DEV=/dev/dsp
+ LAV_AUDIO_DEV=/dev/dsp
+ export LAV_MIXER_DEV=/dev/mixer
+ LAV_MIXER_DEV=/dev/mixer
+ lavrec -f AVI -i p -l -1 test1.avi (or lavrec -f AVI -i p test1.avi)
++ WARN: [lavrec] Sound card told us it's using rate 44191Hz instead of 44100Hz
++ WARN: [lavrec] Unable to set negative priority for audio thread.
++ WARN: [lavrec] Pthread Real-time scheduling for audio thread could not be enabled.
**ERROR: [lavrec] Unable to get audio - exiting ....


Recording time : 0.00.00:00
Lost frames : 000
A/V sync ins/del: 000/000
Audio errors : 000
++ WARN: [lavrec] We're not stopped yet, use lavrec_stop() first!


#========================================================================================================
I'm using
unified zoran driver cvs
mjpegtools-1.6.1.90
#========================================================================================================
dmesg


EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
Adding Swap: 152608k swap-space (priority -1)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: ESS ES1868 Plug and Play AudioDrive detected
sb: ISAPnP reports 'ESS ES1868 Plug and Play AudioDrive' at i/o 0x220, irq 5, dma 1, 3
SB 3.01 detected OK (220)
ESS chip ES1868 detected
<ESS ES1868 AudioDrive (rev 11) (3.01)> at 0x220 irq 5 dma 1,3
sb: ESS ES1868 Plug and Play AudioDrive detected
sb: Failed to initialize ESS ES1868 Plug and Play AudioDrive
sb: 1 Soundblaster PnP card(s) found.
PCI: Found IRQ 9 for device 00:0a.0
scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940 SCSI adapter>
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
.


.

Linux video capture interface: v1.00
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
Linux video codec intermediate layer: v0.2
i2c-core.o: driver vpx3220 registered.
i2c-core.o: driver adv7175 registered.
Zoran MJPEG board driver version 0.9.5
PCI: Found IRQ 9 for device 00:09.0
PCI: Sharing IRQ 9 with 00:07.2
MJPEG[0]: Zoran ZR36057 (rev 1) irq: 9, memory: 0xeb001000.
DC30plus[0]: Changing PCI latency from 32 to 48.
DC30plus[0]: Initializing i2c bus...
i2c: initialized
DC30plus[0]: i2c_client_register() - driver id = 42
i2c-core.o: client [vpx3220a[0]] registered to adapter [DC30plus[0]](pos. 0).
DC30plus[0]: i2c_client_register() - driver id = 48
i2c-core.o: client [adv7176[0]] registered to adapter [DC30plus[0]](pos. 1).
i2c-core.o: adapter DC30plus[0] registered as adapter 0.
DC30plus[0]: Initializing videocodec bus...
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x85008888
ZORAN: 1 card(s) found
DC30plus[0]: ZR36057/Natoma bug, max. buffer size is 128K
DC30plus[0]: zr36057_init() - initializing card[0], zr=e8940580
DC30plus[0]: dc10_init()
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x23008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x27008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2f008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: Guests: 0x00 0x21 0x21 0x00 0x00 0x00 0x01
DC30plus[0]: Detecting guests activity, please wait...
DC30plus[0]: Guests: 0x00 0x21 0x21 0x3e 0x3e 0x3e 0x3d
DC30plus[0]: 16: 4 => 0xae
DC30plus[0]: 2: 5 => 0xae
DC30plus[0]: 1: 6 => 0xae
DC30plus[0]: 2: 7 => 0xa1
DC30plus[0]: 16: 4 => 0x5e
DC30plus[0]: 2: 5 => 0x5e
DC30plus[0]: 1: 6 => 0x5e
DC30plus[0]: 2: 7 => 0x51
DC30plus[0]: interrupts received: GIRQ1:50 GIRQ0:50 queue_state=0/0/0/0
DC30plus[0]: procfs entry /proc/zoran0 allocated. data=e8940580
DC30plus[0]: zoran_open(X, pid=[1373]), users(-)=0
DC30plus[0]: dc10_init()
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x21008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x25008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2d008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: VIDIOCGCAP
DC30plus[0]: VIDIOCGCHAN - channel=0
DC30plus[0]: VIDIOCGCHAN - channel=1
DC30plus[0]: VIDIOCGCHAN - channel=2
DC30plus[0]: VIDIOCGPICT
DC30plus[0]: VIDIOCSPICT - bri=32768, hue=32768, col=32768, con=32768, dep=16, pal=7
DC30plus[0]: VIDIOCGPICT
DC30plus[0]: UNKNOWN ioctl cmd: 0x80287610
DC30plus[0]: zoran_close(X, pid=[1373]), users(+)=1
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2f008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: GIRQ1:3 GIRQ0:3 queue_state=0/0/0/0
DC30plus[0]: zoran_open(lavrec, pid=[1475]), users(-)=0
DC30plus[0]: dc10_init()
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x21008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x25008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2d008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: VIDIOCSCHAN - channel=0, norm=0
DC30plus[0]: VIDIOCGCHAN - channel=0
DC30plus[0]: VIDIOCGCAP
DC30plus[0]: BUZIOC_G_PARAMS
DC30plus[0]: BUZIOC_S_PARAMS
DC30plus[0]: BUZIOC_REQBUFS - count=64, size=262144
DC30plus[0]: mmap(MJPEG) of 0x4041a000-0x4081a000 (size=4194304)
DC30plus[0]: munmap(MJPEG)
DC30plus[0]: zoran_close(lavrec, pid=[1475]), users(+)=1
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2f008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: GIRQ1:7 GIRQ0:7 queue_state=0/0/0/0
DC30plus[0]: zoran_open(lavrec, pid=[1481]), users(-)=0
DC30plus[0]: dc10_init()
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x21008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x25008888
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2d008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: VIDIOCSCHAN - channel=0, norm=0
DC30plus[0]: VIDIOCGCHAN - channel=0
DC30plus[0]: VIDIOCGCAP
DC30plus[0]: BUZIOC_G_PARAMS
DC30plus[0]: BUZIOC_S_PARAMS
DC30plus[0]: BUZIOC_REQBUFS - count=64, size=262144
DC30plus[0]: mmap(MJPEG) of 0x4041a000-0x4081a000 (size=4194304)
DC30plus[0]: munmap(MJPEG)
DC30plus[0]: zoran_close(lavrec, pid=[1481]), users(+)=1
DC30plus[0]: jpeg_codec_sleep() - wake GPIO=0x2f008888
DC30plus[0]: jpeg_codec_sleep() - sleep GPIO=0x2b008888
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: GIRQ1:5 GIRQ0:5 queue_state=0/0/0/0


#========================================================================================================
cat /proc/isapnp


Card 1 'ESS1868:ESS ES1868 Plug and Play AudioDrive' PnP version 1.0 Product version 1.0
Logical device 0 'ESS0000:Unknown'
Device is not active
Resources 0
Priority preferred
Port 0x800-0xff8, align 0x7, size 0x8, 16-bit address decoding
Logical device 1 'ESS1868:Unknown'
Device is active
Active port 0x220,0x388,0x330
Active IRQ 5 [0x2]
Active DMA 1,3
Resources 0
Priority preferred
Port 0x220-0x220, align 0x0, size 0x10, 10-bit address decoding
Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
Port 0x330-0x330, align 0x0, size 0x2, 10-bit address decoding
IRQ 5 High-Edge
DMA 1 8-bit byte-count compatible
DMA 0,3 8-bit byte-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10 High-Edge
DMA 1 8-bit byte-count compatible
DMA 0,3 8-bit byte-count compatible
Alternate resources 0:2
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10,11,12 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:3
Priority acceptable
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
Port 0x800-0xffe, align 0x1, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10,11,12 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 0,1,3 8-bit byte-count compatible
Alternate resources 0:4
Priority functional
Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
Port 0x800-0xffc, align 0x3, size 0x4, 16-bit address decoding
Port 0x800-0xffe, align 0x1, size 0x2, 16-bit address decoding
IRQ 5,7,2/9,10,11,12 High-Edge
DMA 0,1,3 8-bit byte-count compatible
DMA 0,1,3 8-bit byte-count compatible
Logical device 2 'ESS0001:Unknown'
Compatible device PNPb02f
Device is not active
Resources 0
Priority preferred
Port 0x201-0x201, align 0x0, size 0x1, 10-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x200-0x20f, align 0x0, size 0x1, 16-bit address decoding
Logical device 3 'ESS0002:Unknown'
Compatible device PNP0600
Device is not active
Resources 0
Priority preferred
Port 0x168-0x168, align 0x0, size 0x8, 10-bit address decoding
Port 0x36e-0x36e, align 0x0, size 0x2, 10-bit address decoding
IRQ 12 High-Edge
Alternate resources 0:1
Priority acceptable
Port 0x168-0x168, align 0x0, size 0x8, 10-bit address decoding
Port 0x36e-0x36e, align 0x0, size 0x2, 10-bit address decoding
IRQ 10,11 High-Edge
Alternate resources 0:2
Priority acceptable
Port 0x1e8-0x1e8, align 0x0, size 0x8, 10-bit address decoding
Port 0x3ee-0x3ee, align 0x0, size 0x2, 10-bit address decoding
IRQ 10,11,12 High-Edge
Alternate resources 0:3
Priority functional
Port 0x100-0x1f8, align 0x7, size 0x8, 16-bit address decoding
Port 0x300-0x3fe, align 0x1, size 0x2, 16-bit address decoding
IRQ 10,11,12 High-Edge


--
Best regards

Thierry SALMON

e-mail : [EMAIL PROTECTED]

Could you confirm reception of the message by replying e-mail
******************************************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.
Neither The Sender nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
******************************************************************************************************






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to