From 13ea4fe01805ba85a8af4602119d450ba475648f Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 28 Apr 2024 13:12:06 -0400 Subject: Use latest pre-release of reedsolo --- README.md | 14 +++++++++++--- requirements.txt | 3 +-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 98eb594..776d41c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # 6.8301 Project +## Installation + +```sh +pip install -r requirements.txt +# Compile reedsolo using Cython +pip install --upgrade reedsolo --no-binary "reedsolo" --no-cache --config-setting="--build-option=--cythonize" --use-pep517 --isolated --pre --verbose --force-reinstall +``` + +## Usage + Encode: `python encoder.py -i in -o vid.mkv` Play video: `mpv --scale=nearest --fullscreen --loop --no-keepaspect vid.mkv` @@ -8,6 +18,4 @@ Decode: `python decoder.py -o out` Formatting: `black -l 120 *.py` -TODO: -- Limit BFS time -- Write better ECC +Use phone as webcam for higher quality video: `scrcpy --v4l2-sink=/dev/video4 --video-source=camera --no-video-playback --camera-size 1920x1440` diff --git a/requirements.txt b/requirements.txt index 6a26da4..dc28197 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ -Cython==3.0.10 numpy==1.26.4 opencv-python==4.9.0.80 raptorq==2.0.0 -reedsolo==1.7.0 +reedsolo==2.1.1b1 -- cgit v1.2.3-70-g09d2