Clone this repository.
Create a virtual environment, for example, directory venv
using Python's venv
module.
python -m venv venv
Activate the new environment with:
source ./venv/bin/activate
Make sure the latest pip version is in your virtual environment:
pip install --upgrade pip
Install all dependencies:
apt install mediainfo ffmpeg
pip install -e ".[test,dev]"
Test run cli tool:
make-room --help
# at project root
make-room ~/ec-keep/photos-videos/2024/
This finds video within the ~/ec-keep/photos-videos/2024/
directory and encodes them using H265 with a constant rate factor of 28.
# at project root
python src/make_room/to_avif.py ~/ec-keep/photos-videos/2024/
This finds jpeg pictures within the ~/ec-keep/photos-video/2024/
direcotry and encodes them to avif format, which has better compression (i.e. saves space).