Coder Social home page Coder Social logo

jonwitts / pi_simple_video_looper Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 185 KB

A Raspberry Pi Simple Video Looper - uses BASH and Python3

License: GNU General Public License v3.0

Shell 83.41% Python 16.59%
raspberry-pi raspberry pi video-looper video installation installation-art

pi_simple_video_looper's Introduction

A Raspberry Pi Simple Video Looper

A Bash Video Looper for the Raspberry Pi and a Python3 shutdown button and LED indicator

To install either clone this repo to a Raspberry Pi with wifi setup on it and run setup.sh as root, or run this command:

curl -L http://bit.ly/PiLooper | sudo bash

N.B. It is generally not a good idea to pipe the output of a shortened URL straight into a root shell; but follow the link first and you will see it takes you to the setup.sh file and processes that for you!

To setup the shutdown button and LED you will need to connect a push button and LED to your Raspberry Pi as shown in the diagram below.

Once everything is installed you can plug a USB stick into your Raspberry Pi with a MP4 or AVI video on it and then when you start the Pi up, it will auto mount the USB stick for you, scan it for MP4 or AVI files and play the last one it finds.

To safely shut your Raspberry Pi down, press and hold the button for three seconds. You will then see the LED flash three times and your Pi will then safely shutdown. Just switch the power off and on again to restart your Video Looper!

Tested against Raspbain Stretch Lite. It should also work with the full Raspbian Stretch but it makes more sense to use the Lite version as you will no doubt want to run this headless...

Wiring diagram for the python shutdown script

pi_simple_video_looper's People

Contributors

jonwitts avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.