http://www.ijg.org/files/
sed -i 's/\r$//' ./*
下载JPEG
bash ./configure --prefix=/home/xiaopeng18/Desktop/module/jpeg-9b/tmp --host=arm-linux-gnueabihf
bash ./configure CC=arm-linux-gnueabihf-gcc --prefix=/home/xiaopeng18/Desktop/module/jpeg-9b/tmp --host=arm-linux-gnueabihf
make
make install
**********************************************************************************************************************************************
http://sourceforge.net/projects/mjpg-streamer/
svn checkout https://svn.code.sf.net/p/mjpg-streamer/code/
下载mjpg-streamer
sed -i "s/gcc/arm-linux-gnueabihf-gcc/g" `grep gcc -rl ./`
plugins中所有的makefile添加
-I/home/xiaopeng18/Desktop/module/jpeg-9b/tmp/include
.so文件需要
-L/home/xiaopeng18/Desktop/module/jpeg-9b/tmp/lib
若找不到videodev.h文件则用下面代替:
/usr/include/libv4l1-videodev.h
./mjpg_streamer -i "input_uvc.so -d /dev/video1 -y" -o "output_http.so -w ./www"
http://172.16.10.64:8080/?action=stream