- Quality gate: quality_probe.py probes the offered YouTube resolution before starting; /api/process returns needs_confirmation below QUALITY_GATE_MIN_HEIGHT (720p) and the UI shows a 'process anyway' modal that resends with force_low_quality. Fail-open on any probe error. URL sources only. - Output format: MediaInput picks 9:16 / 1:1 / 16:9; threaded through /api/process -> main.py --format. render_clip() routes vertical/square to the reframe (aspect_ratio param) and horizontal to a passthrough (keep landscape). - Whisper: main pipeline defaults to 'small' (better non-English) with vad_filter + no cross-segment conditioning; env-overridable.
29 lines
1.2 KiB
Text
29 lines
1.2 KiB
Text
# AWS S3 (optional — for clip backup/gallery)
|
|
AWS_ACCESS_KEY_ID=your_aws_access_key_here
|
|
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
|
|
AWS_REGION=eu-west-3
|
|
AWS_S3_BUCKET=your-bucket-name
|
|
AWS_S3_PUBLIC_BUCKET=your-public-bucket-name
|
|
|
|
# YouTube cookies (optional — paste Netscape-format cookies to bypass bot detection)
|
|
# YOUTUBE_COOKIES=...
|
|
|
|
# Google OAuth (cloud/billing mode only). When logging in through a proxy whose
|
|
# Host header doesn't match a Google-registered URI (e.g. local dev via the Vite
|
|
# proxy), pin the callback explicitly:
|
|
# OAUTH_REDIRECT_URI=http://localhost:8000/api/auth/google/callback
|
|
# FRONTEND_URL=http://localhost:5175
|
|
|
|
# Local dev: show the full pipeline logs (yt-dlp/ffmpeg/debug) in the UI even
|
|
# when running in paid mode (BILLING_ENABLED). Cloud/prod leaves this unset.
|
|
# DEBUG_LOGS=true
|
|
|
|
# Pre-flight quality gate: warn before processing a YouTube source below this
|
|
# height (720p default; 0 disables). Only applies to URL sources.
|
|
# QUALITY_GATE_MIN_HEIGHT=720
|
|
|
|
# Whisper transcription model (main pipeline). "small" is better than "base" on
|
|
# non-English audio; "base" is faster. device/compute for GPU tuning.
|
|
# WHISPER_MODEL=small
|
|
# WHISPER_DEVICE=cpu
|
|
# WHISPER_COMPUTE=int8
|