{"id":82,"date":"2017-05-09T15:53:06","date_gmt":"2017-05-09T13:53:06","guid":{"rendered":"http:\/\/localhost:8888\/WWW\/wp-davidestecco\/\/?p=82"},"modified":"2026-01-09T14:12:09","modified_gmt":"2026-01-09T13:12:09","slug":"videosorveglianza-con-raspberry","status":"publish","type":"post","link":"https:\/\/www.davidestecco.it\/it\/2017\/05\/09\/videosorveglianza-con-raspberry\/","title":{"rendered":"Videosorveglianza con raspberry"},"content":{"rendered":"<p>Possiamo creare un sistema di videosorveglianza con la telecamera integrata.<\/p>\n<p><!--more-->Per creare una videosorveglianza con la telecamera integrata del raspberry dobbiamo inanzitutto installare questi pacchetti<\/p>\n<pre>sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev<\/pre>\n<p>Creiamo la cartella ed entriamo<\/p>\n<pre>mkdir motion \ncd motion<\/pre>\n<p>Scarichiamo il file motion<\/p>\n<pre>wget https:\/\/www.dropbox.com\/s\/xdfcxm5hu71s97d\/motion-mmal.tar.gz<\/pre>\n<p>Scompattiamo il file<\/p>\n<pre>tar -zxvf motion-mmal.tar.gz<\/pre>\n<p>lo facciamo partire all&#8217;avvio aprendo il file con nano<\/p>\n<pre>sudo nano \/etc\/rc.local<\/pre>\n<p>e scriviamo<\/p>\n<pre>\/home\/pi\/motion\/.\/motion -c \/home\/pi\/motion\/motion-mmal.conf<\/pre>\n<p>prima di exit 0<\/p>\n<p>modifichiamo il file motion-mmal.conf con questi parametri, voi potete provare a modificarne altri<\/p>\n<pre>width 768\nheight 432\noutput_pictures off\nffmpeg_output_movies off\n#ignora gli improvvisi cambiamenti di luce (0, 100)\nlightswitch 50\n\nsmart_mask_speed 10\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Possiamo creare un sistema di videosorveglianza con la telecamera integrata.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-raspberry-sbc"],"_links":{"self":[{"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":1,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/posts\/82\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidestecco.it\/it\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}