Created
May 26, 2025 13:54
-
-
Save PatrickKalkman/a371b56bea12d32f1d1f4e98a25b9be1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configurable quality settings | |
video_height = int(os.environ.get("VIDEO_HEIGHT", "120")) # Lower = faster | |
video_crf = int(os.environ.get("VIDEO_CRF", "28")) # Higher = smaller files | |
video_fps = int(os.environ.get("VIDEO_FPS", "5")) # Lower = fewer frames | |
# These settings reduce file sizes by 95%+ while maintaining detection accuracy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment