aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 776d41ce286737a97953f9bcc21c284b91aa5df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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`

Decode: `python decoder.py -o out`

Formatting: `black -l 120 *.py`

Use phone as webcam for higher quality video: `scrcpy --v4l2-sink=/dev/video4 --video-source=camera --no-video-playback --camera-size 1920x1440`