{"id":1880,"date":"2013-04-03T18:59:15","date_gmt":"2013-04-03T09:59:15","guid":{"rendered":"http:\/\/www.pinewell.jp\/wordpress\/?p=1880"},"modified":"2013-04-03T18:59:15","modified_gmt":"2013-04-03T09:59:15","slug":"motion%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%80%81motion-conf%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.pinewell.jp\/wordpress\/?p=1880","title":{"rendered":"motion\u306e\u8a2d\u5b9a\u3001motion.conf\u3002"},"content":{"rendered":"<p>\u304a\u3082\u3080\u308d\u306bUSB\u30ab\u30e1\u30e9\u3092\u633f\u3059\u3002<br \/>\nApr  3 18:12:23 debian kernel: [ 5233.184994] usb 2-1: new high speed USB device using orion-ehci and address 2<br \/>\nApr  3 18:12:24 debian kernel: [ 5233.775622] usb 2-1: New USB device found, idVendor=2084, idProduct=0009<br \/>\nApr  3 18:12:24 debian kernel: [ 5233.855986] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br \/>\nApr  3 18:12:24 debian kernel: [ 5233.941562] usb 2-1: Product: BUFFALO  BSW20K06H USB PC Camera<br \/>\nApr  3 18:12:24 debian kernel: [ 5234.011446] usb 2-1: Manufacturer: Syntek<br \/>\nApr  3 18:12:24 debian kernel: [ 5234.059473] usb 2-1: SerialNumber: STK00001<br \/>\nApr  3 18:12:24 debian kernel: [ 5234.113725] usb 2-1: configuration #1 chosen from 1 choice<br \/>\nApr  3 18:12:25 debian kernel: [ 5234.580160] Linux video capture interface: v2.00<br \/>\nApr  3 18:12:25 debian kernel: [ 5234.721386] uvcvideo: Found UVC 1.00 device BUFFALO  BSW20K06H USB PC Camera (2084:0009)<br \/>\nApr  3 18:12:25 debian kernel: [ 5234.857449] input: BUFFALO  BSW20K06H USB PC Camer as \/devices\/platform\/orion-ehci.1\/usb2\/2-1\/2-1:1.0\/input\/input0<br \/>\nApr  3 18:12:25 debian kernel: [ 5234.983617] usbcore: registered new interface driver uvcvideo<br \/>\nApr  3 18:12:25 debian kernel: [ 5235.057385] USB Video Class driver (v0.1.0)<br \/>\n\u3053\u308c\u304c\u3067\u3066\u304f\u308c\u3070\u8a8d\u8b58OK\u3002<br \/>\n\/dev\/video0\u304c\u3067\u304d\u3066\u3044\u308b\u306f\u305a\u3002<\/p>\n<p>motion\u306e\u52d5\u4f5c\u78ba\u8a8d\u3002<br \/>\n\u6700\u4f4e\u9650\u3001\/etc\/motion\/motion.conf\u306e<br \/>\n&#8212;<br \/>\nwebcam_localhost on \u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3001<br \/>\nwebcam_localhost off\u306b\u3059\u308b\u3002<br \/>\n&#8212;<br \/>\n#motion<br \/>\n\u3053\u308c\u3067\u30c7\u30fc\u30e2\u30f3\u30e2\u30fc\u30c9\u3058\u3083\u306a\u3044\u72b6\u614b\u3067\u8d77\u52d5\u3002\u3044\u308d\u3044\u308d\u51fa\u3066\u304f\u308b\u3002<br \/>\n\u9069\u5f53\u306a\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/%LS-GL\u306eIP%:8081\/ \u3067\u753b\u50cf\u304c\u898b\u3066\u3044\u308b\u306f\u305a\u3002<\/p>\n<p>\u52d5\u304f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001<br \/>\n#vi \/etc\/motion\/motion.conf<br \/>\n&#8212;<br \/>\ndaemon off \u3092 daemon on<br \/>\nwidth 320  -> 640<br \/>\nheight 240 ->  480<br \/>\nframerate 2 -> 100<br \/>\nauto_brightness off -> on<br \/>\nbrightness 0 -> 127<br \/>\nffmpeg_cap_new on -> off<br \/>\nlocate off    -> on<\/p>\n<p>target_dir \/tmp\/motion -> target_dir \/var\/www\/motion<br \/>\nsnapshot_filename %v-%Y%m%d%H%M%S-snapshot -> snapshot_filename snapshot\/%Y%m%d%H%M%S-%v-%q-snapshot<br \/>\njpeg_filename $v-%Y%m%d%H%M%S-%q  -> jpeg_filename %Y\/%m\/%d\/%H%M%S-%v-%q<br \/>\nwebcam_quality 50 -> 100<br \/>\ncontrol_port 8080 -> 8070<br \/>\ncontrol_localhost on -> off<br \/>\n; on_picture_save value -> on_picture_save \/var\/www\/motion\/bin\/indexcopy.php %f<\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u3089\u304b\u3058\u3081\u4f5c\u3063\u3066\u304a\u3053\u3046\u3002<br \/>\n#mkdir \/var\/www\/motion<br \/>\n#chmod 777 \/var\/www\/motion<\/p>\n<p>\u3067\u3001\u52d5\u304f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089<br \/>\n#vi \/etc\/default\/motion<br \/>\nstart_motion_daemon=no -> yes<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u3082\u3080\u308d\u306bUSB\u30ab\u30e1\u30e9\u3092\u633f\u3059\u3002 Apr 3 18:12:23 debian kernel: [ 5233.184994] usb 2-1: new high speed USB device using orion-eh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1880","post","type-post","status-publish","format-standard","hentry","category-11"],"views":864,"_links":{"self":[{"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1880"}],"version-history":[{"count":0,"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1880\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pinewell.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}