background preloader

Diffuser une webcam à partir du Raspberry Pi (grace à motion)

Diffuser une webcam à partir du Raspberry Pi (grace à motion)
Comme je vous l'avais annoncé dans mon précédent article, mon objectif premier avec le Raspberry Pi était de mettre en place la diffusion d'une webcam pour surveiller mon bébé dans son lit (faire un visiophone du pauvre geek). L'étape la plus longue a été les tests des différentes solutions et le choix du logiciel final. Une fois le logiciel choisi (motion), sa mise en place a été plutôt simple et rapide. Explications : I. Besoin Mon besoin était simple, diffuser une vidéo au moins sur mon réseau local afin de pouvoir surveiller mon bébé dans son lit. Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. J'ai commencé par tester une application ffserver couplée avec ffmpeg. II. L'application motion est packagée debian, donc comme j'utilise une distribution Raspbian, une simple ligne de commande suffit à l'installer : apt-get install motion III. Toute la configuration se fait dans un seul fichier : /etc/motion/motion.conf. IV. Pour ma part, voici ce que j'ai fait : V. VI.

HD Wing Camera 1280x720p 30fps 5MP CMOS This camera is awesome for the budget. Very easy to use after you got the buttons order. 1) Press the button far from the lens for 2 seconds to turn it on (blue led). 2) Select the mode using the same button:Blue - record video Red - photo.Blue / Yellow - record video automatic with any camera move.Red / Yellow - the same, but for photos. 3) Press the middle button to start/stop recording or to take a photo. 4) To turn it off press the button far from the lens again for 2 seconds. The camera was design to record with the buttons up, so it´s better to use it on the top of the plane. Well, after recording you could watch the movies (avi) on your TV or computer. Using a TV Connect the camera cable to any Video Input on your TV. 1) The button closer to the lens is a menu selector.

Related: