background preloader

Raspberry Pi - Caméra 5M & Streaming

Raspberry Pi - Caméra 5M & Streaming
Avec un capteur d'une résolution native de 5 mégapixels (5M) et, au niveau optique, d'une lentille de focalisation fixe, la caméra peut servir d'appareil photo (résolution maximale de 2592 x 1944 pixels) ou de caméra vidéo (format HD jusqu'à 1080p). Son poids est impressionnant, car elle ne pèse pas plus de quatre grammes pour un volume de L25 x l20 x H9 (en millimètres). On commence par brancher la caméra sur l'interface CSI. Il faut y aller doucement et sans trop forcer. Je vous conseille de visualiser la vidéo suivante : Cliquez pour lire la vidéo Flash n'est pas installé, Flash n'est pas à jour 7.0.0, cliquez sur l'image ci-dessous. Il faut disposer d'une distribution Raspbian à jour avant de pouvoir activer la caméra : sudo apt-get update && sudo apt-get upgrade Puis on lance ensuite l'utilitaire Raspi-config où un nouveau menu devrait vous permettre d'activer la caméra (choix numéro 5 - Activate the camera) : Un reboot plus tard, vous pouvez commencer à jouer avec la caméra. V-A. V-B. Related:  claude89TUTORIELS ELECTRONIQUE

Streaming depuis la Raspberry Camera - Le blog de NicoLargo Après une rapide présentation de la Raspberry Camera 5M (voir ce précédant billet), entrons dans le vif du sujet avec une utilisation pratique: le streaming "live" du flux vidéo vers une autre machine de votre réseau. Les applications peuvent aller d'un "baby video phone" à un "interphone vidéo" pour votre maison en passant par toutes les autres choses qui vous passent par la tête ! Actuellement, la camera dispose d'un logiciel spécifique Raspivid (dont les sources sont disponibles sur Github), pour capturer et encoder en H.264 la vidéo dans un fichier ou bien sur le flux standard de sortie (stdout). On commence par installer GStreamer sur notre Raspberry PI. sudo apt-get install gstreamer-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly L'installation va prendre un certain temps. Pour vérifier que les composants ont été correctement installé, saisir la commande suivante: Total count: 233 plugins, 695 features

Chart: Samples This page contains examples of the charts that can be produced using JFreeChart. If you'd prefer to see a live demo, please try our JFreeChart Demo (web start) . Note: All the samples on this page are created using programs that are available for download (the complete source code) when you purchase the JFreeChart Developer Guide . Gestion du port GPIO du Raspberry Pi avec Python Thereafter, we'll go on the assumption that we are developing on the latest model namely a Raspberry Pi B2. There are many libraries dedicated to the Raspberry Pi. They are stored, for the most part, on Pypi. We will study here is the historical library: RPi.GPIO. To install it, so just a simple install PIP: If you do not yet have pip, you just load get - pip.py, and then run it through the following command. wget python get-pip.py Of course, don't forget to use a 'sudo' if necessary. Reminder: Python is case sensitive. The GPIO port is accessible in root mode. sudo python mon_script.py Regarding the status of the input-output (I/O), the RPi.GPIO module accepts dedicated variables, integers or booleans. So, the high State may be worth to choose GPIO. III-B-1. The Raspberry Pi allows two sets of numbers: the silkscreen of the connector on the Board (GPIO.) Black numbering GPIO. GPIO.setmode(GPIO.BOARD) GPIO.setmode(GPIO.BCM) configuration = GPIO.getmode()

Gstreamer overview - OMAPpedia From OMAPpedia GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple AV playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. The GStreamer core function is to provide a framework for plugins, data flow and media type handling/negotiation. It also provides an API to write applications using the various plugins. In omap, both GST-OpenMax and GST-Ducati provide elements that interface with omap hardware. The code for GStreamer-omap can be found in GStreamer Omap repository in gitorious. For general GStreamer development info check GStreamer developers Info and GStreamer official website [edit] GStreamer Stack GStreamer provides plugins across the entire filter graph. TI specifically focuses on Codecs, Sinks and Filters. [edit] Omap GStreamer modifications Gstreamer for omap adds strided video to GStreamer, correspondent to the video format "video/x-raw-yuv-strided". Video sinks

HomePi – Test 01 – Lire une sonde avec l’arduino et communiquer avec le RaspberryPi Bonjour à vous chers lecteurs geeks et moins geeks. Je continue mes travaux sur le Raspberry Pi et l’Arduino afin de créer un système domotique complet (HomePi). Aujourd’hui, nous allons voir comment lire avec l’Arduino une sonde de température DS18B20 (voir le tutoriel pour la lire avec le Raspi ici), puis de l’envoyer via un émetteur radio de 433Mhz vers le Raspberry Pi doté lui d’un récepteur radio de 433Mhz. Ce tutoriel risque d’être un peu long, mais je vais essayer de détailler chaque étape autant que possible (mais n’hésitez pas si vous avez des questions). Ce tutoriel est inspiré et basé sur les tutoriels d’Idleman, donc n’hésitez pas à y faire un tour. Les buts de ce tutoriel sont les suivants : Commencer à prendre en main l’arduino (reçu il y a peu)Étudier la communication radio entre les 2 deux appareilsÉtudier la faisabilité de mon projet (HomePi), notamment la partie communication avec les nœuds. Pour ce tutoriel, il vous faudra le matériel suivant : Étape 0 : pré-requis Voila. .

Setting up your Pi Cap on the Raspberry Pi 1, 2 or 3 - Bare ConductiveBare Conductive Step 19 Configure the picap package To configure the picap package, you need to run “picap-setup” at the terminal. Firstly we ask whether you want to enable high quality audio on the Pi. Next we ask whether or not to install examples into your home folder. Once this is complete, we ask whether you would like to reboot the Pi in order to complete installation. Using GStreamer as transcoder for Dreambox or TVheadend Hi Did you manage to solve th eproblem with SPS? I am trying to pipe raspivid using this method. I nearly got there by creating my own sdp file for VLC by reading the CAPS data output by gsrteamer... but the video is black and I have no idea what to do now. (It did solve the SPS isue) All it is, is information about the stream, so by creating the sdp file it knows how to decode it.. but creating the sdp can be quite tricky 192.168.1.75 was the PC reciveing the UDP stream on VLC. raspivid -t 999999 -w 640 -h 480 -fps 25 -b 500000 -o - | gst-launch-1.0 -vvvvv fdsrc ! Starting video captureSetting pipeline to PAUSED ...Pipeline is PREROLLING ... v=0o=- 1208520720 2590316915 IN IP4 192.168.1.78c=IN IP4 192.168.1.78s=Gstreamerm=video 1234 RTP/AVP 96a=rtpmap:96 H264/90000a=fmtp:96 media=video; clock-rate=90000; encoding-name=H264; sprop-parameter-sets=J2QAKKwrQFAe0A8SJqA\=\,KO4CXLA\=a=control:trackID=1

18 projets insolites basés sur le Raspberry Pi Le nouveau Raspberry Pi modèle A+ est plus petit, moins cher et consomme moins d’énergie. C’est un bon moyen pour découvrir ce micro ordinateur low-cost et tester tout ce qu’on est capable de lui faire faire. Que vous ayez déjà franchi le pas et commandé le nouveaux modèle A+ ou que vous continuiez à utiliser les autres modèles voici quelques idées de projets ludiques, ou amusants à faire avec un Raspberry Pi . 1. Il y a plusieurs façons d’utiliser le module caméra Pi et l’un d’elle plutôt simple et ludique est de mettre en oeuvre un système Stop-Motion. 2. Augmentez la portée de votre réseau Wifi et ajoutez une connexion sans fil dans les zones les plus éloignées de votre maison (ou au bureau). 3. Si vous avez un peu de temps et que vous êtes prêt à faire quelques efforts, vous pouvez utiliser votre Raspberry Pi pour créer votre propre interface tactile pour voiture. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.

ServoSix - MonkMakes The Servo Six board simplifies the process of connecting up to six servo motors to a Raspberry Pi or Arduino. The Servo Six has the following features: Screw terminals for servo power supplyReverse-polarity protection for the servo power supply470µF 16V capacitor for servo supply470Ω current limiting resistors for servo control lines (to protect GPIO pins)Power indicator LED For use with Raspberry Pi, we have created a Python library based on Richard Hurst’s ServoBlaster code. You can download the Servo Six Python library from Gitub. This allows accurate servo positioning with a nice easy to use Python interface: from servosix import ServoSix ss = ServoSix() try: while True: servo = input("servo:") angle = input("angle:") ss.set_servo(servo, angle) finally: ss.cleanup() You will find full documentation for the library in the Github repository. When using the Servo Six with an Arduino, you can just use the standard Arduino Servo library.

Gstreamer et Serveur de streaming RTSP sur Raspberry Pi (2eme Partie) Factory Details: Rank none (0) Long-name Video test source Klass Source/Video Description Creates a test video stream Author David A. Plugin Details: Name videotestsrc Filename /usr/lib/gstreamer-1.0/libgstvideotestsrc.so Version 1.2.0 License LGPL Source module gst-plugins-base Source release date 2013-09-24 Binary package GStreamer Base Plug-ins source release Origin URL Unknown package origin GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstVideoTestSrc Pad Templates: SRC template: 'src' Availability: Always Capabilities: video/x-raw format: { I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE } width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] Pads:

Plus de 70 idées de projets pour votre Raspberry Pi Products - MonkMakes OpenMAX Un article de Wikipédia, l'encyclopédie libre. L'interface est spécifiée et normée par le Khronos Group. Elle fait partie de la plateforme OpenKODE. Elle est divisée en plusieurs couches : OpenMAX AL (Application Layer, c'est-à-dire, couche d'application) est une interface permettant aux application de s'abstraire de la gestion des middlewares multimédia qui exécuteront les tâches dévolues (lecture, enregistrement, etc...).OpenMAX IL (Integration Layer, c'est-à-dire, couche d'intégration) est une interface permettant aux applications ou frameworks de communiquer avec les différents codecs (logiciels ou matériels) audio, video, et d'imagerie de façon transparente et standard.OpenMAX DL (Development Layer, c'est-à-dire, couche de développement) est une interface contenant un ensemble de fonctions d'encodage et décodage pouvant être implémentées et optimisées par les concepteurs des processeurs matériels. Voir aussi[modifier | modifier le code] Khronos Group Site Web Officiel

Related: