Sharing without a network through vision https://a.exozy.me/src/6_8301_Project.pdf
Go to file
2024-05-14 11:22:33 -04:00
decoder.py Thicker edges for mixing video 2024-05-14 11:22:33 -04:00
encoder.py Thicker edges for mixing video 2024-05-14 11:22:33 -04:00
README.md Run camera at 60fps and use state machine to skip every other frame 2024-05-12 16:33:34 -04:00
requirements.txt Use latest pre-release of reedsolo 2024-04-28 13:12:06 -04:00

6.8301 Project

Installation

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

Play video (SEIZURE WARNING): mpv --scale=nearest --fullscreen --loop --no-keepaspect vid.mkv

Copy the flags printed by the encoder and pass them to the decoder: python decoder.py FLAGS

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 1920x1080 --camera-fps 60