12,297
edits
mNo edit summary |
|||
Line 2: | Line 2: | ||
== Making the RapberryPi run a video at startup == | == Making the RapberryPi run a video at startup == | ||
=== Prepare the SD card === | |||
Install The Raspbian image (NOOBS is okay for the beginning, but it wastes a bit space on the SDcard for the recovery image which we don't need. [http://elinux.org/RPi_Easy_SD_Card_Setup Copy the raspbian on the card]. | Install The Raspbian image (NOOBS is okay for the beginning, but it wastes a bit space on the SDcard for the recovery image which we don't need. [http://elinux.org/RPi_Easy_SD_Card_Setup Copy the raspbian on the card]. | ||
Once that is done, connect to the Internet (Ethernet + DHCP) and bring the OS up to date: | Once that is done, connect to the Internet (Ethernet + DHCP) and bring the OS up to date: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get upgrade | sudo apt-get upgrade | ||
Line 22: | Line 22: | ||
clear | clear | ||
echo " | echo "Automatic start up script running" | ||
date '+Date %Y-%m-%d Time %H:%m' | |||
sleep 2 | sleep 2 | ||
clear | |||
omxplayer -r movie.mp4 --loop | omxplayer -r movie.mp4 --loop | ||