-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
37 lines (33 loc) · 1.91 KB
/
.env.sample
File metadata and controls
37 lines (33 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ─── S3 Settings ──────────────────────────────────────────────────────────────
# AWS region
AWS_REGION=us-east-1
# Bucket where original videos live
S3_BUCKET_VIDEOS=oriane-contents
# Bucket where extracted frames are uploaded
S3_BUCKET_FRAMES=oriane-contents
# How many times to retry each S3 operation
S3_RETRIES=3
# Milliseconds to wait between S3 retry attempts
S3_RETRY_DELAY=1000
# Seconds socket connect timeout for S3
S3_CONNECT_TIMEOUT=10
# Seconds socket read timeout for S3
S3_READ_TIMEOUT=60
# Threads to use for parallel frame uploads
S3_UPLOAD_THREADS=4
# ─── Supabase Credentials ─────────────────────────────────────────────────────
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_KEY=your-service-role-key
# ─── Frame Extraction Settings ────────────────────────────────────────────────
# Minimum key frames per video if scene-detector finds fewer
MIN_FRAMES=3
# ContentDetector threshold (default 27.0, should be between 8.0 and 30.0). Lower → more sensitive.
SCENE_THRESHOLD=12.0
# ─── Lambda / Concurrency ────────────────────────────────────────────────────
# How many videos to process in parallel per Lambda invocation
CONCURRENCY_LIMIT=2
# Don’t start new heavy work if Lambda has less than this ms remaining
MIN_REMAINING_MS=60000
# ─── Debug & Logging ─────────────────────────────────────────────────────────
DEBUG=true
DEBUG_DEEP=false