Benutzer-Werkzeuge

Webseiten-Werkzeuge


raspberry_pi

Raspberry Pi

Zeitraffer

Bilder aufnehmen

raspistill --timelapse 2000 --timeout 20000 -w 640 -h 480 -o image%04d.jpg

Zeitraffervideo erstellen

Mit omxplayer Filme wiederholen

edu|days, Schwarzinger, 23.4.2014

config.txt

hdmi_force_hotplug=1 aktivieren

raspi-config

Standard Passwort: pi/raspberry

sudo adduser

sudo usermod -a -G sudo rene , Benutzer zu Gruppe hinzufuegen

sudo nano /etc/ssh/sshd_config

PermitRootLogin yes

#!/bin/sh
# get rid of the cursor so we don't see it when videos are running
setterm -cursor off
# set here the path to the directory containing your videos
VIDEOPATH="/home/pi/videos"
# you can normally leave this alone
SERVICE="omxplayer"
# now for our infinite loop!
while true; do
  if ps ax | grep -v grep | grep $SERVICE > /dev/null
  then
      sleep 1;
  else
      for File in $VIDEOPATH/*
      do
          clear
          $SERVICE $File > /dev/null
      done
  fi
done
raspberry_pi.txt · Zuletzt geändert: 2017/08/26 15:39 von admin