Skip to content

Commit

Permalink
New README
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubvalenta committed Sep 15, 2020
1 parent 00650eb commit 17c2cea
Showing 1 changed file with 168 additions and 8 deletions.
176 changes: 168 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,154 @@
# Video Pi Debian Package
# Video Pi

_Video player for artists by artists_

This document contains technical information about Video Pi. For general help
and configuration instructions visit
[videopi.saloun.cz](https://videopi.saloun.cz).
Video Pi is a simple video player specifically designed for art
installations. It is a software package for the Raspberry Pi mini computer.

## Build
[https://videopi.saloun.cz](https://videopi.saloun.cz)

## Features

- supports a __wide range of video formats__
- plays all video files from a __USB stick__ in a __loop__
- __turns on automatically__ when connected to power
- __HDMI and S-Video__ output

## Supported hardware

Tested:

- Raspberry Pi 3 Model B

Supported but not tested:

- Raspberry Pi 2 Model B
- Raspberry Pi 3 Model B+
- Raspberry Pi 4

Not supported:

- Raspberry Pi 1

## Installation

1. Install [Raspberry Pi
OS](https://www.raspberrypi.org/downloads/raspberry-pi-os/) on your Raspberry
Pi. Follow the [installation
guide](https://www.raspberrypi.org/documentation/installation/installing-images/README.md).

2. Download the video-pi package and its dependencies and transfer them to the
Raspberry Pi:

- [omxiv](TODO).
- [udevil-0.4.4+](TODO).
- [video-pi](TODO).

3. On the Raspberry Pi, install the packages:

``` shell
sudo dpkg -i omxiv_*.deb
sudo dpkg -i udevi_*.deb
sudo dpkg -i video-pi_*.deb
```

## User guide

### Starting Video Pi

1. Make sure the **HDMI or S-Video cable** is connected _before_ you power on
the device.
2. Plug in the power source

When Video Pi finishes startup, it will show a desktop with white background and
the red Video Pi logo.

### Changing video output resolution

1. Connect a USB mouse and keyboard.
3. Click the **configuration icon** in the top left corner of the desktop. Use
the keyboard to navigate the interface. Screen resolution settings are under
_Advanced_.

### Video playback

To start playing videos, simply **connect a USB stick** with the video
files. Video Pi will play all files in **alphabetical order**. When it finishes
the last file, it will start again with the first file without any break.

When a USB stick is connected before the device starts, Video Pi will start
**playing the videos immediatelly after starting up** (you don't need to
disconnect the USB stick and connect it again).
To enforce **particular video order**, name your files with numbers or lowercase
letters. Non-latin characters (with diacritics, in cyrillic etc) as well as
special characters (punctuation etc) are discouraged.
Video Pi supports Full HD (1080p) **video resolution**.
The **loop** (repeat all) function cannot be turned off.
### Image slideshow
You can put image files on the USB stick too (even mix video and image
files). Each image will be shown for **5 seconds**.
### Audio output
To adjust **audio volume**, disconnect the USB stick and then use the blue icon
on the right side of the top system panel. Right-click the icon to change
whether the **sound will play from HDMI or from the 3.5mm jack**.
## FAQ
### Video playback is not smooth
1. Make sure your power supply is strong enough.
2. Try different encoding options when rendering the video. Videos transcoded in
VLC with the setting _Video for MPEG4 1080p TV/device_ are tested to play
well.
3. Lastly, you can try overclocking your Raspberry Pi.
### Changing the time between images in a slideshow
You can change the setting only by editing the files `/usr/bin/video-pi-play`
and `/usr/bin/video-pi-play-images-only`.
## Support and getting involved
If you have an idea on how to improve Video Pi or if you need help using it,
send me an email to:
videopi at saloun dot cz
Also please let us know if you're in Berlin or Prague and have a Raspberry Pi 3
Model B+ or Raspberry Pi 4 to lend out for testing.

## Buy Video Pi

If you don't feel like installing Video Pi yourself, I can
- **lend you a Video Pi** (or two, or a dozen) for a daily price for as long as
you need,
- or I can **sell it to you**, so it will be yours and yours only forever.
In either case, I will **help you with the initial setup**.
Contact:
videopi at saloun dot cz
## Acknowledgements
Video Pi uses:
- [udevil](https://ignorantguru.github.io/udevil/) to trigger an action when USB
stick is inserted
- [VLC](https://www.videolan.org/} video play
- [omxiv](https://github.com/HaarigerHarald/omxiv) image viewer
- [raspi-config](https://github.com/RPi-Distro/raspi-config) configuration tool
## Building from source
1. Install Docker and start it.
Expand All @@ -16,13 +158,23 @@ and configuration instructions visit
make debian-container-build
```
2. Build the Video Pi Debian package:
2. Build Video Pi Debian package:
``` shell
make debian-build
```
The package will be created in the directory `dist/`.
3. Build omxiv Debian package:
1. Clone this repository on the target Raspberry Pi.
2. Run `./build-omxiv`.
4. Build udevil Debian package:
1. Clone this repository on the target Raspberry Pi.
2. Run `./build-udevil`.
All packages will be created in the directory `dist/`.
### Signing
Expand All @@ -32,7 +184,15 @@ Additionally, you can sign the built package with GPG:
make sign key_id='<gpg key fingerprint>'
```
### License
## Change log
- latest [version 1.0.0](TODO)
Initial release of the Debian package.
Signature: `E758 2303 2628 5069 5EF0 B8A7 97C3 CB6A 11E7 4F7E`
## License
Copyright 2015-2020 Jakub Valenta
Expand Down

0 comments on commit 17c2cea

Please sign in to comment.