System: Athlon XP, Kernel 2.4.20, lavrec and zoran from CVS this weekend I have a NTSC VHS tape being played on a VCR which claims to convert the signal to PAL before sending it out on its composite video port. The bottom 90 or so lines are black to make up for the difference between PAL and NTSC.
This appears to be correct as in xawtv with a dc10plus, I can see the picture with colour when it is in PAL mode, and the bottom 90 lines are black. So far so good. I then try to record with: lavrec -s -n 48 -r 48000 -d 1 --format=a --input=p --time=7500 test%02d.avi and I get: ++ WARN: [lt-lavrec] Closing file(s) and exiting - output file(s) my not be readable due to error **ERROR: [lt-lavrec] Error syncing on a buffer: Timer expired **ERROR: [lt-lavrec] Error writing to output file test01.avi: Internal: broken JPEG format ++ WARN: [lt-lavrec] Closing file(s) and exiting - output file(s) my not be readable due to error ++ WARN: [lt-lavrec] Closing file(s) and exiting - output file(s) my not be readable due to error **ERROR: [lt-lavrec] Error re-queuing buffer: Device or resource busy 0.00.00:00 int:998 lst: 0 ins: 0 del: 0 ae: 0 td1=0.000 td2=0.000 Sometimes it will record for a while and then stop. When it is recording it shows an "int" value in the status line of 33 indicating an NTSC source, so is it possible it is just getting confused with a PAL signal at a NTSC frame rate? I compiled zoran.c with debug=3 and here is the contents of /var/log/messages Jun 9 01:09:17 bollox kernel: i2c: initialized Jun 9 01:09:21 bollox su[2079]: + ttyp0 root-root Jun 9 01:09:26 bollox kernel: i2c: initialized Jun 9 01:09:27 bollox kernel: Zoran ZR36060 + ZR36057/67 MJPEG board driver version 0.9 Jun 9 01:09:27 bollox kernel: PCI: Found IRQ 10 for device 00:0a.0 Jun 9 01:09:27 bollox kernel: PCI: Sharing IRQ 10 with 00:0e.0 Jun 9 01:09:27 bollox kernel: MJPEG[0]: Zoran ZR36067 (rev 2) irq: 10, memory: 0xdd000000 Jun 9 01:09:27 bollox kernel: MJPEG[0]: subsystem vendor=0x1031 id=0x7efe Jun 9 01:09:27 bollox kernel: MJPEG[0]: Initializing i2c bus... Jun 9 01:09:27 bollox kernel: saa7110_attach: SAA7110A version 1 at 0x9c, status=0xd0 Jun 9 01:09:27 bollox kernel: adv7176_attach: adv7176 rev. 1 at 0x56 Jun 9 01:09:27 bollox kernel: DC10plus[0] card detected Jun 9 01:09:27 bollox kernel: DC10plus[0]: Zoran ZR36060 (rev 1) Jun 9 01:09:27 bollox kernel: MJPEG: 1 card(s) found Jun 9 01:09:27 bollox kernel: MJPEG: using 2 V4L buffers of size 128 KB Jun 9 01:09:27 bollox kernel: DC10plus[0]: Initializing card[0], zr=ce9436e0 Jun 9 01:09:28 bollox kernel: DC10plus[0]: enable_jpg IDLE Jun 9 01:09:28 bollox kernel: DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x10 Jun 9 01:09:28 bollox kernel: DC10plus[0]: Detecting guests activity, please wait... Jun 9 01:09:28 bollox kernel: DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x10 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 9154: 7 => 0x12 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 412: 7 => 0x11 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 19599: 7 => 0x13 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 413: 7 => 0x10 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 19583: 7 => 0x12 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 413: 7 => 0x11 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 19582: 7 => 0x13 Jun 9 01:09:28 bollox kernel: DC10plus[0]: 413: 7 => 0x10 Jun 9 01:09:29 bollox kernel: DC10plus[0]: Testing interrupts... Jun 9 01:09:29 bollox kernel: DC10plus[0]: interrupts received: GIRQ1:50 queue_state=0/0/0/0 Jun 9 01:09:29 bollox kernel: DC10plus[0]: procfs entry /proc/zoran0 allocated. data=ce9436e0 Jun 9 01:11:18 bollox kernel: DC10plus[0]: zoran_open, lt-lavrec pid=[2120] Jun 9 01:11:18 bollox kernel: DC10plus[0]: V4L frame 0 mem 0xc48c0000 (bus: 0x48c0000) Jun 9 01:11:18 bollox kernel: DC10plus[0]: V4L frame 1 mem 0xc3c20000 (bus: 0x3c20000) Jun 9 01:11:18 bollox kernel: DC10plus[0]: enable_jpg IDLE Jun 9 01:11:18 bollox kernel: DC10plus[0]: mmap at 0x403ec000, size 12582912 Jun 9 01:11:18 bollox kernel: DC10plus[0]: enable_jpg MOTION_COMPRESS Jun 9 01:11:18 bollox kernel: DC10plus[0]: first frame ready: state=0x08000000 odd_even=1 field_per_buff=2 delay=8 Jun 9 01:11:18 bollox kernel: DC10plus[0]: stat_com=1000 queue_state=0/0/4/48 Jun 9 01:11:19 bollox kernel: DC10plus[0]: Restart Jun 9 01:11:22 bollox last message repeated 7 times Jun 9 01:11:29 bollox kernel: DC10plus[0]: enable_jpg IDLE Jun 9 01:11:29 bollox kernel: DC10plus[0]: zoran_close, lt-lavrec pid=[2120] Jun 9 01:11:29 bollox kernel: DC10plus[0]: enable_jpg IDLE Jun 9 01:11:29 bollox kernel: DC10plus[0]: interrupts received: GIRQ1:642 JPEGRepIRQ:12 JPEG delays: max=3 min=1 queue_state=12/12/16/60 Jun 9 01:11:29 bollox kernel: DC10plus[0]: zoran_close done -- Scott ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users