diff options
author | Anthony Wang | 2024-04-28 13:12:06 -0400 |
---|---|---|
committer | Anthony Wang | 2024-04-28 13:12:06 -0400 |
commit | 13ea4fe01805ba85a8af4602119d450ba475648f (patch) | |
tree | 3adfae3bd6ba40c1c062ad6a5ec5d4558e1dfe2d | |
parent | 32ddc1c750136e75753da6195bf0b8b020d83e87 (diff) |
Use latest pre-release of reedsolo
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | requirements.txt | 3 |
2 files changed, 12 insertions, 5 deletions
@@ -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 |