> > I suggest that a test for DC10 is done before > > the fix is applied. > > All fine, but I'd first like to see some test reports here. > We're talking about an untraceable bug if it shows up. > Particularly, I'd like to be 100% sure that the returned JPEG > images are indeed > 128 kB. So some more test reports before > I apply / send upstream would be much appreciated.
Test 1: lavrec -fa -iP -d1 -q100 -S -w -a0 -n32 -b128 -v1 d1_1f_b128.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: S-Video PAL INFO: [lavrec] Decimation: 1 INFO: [lavrec] Quality: 100 INFO: [lavrec] Recording time: -1 sec INFO: [lavrec] INFO: [lavrec] MJPEG buffer size: 128 KB INFO: [lavrec] # of MJPEG buffers: 32 INFO: [lavrec] Audio disabled INFO: [lavrec] Auto detecting input and norm ... INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer INFO: [lavrec] Got 4 buffers of size 128 KB ++ WARN: [lavrec] Unable to set negative priority for main thread ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be enabled Recording time : 0.00.00:01 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 -rw-r--r-- 1 hans users 116692 Aug 22 15:27 d1_1f_b128.avi VirtualDub 1.6.8 reports: Frame size, fps (us per frame): 768x576, 25.000 fps (400000 us) Length: 1 frames (0:00.04) Number of key frames: 1 Min/avg/max/total key frame size: 114612/114612/114612 (112K) Min/avg/max/total delta frame size: (no delta frames) Data rate: 22922 kbps (0.02% overhead) Test 2: lavrec -fa -iP -d1 -q100 -S -w -a0 -n32 -b512 -v1 d1_1f_b512.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: S-Video PAL INFO: [lavrec] Decimation: 1 INFO: [lavrec] Quality: 100 INFO: [lavrec] Recording time: -1 sec INFO: [lavrec] INFO: [lavrec] MJPEG buffer size: 512 KB INFO: [lavrec] # of MJPEG buffers: 32 INFO: [lavrec] Audio disabled INFO: [lavrec] Auto detecting input and norm ... INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer INFO: [lavrec] Got 4 buffers of size 512 KB ++ WARN: [lavrec] Unable to set negative priority for main thread ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be enabled Recording time : 0.00.00:01 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 -rw-r--r-- 1 hans users 355036 Aug 22 15:28 d1_1f_b512.avi VirtualDub 1.6.8 reports: Frame size, fps (us per frame): 768x576, 25.000 fps (400000 us) Length: 1 frames (0:00.04) Number of key frames: 1 Min/avg/max/total key frame size: 352956/352956/352956 (345K) Min/avg/max/total delta frame size: (no delta frames) Data rate: 70591 kbps (0.01% overhead) Test 3: lavrec -fa -iP -d1 -q100 -t10 -w -a0 -n32 -b128 -v1 d1_250f_b128.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: S-Video PAL INFO: [lavrec] Decimation: 1 INFO: [lavrec] Quality: 100 INFO: [lavrec] Recording time: 10 sec INFO: [lavrec] INFO: [lavrec] MJPEG buffer size: 128 KB INFO: [lavrec] # of MJPEG buffers: 32 INFO: [lavrec] Audio disabled INFO: [lavrec] Auto detecting input and norm ... INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer INFO: [lavrec] Got 32 buffers of size 128 KB ++ WARN: [lavrec] Unable to set negative priority for main thread ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be enabled Recording time : 0.00.10:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 -rw-r--r-- 1 hans users 28611852 Aug 22 15:29 d1_250f_b128.avi VirtualDub 1.6.8 reports: Frame size, fps (us per frame): 768x576, 25.000 fps (400000 us) Length: 250 frames (0:10.00) Number of key frames: 250 Min/avg/max/total key frame size: 112272/114415/116876 (27934K) Min/avg/max/total delta frame size: (no delta frames) Data rate: 22883 kbps (0.02% overhead) Test 4: lavrec -fa -iP -d1 -q100 -t10 -w -a0 -n32 -b512 -v1 d1_250f_b512.avi INFO: [lavrec] Recording parameters: INFO: [lavrec] Output format: AVI INFO: [lavrec] Input Source: S-Video PAL INFO: [lavrec] Decimation: 1 INFO: [lavrec] Quality: 100 INFO: [lavrec] Recording time: 10 sec INFO: [lavrec] INFO: [lavrec] MJPEG buffer size: 512 KB INFO: [lavrec] # of MJPEG buffers: 32 INFO: [lavrec] Audio disabled INFO: [lavrec] Auto detecting input and norm ... INFO: [lavrec] Image size will be 768x576, 2 field(s) per buffer INFO: [lavrec] Got 32 buffers of size 512 KB ++ WARN: [lavrec] Unable to set negative priority for main thread ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be enabled Recording time : 0.00.10:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors : 000 -rw-r--r-- 1 hans users 85491512 Aug 22 15:30 d1_250f_b512.avi VirtualDub 1.6.8 reports: Frame size, fps (us per frame): 768x576, 25.000 fps (400000 us) Length: 250 frames (0:10.00) Number of key frames: 250 Min/avg/max/total key frame size: 335352/341933/348724 (83480K) Min/avg/max/total delta frame size: (no delta frames) Data rate: 68387 kbps (0.01% overhead) QED? :-) DC30 Zoran Corporation ZR36057PQC Video cutting chipset (rev 01) vendorId: 11de deviceId: 6057 Hans ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users