I. servfox
http://mxhaard.free.fr/spca50x/embedded/Servfox/servfox-R1_1_3.tar.gz
cp Makefile.arm Makefile
make
./servfox -d /dev/video0 -s 320x240 -g -w 192.168.162.1:7070
II. spcaserv and spcacat
http://mxhaard.free.fr/spca50x/Download/spcaview-20051212.tar.gz
replace gcc with arm_v6_vfp_le-gccin Makefile
./spcaserv -d /dev/video0 -s 320x240 -w 192.168.16.2:7070 -f JPEG
./spcacat -d /dev/video0 -s 320x240
Spcaserv 运行方法如下;
spcaserv [-h -d -g -f -s] [-w Port]参数说明:
-h 查看帮助;
-d /dev/videoX 指定摄像头设备,比如 /dev/video0
-g use read method for grab instead mmap
-f 影像格式,默认为YUV420P,fourcc I420
jpg JPEG fourcc MJPG
yuv YUV420P fourcc I420
r16 RGB565 16bits fourcc RGB2
r24 RGB 24bits fourcc RGB3
r32 RGB 32bits fourcc RGB4
-v RAW data fourcc RAWD
-s 设置分辨率,宽x高 ,比如 320x240,或 640x480,或160x120;
-w 指定服务器的网络地址或端口,比如 192.168.1.3:8888
./spcaserv -s 320x240 -w 192.168.16.2:8888&./spcaview -s 320x240 -w 192.168.16.2
III. http-java-appleta <====sample webs page