a webcam with a 5 second, 30 minute, or 24 hour delay
Go to file
2024-08-03 14:10:01 -04:00
.gitignore cleaning 2024-07-28 17:38:49 -04:00
Pipfile first round of trying to get it to work on pi5. ffmpeg hardcoding removed. 2024-08-03 14:10:01 -04:00
Pipfile.lock first round of trying to get it to work on pi5. ffmpeg hardcoding removed. 2024-08-03 14:10:01 -04:00
readme.md first round of trying to get it to work on pi5. ffmpeg hardcoding removed. 2024-08-03 14:10:01 -04:00
webcam.py first round of trying to get it to work on pi5. ffmpeg hardcoding removed. 2024-08-03 14:10:01 -04:00

run it with python3 after pipenv install opencv-python

this progrram opens a fullscreen window showing a feed from camera 0 with a delay. it will collect a lot of video files in the videos/ folder, and use them for showing a long (multiple minutes) delay it also holds ontoo a buffer of a couple hundred frames to show shorter delays (like 5 oor 30 seconds) it doesn't currently do anything to handle missing files, but it would be nice to give it a "default" swirly portal looking video to show hopefully this'll run on a raspberry pi in the desert.

sudo apt install libfdk-aac2 libfdk-aac-dev python3-opencv sudo apt install obs-studio # optional for testing?

sudo apt install python3-pipenv pipenv lock # ? pipenv install pipenv run python3 webcam.py