资 源 简 介
程序是根据vidcat改的,只能抓PPM的图.
makefile的内容如下,请注意打小写:
cc=gcc
#cflags=-i/firendly-arm/kernel/include -i/usr/local/arm/2.95.3/arm-linux/include -wall -dhave_libjpeg #-dvideo_dev="/dev/v4l/video0" -dversion="0.7.2"
cflags=-wall -dvideo_dev="/dev/video0" -dversion="0.7.2"
camsnap: camsnap.c
用法如下:
camsnap -v -s 420x420 -o my.ppm
这儿请注意:s 的大小必需是8能整除的倍数.
这个程序我是在rh9下作的,需要交叉编译的朋友就把注释去掉,再给下面的注释就可以了.-Vidcat procedure is in accordance with the law, can only grasp PPM plans. Makefile reads as follows, please note that playing lowercase: cc = gcc# Cflags =- i/firendly-arm/kernel/include-i/usr/local/arm/2.95 .3/arm-linux/include-wall-dhave_libjpeg#-dvideo_dev =