Linux

Philips webcam viewer program

This little utilty is used to display images grabbed from a philips webcam under linux. It was designed to be fast, using MIT X Shared memory extension and Xlib. It also dumps ppm files.

Keybindings are: 'd' for dump, 'g' to switch black and white or color mode, 'q' to quit.

You will need several libraries and includes to compile, for example:

Compile with
gcc -O3 -o webcam webcam-xlib-shm.c -I/usr/src/linux/drivers/usb/media/pwc -L/usr/X11R6/lib -lX11 -lXext

warning: include dir in new pwc (free version 10) is /usr/src/linux/drivers/usb/media/pwc but was not the same in version 9.

Download webcam-xlib-shm.c   (01/2005)

You have two philips cameras and you want to display them at the same time ? (this does not work with some versions of linux and pwc, kernel bugs...)

Download double-webcam-xlib-shm.c   (11/2004)


0 comment


Discuss this article, add a comment:

name: 
website: 
comment: 
If you are human, type 12: