Streaming Video Raspberry Web Interface

From Tmplab

Streaming Video with a Raspberry pi, Web Interface

At the Streaming_Video_With_RaspberryPi page, we see how to drive a raspberry pi to save video files locally, stream them using ffmpeg & oggfwd on a secondary laptop.

This page explains the web interface vincib developped to drive the raspberry pi camera from a local machine, triggering the camera recording and saving files with their metadata.

Code at https://github.com/vincib/raspicamlive

principles

  • written in brutal php
  • using bootstrap for beautiful interface :)
  • no db, only local files

interface menu

  • harddrive management detect usb or hdd plugged to the PI and format / mount / umount them
  • DONE capture management allow to start / stop the video with various parameters (width height framerate bitrate whitebalance), allow to save metadata in a json file in the project folder too. show a picture preview for each new .TS file.
  • video management show previous projects and their capture date, their duration etc. Allow to download a .MTS of a specific sequence (project, starttime, endtime)
  • DONE settings change rsync server password, poweroff the pi, restart the pi, restart the video service