Skip to content

Commit

Permalink
Merge pull request #155 from robweber/omni-epd-0.4.0
Browse files Browse the repository at this point in the history
Omni-epd 0.4.0 for Bookworm
  • Loading branch information
robweber committed Nov 13, 2023
2 parents ed3b225 + ea30644 commit a233276
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions Install/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ffmpeg-python==0.2.0
Pillow>=9.1.0
ConfigArgParse==1.4.1
git+https://github.com/waveshare/e-Paper.git#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd
git+https://github.com/robweber/omni-epd.git@v0.3.4#egg=omni-epd
git+https://github.com/robweber/omni-epd.git@v0.4.0#egg=omni-epd
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

Very Slow Movie Player using Python + Raspberry Pi

## Regarding Raspberry Pi OS 12 Bookworm

There are numerous dependency issues with Python 3.11 and [upstream libraries](https://github.com/TomWhitwell/SlowMovie/issues/150) using this project with the latest Raspberry Pi OS (Bookworm). The preferred install method for now is to install the [legacy OS 11 (Bullseye)](https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/).

## Table Of Contents

- [Background](#background)
Expand Down Expand Up @@ -70,19 +66,17 @@ On the Raspberry Pi:
2. Create & activate python virtual environment (venv)
* Create virtual environment: `python3 -m venv --system-site-packages .SlowMovie`
* Activate virtual environment: `source .SlowMovie/bin/activate`
3. Install Waveshare e-paper drivers
* `pip3 install "git+https://github.com/waveshare/e-Paper.git#subdirectory=RaspberryPi_JetsonNano/python&egg=waveshare-epd"`
4. Clone this repo
3. Clone this repo
* `git clone https://github.com/TomWhitwell/SlowMovie`
* Navigate to the new SlowMovie directory: `cd SlowMovie/`
* Copy the default configuration file: `cp Install/slowmovie-default.conf slowmovie.conf`
5. Make sure dependencies are installed
4. Make sure dependencies are installed - this will install the EPD drivers
* `sudo apt install ffmpeg`
* `pip3 install ffmpeg-python`
* `pip3 install pillow`
* `pip3 install ConfigArgParse`
* `pip3 install git+https://github.com/robweber/omni-epd.git#egg=omni-epd`
6. Test it out
5. Test it out
* Run `python3 slowmovie.py`. If everything's installed properly, this should start playing `test.mp4` (a clip from _Psycho_) from the `Videos` directory.

## Usage
Expand Down Expand Up @@ -211,6 +205,7 @@ Please read our [contributing guidelines](/.github/CONTRIBUTING.md) before submi
* [@missionfloyd](https://github.com/missionfloyd)
* [@robweber](https://github.com/robweber)
* [@qubist](https://github.com/qubist)
* [@JonCellini](https://github.com/JonCellini)

## License

Expand Down

0 comments on commit a233276

Please sign in to comment.