Hello,

I try to record from my DC10(new) card, but that does not work.

Here is the syntax I use:
lavrec -R l -U -v 2 -f a -i S -d 2 -l -1 record%02d.avi

I get the following error message:
INFO: [lavrec] Recording parameters:
INFO: [lavrec] Output format:      AVI
INFO: [lavrec] Input Source:       S-Video SECAM
INFO: [lavrec] Decimation:         2
INFO: [lavrec] Quality:            50
INFO: [lavrec] Recording time:     -1 sec
INFO: [lavrec]  
INFO: [lavrec] MJPEG buffer size:  256 KB
INFO: [lavrec] # of MJPEG buffers: 64
INFO: [lavrec] Audio parameters:
INFO: [lavrec] Audio sample size: 16 bit
INFO: [lavrec] Audio sampling rate: 44100 Hz
INFO: [lavrec] Audio is MONO
INFO: [lavrec] Audio input recording level: Use mixer setting
INFO: [lavrec] Level of correction for Audio/Video synchronization:
INFO: [lavrec] Lost frame compensation and frame drop/insert
--DEBUG: [lavrec] Maximum size per file will be 4193280 MB
INFO: [lavrec] Using read(2) system call for capture
INFO: [lavrec] Auto detecting input and norm ...
**ERROR: [lavrec] Error getting channel info: Invalid argument
++ WARN: [lavrec] Not ready for capture (state = 0)!
Erreur de segmentation

I tried, tried and tried again, but I still get that error "Error
getting channel info: Invalid argument" message. Do you have any clue
about what is happening? I googled, but I didn't find anything really
useful. I'm trying to grab from my zoran card, and I don't understand
why that message deals with channel.

Here is some information about my system:

Distribution: Debian SID
Kernel: 2.6.18 (SMP)
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+

/etc/modules:
videodev
i2c-core
i2c-algo-bit
videocodec
saa7110
adv7175
zr36060
zr36067

/etc/modules.conf:
alias char-major-81 zr36067
options zr36067 card=1 

I indeed have to load manually the zr36067 module after boot:
modprobe zr36067 card=1 debug=4

When that's done, here's what's written in /var/log/messages:
Oct  1 11:15:21 reno kernel: Zoran MJPEG board driver version 0.9.5
Oct  1 11:15:21 reno kernel: MJPEG[0]: Zoran ZR36057 (rev 1) irq: 18,
memory: 0xf9800000.
Oct  1 11:15:21 reno kernel: DC10(new)[0]: Changing PCI latency from 64
to 48.
Oct  1 11:15:21 reno kernel: DC10(new)[0]: Initializing i2c bus...
Oct  1 11:15:21 reno kernel: DC10(new)[0]: Initializing videocodec bus...
Oct  1 11:15:21 reno kernel: ZORAN: 1 card(s) found
Oct  1 11:15:21 reno kernel: DC10(new)[0]: zr36057_init() - initializing
card[0], zr=fb592f00
Oct  1 11:15:22 reno kernel: DC10(new)[0]: enable_jpg(IDLE)
Oct  1 11:15:22 reno kernel: DC10(new)[0]: Guests: 0x00 0x00 0x00 0x00
0x00 0x00 0x01
Oct  1 11:15:22 reno kernel: DC10(new)[0]: Detecting guests activity,
please wait...
Oct  1 11:15:22 reno kernel: DC10(new)[0]: Guests: 0x00 0x00 0x00 0x00
0x00 0x00 0x01
Oct  1 11:15:22 reno kernel: DC10(new)[0]:  13453: 7 => 0x03
Oct  1 11:15:22 reno kernel: DC10(new)[0]:    424: 7 => 0x00
Oct  1 11:15:22 reno kernel: DC10(new)[0]:  19586: 7 => 0x02
Oct  1 11:15:22 reno kernel: DC10(new)[0]:    404: 7 => 0x01
Oct  1 11:15:22 reno kernel: DC10(new)[0]:  19595: 7 => 0x03
Oct  1 11:15:22 reno kernel: DC10(new)[0]:    405: 7 => 0x00
Oct  1 11:15:22 reno kernel: DC10(new)[0]:  19584: 7 => 0x02
Oct  1 11:15:22 reno kernel: DC10(new)[0]:    419: 7 => 0x01
Oct  1 11:15:23 reno kernel: DC10(new)[0]: interrupts received: GIRQ1:51
queue_state=0/0/0/0
Oct  1 11:15:23 reno kernel: DC10(new)[0]: procfs entry /proc/zoran0
allocated. data=fb592f00

lspci -v extract:
00:09.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video
cutting chipset (rev 01)
Flags: bus master, fast devsel, latency 64, IRQ 18
Memory at f9800000 (32-bit, non-prefetchable) [size=4K]

Contents of /proc/interrupts:
CPU0       CPU1       
0:    2112219        878    IO-APIC-edge  timer
1:       5806          1    IO-APIC-edge  i8042
6:          2          1    IO-APIC-edge  floppy
8:          3          1    IO-APIC-edge  rtc
9:          0          0   IO-APIC-level  acpi
12:      46535          1    IO-APIC-edge  i8042
14:        334          1    IO-APIC-edge  ide0
15:      32760          2    IO-APIC-edge  ide1
16:         65          5   IO-APIC-level
uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3,
uhci_hcd:usb4, ehci_hcd:usb5
18:     177646          1   IO-APIC-level
ohci1394, nvidia, DC10(new)[0]
19:      57101          1   IO-APIC-level
skge
20:        224          1   IO-APIC-level
aic7xxx
21:     210300          1   IO-APIC-level
cx88[0], cx88[0]
22:          0          0   IO-APIC-level
VIA8237
NMI:          0          0 
LOC:    2113077    2113104 
ERR:          0
MIS:          0

If anyone can help me, please...

Nicolas.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to