EctoPress is a lightweight, Dockerized tool inspired by Ghostbusters' ectoplasmic containment tech
986
EctoPress is a lightweight, Dockerized tool inspired by Ghostbusters' ectoplasmic containment tech. It monitors a folder for large MP4 video files and compresses them into smaller, high-quality outputs with preserved metadata and aspect ratio.
Pull the Docker image and map your local directories for input and output videos:
docker run -d \
-e TARGET_RESOLUTION=1920x1080 \
-e TARGET_BITRATE=3M \
-v ~/Videos/input:/usr/src/app/upload \
-v ~/Videos/output:/usr/src/app/converted \
rflpazini/ectopress:latest
~/Videos/input folder.~/Videos/output folder.Simplify the deployment using Docker Compose:
services:
ectopress:
image: rflpazini/ectopress:latest
container_name: ectopress
environment:
- TARGET_RESOLUTION=1280x720
- TARGET_BITRATE=2M
volumes:
- ~/Videos/input:/usr/src/app/upload
- ~/Videos/output:/usr/src/app/converted
restart: unless-stopped
Start the service:
docker-compose up -d
| Variable | Default Value | Description |
|---|---|---|
SOURCE_DIR | /usr/src/app/upload | Directory for input video files. |
TARGET_DIR | /usr/src/app/converted | Directory for compressed videos. |
TARGET_RESOLUTION | 1280x720 | Resolution for the compressed videos. |
TARGET_BITRATE | 2M | Bitrate for the compressed videos. |
MAX_CPU_CORES | auto | Number of CPU cores to use for compression. |
📂 Monitoring folder: /usr/src/app/upload
🎥 Compressing /usr/src/app/upload/video1.mp4
✅ File timestamps updated: /usr/src/app/converted/video1_compressed.mp4
✅ Compression successful! Output saved at: /usr/src/app/converted/video1_compressed.mp4
Inspired by Ghostbusters' iconic ectoplasmic containment system, EctoPress is here to "trap and compress" your oversized videos, saving space without compromising on quality.
EctoPress is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions! If you have ideas to improve EctoPress, feel free to open an issue or submit a pull request.
.mp4 (MPEG-4 Part 14)Shoutout to Ghostbusters for inspiring the name and concept of this project! “Who you gonna call?” 🚀
Content type
Image
Digest
sha256:a265c9ab9…
Size
328.2 MB
Last updated
over 1 year ago
docker pull rflpazini/ectopress