uname -a OpenBSD localhost 4.6 GENERIC#58 i386I Install video capture card (HW-104 http://www.shocker.ru/14/20.html) into my PC with OpenBSD 4.6
Some dmesg: bktr0 at pci0 dev 10 function 0 "Brooktree BT878" rev 0x11: irq 11 bktr0: Warning - card vendor 0x0000 (model 0x0000) unknown. bktr0: Detected a dpl3...@-@0 at 0x84bktr0: Intel Smart Video III/VideoLogic Captivator PCI, <no> tuner, dpl3518a dolby.
And I can record video: BKTR_DEV=0 /usr/local/bin/ffmpeg \ -y -tvstd pal -r 15 -s 768x576 -deinterlace -isync \ -f bktr -i /dev/bktr0 \ -s 768x576 -an -vcodec mpeg4 -b 400k \ $OUT_FOLDER/video_`date +%Y-%m-%d_%H-%M-%S`.avi -v 1 -fs 5000000 It Woking fine, but, IF set BKTR_DEV=0, I can rec from number 2 phisical input of card IF set BKTR_DEV=1, I can rec from number 1 phisical input of card IF set BKTR_DEV=2, I can rec from number 3 phisical input of card IF set BKTR_DEV=3, I can rec from number 4 phisical input of card If I run 2 ffmpeg process , I get "Error - Device is busy"? Error of ffmpeg: /dev/bktr0: Device busy Usually that means that input file is truncated and/or corrupted. How I can rec 4 video stream from this card parallel (simultaneously) ? BKTR_DEV=0,1 /usr/local/bin/ffmpeg \ -y -tvstd pal -r 15 -s 768x576 -deinterlace -isync \ -f bktr -i /dev/bktr0 \ -s 768x576 -an -vcodec mpeg4 -b 400k \ $OUT_FOLDER/video_`date +%Y-%m-%d_%H-%M-%S`.avi -v 1 -fs 5000000 \ -an http://127.0.0.1:8090/feed1.ffm > /dev/null 2>&1 Not Work (((((( Thanks OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD K7 processor ("AuthenticAMD" 686-class, 512KB L2 cache) 2.01 GHzcpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 535248896 (510MB) avail mem = 509116416 (485MB) mainbus0 at rootbios0 at mainbus0: AT/286+ BIOS, date 08/11/04, BIOS32 rev. 0 @ 0xfba30, SMBIOS rev. 2.2 @ 0xf0000 (37 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 08/11/2004 bios0: VIA Technologies, Inc. KT600-8237 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 0% apm0: AC off, battery charge unknown, estimated 0:00 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf64 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/224 (12 entries) pcibios0: PCI Exclusive IRQs: 5 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xf800 0xd0000/0x4800 0xd5000/0x4400! cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe8000000, size 0xf000000 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5200" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) bktr0 at pci0 dev 10 function 0 "Brooktree BT878" rev 0x11: irq 11 bktr0: Warning - card vendor 0x0000 (model 0x0000) unknown. bktr0: Detected a dpl3...@-@0 at 0x84bktr0: Intel Smart Video III/VideoLogic Captivator PCI, <no> tuner, dpl3518a dolby.
"Brooktree BT878 Audio" rev 0x11 at pci0 dev 10 function 1 not configuredpciide0 at pci0 dev 11 function 0 "CMD Technology SiI3512 SATA" rev 0x01: DMA
pciide0: using irq 11 for native-PCI interrupt pciide0: port 0: device present, speed: 1.5Gb/s wd0 at pciide0 channel 0 drive 0: <WDC WD10EADS-00L5B1> wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:e0:4d:02:ca:4a
rlphy0 at rl0 phy 0: RTL internal PHY pciide1 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA pciide1: using irq 5 for native-PCI interrupt wd1 at pciide1 channel 1 drive 0: <ST3500410AS> wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility
wd2 at pciide2 channel 0 drive 0: <MAXTOR 6L040J2> wd2: 16-sector PIO, LBA, 38172MB, 78177792 sectors wd3 at pciide2 channel 0 drive 1: <Maxtor 2F030L0> wd3: 16-sector PIO, LBA, 29324MB, 60056543 sectors wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6 wd3(pciide2:0:1): using PIO mode 4, Ultra-DMA mode 6 pciide2: channel 1 disabled (no drives) uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 5 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 5 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 5 uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 5 ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC3200CL3.0 auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 11 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auvia0vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 5, address 00:04:61:50:59:8f ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, model 0x0032
usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 isa0 at mainbus0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12 lm1 at wbsio0 port 0x290/8: W83697HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ff65 netmask ff65 ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on wd2a swap on wd2b dump on wd2b kqemu: kqemu version 0x00010300 loaded, max locked mem=261352kB wsdisplay0: screen 1 deleted wsdisplay0: screen 1 added (80x50, vt100 emulation)
<<attachment: 20(1).jpg>>