CONTENTS
#contents
----
Lastmodified &lastmod;
----
*screen をインストールするよ! [#m66c4ec2]
http://netbuffalo.doorblog.jp/archives/4609419.html
 apt-get install screen

*Raspberrypi [#r93c1ed2]
http://d.hatena.ne.jp/zqwell-ss/20130623/1372009506

https://wiki.ubuntulinux.jp/UbuntuTips/Others/RootSudo#root.2BMKIwqzCmMPMwyDBuZwlSuVMW-


http://www.odin.hyork.net/write/write0731.html


**screen をインストールするよ! [#m66c4ec2]
http://netbuffalo.doorblog.jp/archives/4609419.html
 apt-get install screen

**Webカメラにするよ [#c46536f6]

http://www.mztn.org/rpi/rpi23.html

https://sites.google.com/site/mizukoshipi/raspberry-pidewebkamera



http://wolfpaulus.com/jounal/embedded/raspberrypi_webcam
 svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer/ mjpg-streamer


http://blog.livedoor.jp/victory7com/archives/28289703.html


 root@raspberrypi ~/mjpg-streamer # make
 gcc -D'SVN_REV="3:172"' -O2 -DLINUX -D_GNU_SOURCE -Wall    -c -o mjpg_streamer.o mjpg_streamer.c
 gcc -D'SVN_REV="3:172"' -O2 -DLINUX -D_GNU_SOURCE -Wall    -c -o utils.o utils.c
 gcc -D'SVN_REV="3:172"' -O2 -DLINUX -D_GNU_SOURCE -Wall  mjpg_streamer.o utils.o -lpthread -ldl -o mjpg_streamer
 chmod 755 mjpg_streamer
 make -C plugins/input_uvc all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/input_uvc'
 gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o v4l2uvc.lo v4l2uvc.c
 v4l2uvc.c: In function ?init_videoIn?:
 v4l2uvc.c:88:23: warning: variable ?currentHeight? set but not used [-Wunused-but-set-variable]
 v4l2uvc.c:88:9: warning: variable ?currentWidth? set but not used [-Wunused-but-set-variable]
 gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o jpeg_utils.lo jpeg_utils.c
 gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o dynctrl.lo dynctrl.c
 gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo -ljpeg
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/input_uvc'
 cp plugins/input_uvc/input_uvc.so .
 make -C plugins/output_file all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/output_file'
 gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_file.so output_file.c
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/output_file'
 cp plugins/output_file/output_file.so .
 make -C plugins/output_udp all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/output_udp'
 gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_udp.so output_udp.c
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/output_udp'
 cp plugins/output_udp/output_udp.so .
 make -C plugins/output_http all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/output_http'
 gcc -c -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o httpd.lo httpd.c
 gcc -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_http.so output_http.c httpd.lo
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/output_http'
 cp plugins/output_http/output_http.so .
 make -C plugins/input_testpicture all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/input_testpicture'
 convert pictures/960x720_1.jpg -resize 640x480! pictures/640x480_1.jpg
 convert pictures/960x720_1.jpg -resize 320x240! pictures/320x240_1.jpg
 convert pictures/960x720_1.jpg -resize 160x120! pictures/160x120_1.jpg
 converting file: 160x120_1.jpg
 converting file: 320x240_1.jpg
 converting file: 640x480_1.jpg
 converting file: 960x720_1.jpg
 converting file: 160x120_2.jpg
 converting file: 320x240_2.jpg
 converting file: 640x480_2.jpg
 converting file: 960x720_2.jpg
 gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o input_testpicture.so input_testpicture.c
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/input_testpicture'
 cp plugins/input_testpicture/input_testpicture.so .
 make -C plugins/input_file all
 make[1]: Entering directory `/root/mjpg-streamer/plugins/input_file'
 gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC  -o input_file.so input_file.c
 make[1]: Leaving directory `/root/mjpg-streamer/plugins/input_file'
 cp plugins/input_file/input_file.so .
 root@raspberrypi ~/mjpg-streamer # make install
 install --mode=755 mjpg_streamer /usr/local/bin
 install --mode=644 input_uvc.so output_file.so output_udp.so output_http.so input_testpicture.so input_file.so /usr/local/lib/
 install --mode=755 -d /usr/local/www
 install --mode=644 -D www/* /usr/local/www
 root@raspberrypi ~/mjpg-streamer #
 root@raspberrypi ~/mjpg-streamer #
 root@raspberrypi ~/mjpg-streamer #
 root@raspberrypi ~/mjpg-streamer # mjpg_streamer -i "input_uvc.so -f 2 -r 320x240 -d /dev/vc-cma -y" -o "./output_http.so -w ./www -p 8080"
 MJPG Streamer Version: svn rev: 3:172
 ERROR: could not find input plugin
        Perhaps you want to adjust the search path with:
        # export LD_LIBRARY_PATH=/path/to/plugin/folder
        dlopen: input_uvc.so: cannot open shared object file: No such file or directory
 root@raspberrypi ~/mjpg-streamer # ./mjpg_streamer -i "./input_uvc.so -f 2 -r 320x240 -d /dev/vc-cma -y" -o "./output_http.so -w ./www -p 8080"
 MJPG Streamer Version: svn rev: 3:172
  i: Using V4L2 device.: /dev/vc-cma
  i: Desired Resolution: 320 x 240
  i: Frames Per Second.: 2
  i: Format............: YUV
  i: JPEG Quality......: 80
 Error opening device /dev/vc-cma: unable to query device.
  Init v4L2 failed !! exit fatal




http://blog.miguelgrinberg.com/post/stream-video-from-the-raspberry-pi-camera-to-web-browsers-even-on-ios-and-android



**日本語化するよ! [#v4fb3abe]
http://www.designspark.com/nodes/view/type:knowledge-item/slug:JPN-raspberry-pi-Japanese-version

http://sweepy.blog.eonet.jp/hoby/2013/06/raspberry-pi-5181.html
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS