Logo
Explore Starred Help
Sign In
ivan.sievering/clip-annotator
1
0
Fork 0
You've already forked clip-annotator
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
69eab7514f3751bd948db952eb158c1a410a80f3
clip-annotator/.env.example

6 lines
223 B
Plaintext
Raw Normal View History

Add S3 storage support via s3fs; make storage field required - New filesystem.py: make_fs() factory (returns s3fs.S3FileSystem or None), plus fsjoin/fsstem/fsname path helpers - config.py: storage field is now required ('local' or 's3'); load_config raises a clear ValueError when it is missing - video_loader, clip_selector, annotator: thread fs through all file I/O; local paths unchanged, S3 paths use fs.open/fs.exists/fs.pipe - annotation_script: load .env via python-dotenv at startup, create fs from config and pass to Annotator - Add .env.example with SwitchEngines endpoint and AWS checksum env vars - pyproject.toml: add s3fs and python-dotenv dependencies - Reduce default mask alpha from 40% to 15% - Update example clip names to colon-separated timestamps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 16:15:38 +02:00
S3_ACCESS_KEY=your-access-key-here
S3_SECRET_ACCESS_KEY=your-secret-key-here
S3_ENDPOINT_URL=https://os.zhdk.cloud.switch.ch
AWS_REQUEST_CHECKSUM_CALCULATION="when_required"
AWS_RESPONSE_CHECKSUM_VALIDATION="when_required"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 12ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API