Ultra low fps on ZM 1.24 with QuickCam pro 9000

Forum for questions and support relating to the 1.24.x releases only.
Locked
lpallard
Posts: 87
Joined: Fri Mar 05, 2010 10:59 pm

Ultra low fps on ZM 1.24 with QuickCam pro 9000

Post by lpallard »

Hello,

I have installed ZM 1.24.2 on my slackware 13.1 server and I am trying to use it with a simple Logitech QuickCam pro 9000 but the fps (framerate) is rather horrible and barely usable...

I estimate the framerate to be around 1 to 2 fps, which makes any motion almost impossible to visualize and streams very difficult to watch. I know this camera is not a top of the line camera and rather a toy, but I am just trying out ZM at this point, and if I like it enough I will buy a PTZ LAN camera with all options... Anyways, I can normally get decent framerate 12+ in 1024x768 in Linux using mencoder and in Windows, I could get 30+fps in 1024x768... Not sure what Logitech did with this camera, but using it in Linux you start with at least 40% decrease of performance...

The camera is configured as follows in ZM:

Source tab

Device Path /dev/video0
Capture Method Video for Linux version 2
Device Channel 0
Device Format PAL B
Capture Palette YUYV
Capture Width (pixels) 640
Capture Height (pixels) 480
Preserve Aspect Ratio UNCHECKED
Orientation Normal

Buffers tab
Image Buffer Size (frames) 40
Warmup Frames 25
Pre Event Image Count 10
Post Event Image Count 10
Stream Replay Image Buffer 1000
Alarm Frame Count 1

Here's some info about the system:

FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 17 2010 17:55:16 with gcc 4.4.4
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads --enable-libtheora --enable-libvorbis --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-x11grab --enable-avfilter --enable-avfilter-lavf --arch=i486 --enable-libopenjpeg --enable-libdc1394 --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libspeex --enable-libdirac --enable-libschroedinger --enable-nonfree --enable-libgsm --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

root@lhost2:~# uname -a
Linux lhost2 2.6.33.4 #1 Wed May 12 23:58:41 CDT 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux

root@lhost2:~# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping : 2
cpu MHz : 2400.313
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 4800.62
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

(3.5GB or RAM)
root@lhost2:~# dmidecode --type 17
# dmidecode 2.10
SMBIOS 2.5 present.

Handle 0x002D, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 333 MHz
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0

Handle 0x002F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: BANK1
Type: DDR2
Type Detail: Synchronous
Speed: 333 MHz
Manufacturer: Manufacturer1
Serial Number: SerNum1
Asset Tag: AssetTagNum1
Part Number: PartNum1

Handle 0x0031, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM2
Bank Locator: BANK2
Type: DDR2
Type Detail: Synchronous
Speed: 333 MHz
Manufacturer: Manufacturer2
Serial Number: SerNum2
Asset Tag: AssetTagNum2
Part Number: PartNum2

Handle 0x0033, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x002B
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM3
Bank Locator: BANK3
Type: DDR2
Type Detail: Synchronous
Speed: 333 MHz
Manufacturer: Manufacturer3
Serial Number: SerNum3
Asset Tag: AssetTagNum3
Part Number: PartNum3

What else should I provide for further troubleshooting?

Any help very appreciated!

Thanks and congrats for your wonderful work in developing Zoneminder!
Locked