Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
live_cam [2017/09/07 15:36]
admin created
live_cam [2017/09/08 21:12] (current)
admin [HDMI settings]
Line 1: Line 1:
-==== Py Live Cam ====+===== Py Live Cam =====
 Setup for a Raspberry Pi live camera with Python. Setup for a Raspberry Pi live camera with Python.
  
Line 5: Line 5:
 [[https://www.raspberrypi.org/downloads/raspbian/]]\\ [[https://www.raspberrypi.org/downloads/raspbian/]]\\
  
-For the VGA hat check the modifications here:\\+For the VGA Hat check the modifications here:\\
 [[http://paperpcb.dernulleffekt.de/doku.php?id=raspberry_boards:raspberry_vga_board]]\\ [[http://paperpcb.dernulleffekt.de/doku.php?id=raspberry_boards:raspberry_vga_board]]\\
  
 ---- ----
-=== Modifications ===+==== Some Mods ====
 **Remove the splash screen:** **Remove the splash screen:**
   $ sudo nano /boot/cmdline.txt   $ sudo nano /boot/cmdline.txt
Line 19: Line 19:
 enable camera enable camera
  
-**disable camera light:**+**Disable camera light:**
   sudo nano /boot/config.txt   sudo nano /boot/config.txt
 add: add:
 +  # Disable camera light
   disable_camera_led=1   disable_camera_led=1
 +**Install some software:**
 +  $ sudo apt-get install git htop cmake
  
 ---- ----
-=== Install pi ===+==== Install Python Modules ====
  
-  sudo apt-get install git htop cmake+  $ sudo apt-get update 
 +**Install Pip:** 
 +  $ sudo apt-get install python-pip 
 + 
 +**Install python picamera:**\\ 
 +[[PiCamera]]\\ 
 +  $ sudo apt-get install python-picamera 
 + 
 +**Install python omxplayer:**\\ 
 +[[python_omxplayer|Python OMXPlayer]]\\ 
 + 
 +---- 
 +==== Python Live Cam ==== 
 + 
 +  $ mkdir picam 
 +  $ cd picam 
 + 
 +**Download the program:**
  
 autostart: autostart:
Line 40: Line 60:
  
 ---- ----
-=== HDMI settings ===+==== Network configuration ==== 
 +[[IP and Network]]\\ 
 + 
 +---- 
 + 
 +==== SD card read-only ==== 
 +Set the SD card to a read-only mode.\\ 
 +[[SD_card_read-only|Read-Only SDcard]] 
 + 
 +---- 
 + 
 +==== HDMI settings ====
  
 Check the current HDMI state: Check the current HDMI state:
Line 69: Line 100:
  
 ---- ----
 +==== Change H264 to mp4 ====
 +
 +  $ sudo apt-get install gpac
 +  $ MP4Box -add filename.h264 filename.mp4
 +  
 +----
 +==== Links ====
 +[[http://raspberrypiguide.de/howtos/raspberry-pi-camera-how-to/]]\\