Hello all.

I apologize if this subject has been beaten to death before, but I can't seem 
to find the answers I'm looking for in the archives.

I recently got a miroVIDEO DC30plus to replace my low quality bt878 card and so 
far it doesn't work in Linux (unlike the available onlinen resources would have 
me believe).  The best I've gotten is a very small, ugly looking 1/4 scale 
window in XawTV using overlay (trying to resize it really messes it up).

In case it matters (like you may be shocked that I have a motherboard with the 
un-holy VIA chips on them) the card works great in Windows (no skipped frames 
while recording full size/full frame rate video and audio while displaying full 
size overlay preview and doing other tasks).  Is the whole VIA chipset thing a 
problem with the Zoran based cards or is it just a problem with Linux?  I ask 
this for the reason that the card does work great in Windows.

Also, is there a reason the Linux driver is limited to 640x480 for NTSC video 
captures (assuming I can ever get it to capture something)?  The Windows 
capture utility that comes with the card can do 704x480.

Here's some information that may be helpful.

Thank you very much for any help that you can give.
- Peter Federighi

Motherboard    Asus A7V-133
RAM    512MB (set to "mem=496M" on loadlin command line)

Linux    2.6.18
GCC    3.4.6
mjpegtools    1.8.0

Dmesg output of "modprobe zr36067 v4l_bufsize=512 card=4 v4l_nbufs=32 debug=2"
--------
Linux video capture interface: v2.00
Linux video codec intermediate layer: v0.2
Zoran MJPEG board driver version 0.9.5
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> 
IRQ 10
MJPEG[0]: Zoran ZR36057 (rev 1) irq: 10, memory: 0xd6800000.
DC30plus[0]: Initializing i2c bus...
DC30plus[0]: i2c_client_register() - driver id = 42
DC30plus[0]: i2c_client_register() - driver id = 48
DC30plus[0]: Initializing videocodec bus...
ZORAN: 1 card(s) found
DC30plus[0]: zr36057_init() - initializing card[0], zr=dfc07700
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: GIRQ1:48 GIRQ0:48 queue_state=0/0/0/0
DC30plus[0]: procfs entry /proc/zoran0 allocated. data=dfc07700

Output of "cat /proc/interrupts"
--------
  0:      88441          XT-PIC  timer
  1:       1666          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:       6218          XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, EMU10K1
  4:      28337          XT-PIC  serial
  6:          2          XT-PIC  floppy
  7:         21          XT-PIC  parport0
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  acpi
 10:         96          XT-PIC  DC30plus[0]
 11:       6325          XT-PIC  ide2
 12:      26278          XT-PIC  [EMAIL PROTECTED]:0000:01:00.0
 14:         13          XT-PIC  ide0
 15:         13          XT-PIC  ide1
NMI:          0 
LOC:      88422 
ERR:          6
MIS:          0

Output of "lspci"
--------
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 
40)
00:04.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master 
IDE (rev 06)
00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:04.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:0a.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video cutting 
chipset (rev 01)
00:0b.0 Unknown mass storage controller: Promise Technology, Inc. 20269 (rev 02)
00:11.0 Unknown mass storage controller: Promise Technology, Inc. 20265 (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 
64 DDR]

Output of "xawtv" with attempt to resize the window followed by dmesg output
--------
This is xawtv-3.95, running on Linux/i686 (2.6.18)
v4l2: oops: select timeout

DC30plus[0]: zoran_open(v4l-conf, pid=[5950]), users(-)=0
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: zoran_close(v4l-conf, pid=[5950]), users(+)=1
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: queue_state=0/0/0/0: no interrupts detected.
DC30plus[0]: zoran_open(xawtv, pid=[5949]), users(-)=0
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: UNKNOWN ioctl cmd: 0x80585600
DC30plus[0]: zoran_close(xawtv, pid=[5949]), users(+)=1
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: queue_state=0/0/0/0: no interrupts detected.
DC30plus[0]: zoran_open(xawtv, pid=[5949]), users(-)=0
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: UNKNOWN ioctl cmd: 0xc0cc5615
DC30plus[0]: set_vfe() - width = 384, height = 288
[ line repeated 19 more times ]
DC30plus[0]: set_vfe() - width = 416, height = 312
[ line repeated 50 more times ]
DC30plus[0]: set_vfe() - width = 448, height = 336
[ line repeated 62 more times ]
DC30plus[0]: set_vfe() - width = 480, height = 360
[line repeated 12 more times ]
DC30plus[0]: v4l_set_format() - video buffer size (512 kB) is too small
DC30plus[0]: set_vfe() - width = 480, height = 360
DC30plus[0]: zoran_close(xawtv, pid=[5961]), users(+)=1
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: GIRQ1:299 GIRQ0:299 queue_state=0/0/0/0

Output of "lavrec -f a -i n -g 640x480+0+0 -q 80 -v 2 -d 1 -s -b 512 test.avi" 
followed with dmesg output
--------
   INFO: [lavrec] Recording parameters:
   INFO: [lavrec] Output format:      AVI
   INFO: [lavrec] Input Source:       Composite NTSC

   INFO: [lavrec] Decimation:         1
   INFO: [lavrec] Quality:            80
   INFO: [lavrec] Recording time:     -1 sec
   INFO: [lavrec]  
   INFO: [lavrec] MJPEG buffer size:  512 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 STEREO
   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 1739 MB
   INFO: [lavrec] Using mmap(2) system call for capture
   INFO: [lavrec] Auto detecting input and norm ...
   INFO: [lavrec] Image size will be 640x480, 2 field(s) per buffer
   INFO: [lavrec] Got 32 buffers of size 512 KB
   INFO: [lavrec] Getting audio ...
--DEBUG: [lavrec] Queueing frame 0
--DEBUG: [lavrec] Queueing frame 1
--DEBUG: [lavrec] Queueing frame 2
--DEBUG: [lavrec] Queueing frame 3
--DEBUG: [lavrec] Queueing frame 4
--DEBUG: [lavrec] Queueing frame 5
--DEBUG: [lavrec] Queueing frame 6
--DEBUG: [lavrec] Queueing frame 7
--DEBUG: [lavrec] Queueing frame 8
--DEBUG: [lavrec] Queueing frame 9
--DEBUG: [lavrec] Queueing frame 10
--DEBUG: [lavrec] Queueing frame 11
--DEBUG: [lavrec] Queueing frame 12
--DEBUG: [lavrec] Queueing frame 13
--DEBUG: [lavrec] Queueing frame 14
--DEBUG: [lavrec] Queueing frame 15
--DEBUG: [lavrec] Queueing frame 16
--DEBUG: [lavrec] Queueing frame 17
--DEBUG: [lavrec] Queueing frame 18
--DEBUG: [lavrec] Queueing frame 19
--DEBUG: [lavrec] Queueing frame 20
--DEBUG: [lavrec] Queueing frame 21
--DEBUG: [lavrec] Queueing frame 22
--DEBUG: [lavrec] Queueing frame 23
--DEBUG: [lavrec] Queueing frame 24
--DEBUG: [lavrec] Queueing frame 25
--DEBUG: [lavrec] Queueing frame 26
--DEBUG: [lavrec] Queueing frame 27
--DEBUG: [lavrec] Queueing frame 28
--DEBUG: [lavrec] Queueing frame 29
--DEBUG: [lavrec] Queueing frame 30
--DEBUG: [lavrec] Queueing frame 31
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be 
readable due to error
**ERROR: [lavrec] Error syncing on a buffer: Timer expired
   INFO: [lavrec] Opening output file test.avi
**ERROR: [lavrec] Error writing to output file test.avi: Internal: broken JPEG 
format
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be 
readable due to error
--DEBUG: [lavrec] Queueing frame 4294967295
0.00.00:00 int:999 lst:  0 ins:  0 del:  0 ae:  0 td1=0.000 td2=0.000
**ERROR: [lavrec] Error resetting buffer-queue: Invalid argument

Recording time  :  0.00.00:00
Lost frames     : 000
A/V sync ins/del: 000/000
Audio errors    : 000
Deleting quicktime codecs

DC30plus[0]: zoran_open(lavrec, pid=[6009]), users(-)=0
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: enable_jpg(MOTION_COMPRESS)
DC30plus[0]: jpg_sync() - timeout: codec isr=0x18
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: jpg_qbuf() - stop streaming but not in streaming mode
DC30plus[0]: zoran_close(lavrec, pid=[6009]), users(+)=1
DC30plus[0]: enable_jpg(IDLE)
DC30plus[0]: interrupts received: queue_state=0/0/4/32: no interrupts detected.







-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to