Ronald Bultje wrote:
Hi Thierry,

On Wed, 2003-10-08 at 08:31, Thierry Salmon wrote:
  
I get error grabbing with lavrec (xawtv works ! and I have sound coming 
out the soundcard)
    

Try --use-read. It usually comes down to semi-implemented drivers that
don't support mmap() (or they crash when you use that).

Ronald

  
Thanks Ronald for you tips but, same problem

Thierry

[EMAIL PROTECTED] dev]$ lavrecord test3.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 --use-read test3.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!
                                                                                                                                                                
                                                                                                                                                                
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
                                                                                                                                                                
                                                                                                                                                                
                                                                                                                                                                
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]:     21: 4 => 0xae
DC30plus[0]:      1: 5 => 0xae
DC30plus[0]:      2: 6 => 0xae
DC30plus[0]:      1: 7 => 0xa1
DC30plus[0]:     17: 4 => 0x5e
DC30plus[0]:      1: 5 => 0x5e
DC30plus[0]:      2: 6 => 0x5e
DC30plus[0]:      1: 7 => 0x51
DC30plus[0]: interrupts received: GIRQ1:50 GIRQ0:50 queue_state=0/0/0/0
DC30plus[0]: procfs entry /proc/zoran0 allocated. data=""> DC30plus[0]: zoran_open(X, pid=[1371]), 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=[1371]), 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:2 GIRQ0:2 queue_state=0/0/0/0
DC30plus[0]: zoran_open(lavrec, pid=[1468]), 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=[1468]), 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:10 GIRQ0:10 queue_state=0/0/0/0

-- 
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.
******************************************************************************************************

Reply via email to