MonteeqOrg/backend-storage
54 MB
None defined yet.
High-performance, asynchronous Rust service for processing and transcoding video to HLS.
In your Hugging Face Space settings, add the following Secrets (AWS S3 — match backend/.env):
| Secret Name | Value |
|---|---|
REDIS_URL |
Redis Cloud connection URL |
AWS_ACCESS_KEY_ID |
AWS access key |
AWS_SECRET_ACCESS_KEY |
AWS secret key |
AWS_STORAGE_BUCKET_NAME |
monteeq-2 |
AWS_S3_REGION_NAME |
eu-central-1 |
AWS_CLOUDFRONT_DOMAIN |
cdn.monteeq.com |
Leave S3_ENDPOINT unset (or empty) so the service uses native AWS S3.
| Variable | Default | Purpose |
|---|---|---|
MAX_CONCURRENT_JOBS |
min(cpus / 2, RAM GB / 1.5, DISK_IO_LIMIT) |
Worker slots. Override when the host reports throttled/shared CPUs. |
DISK_IO_LIMIT |
4 |
Upper bound used by the automatic slot calculation. |
UPLOAD_CONCURRENCY |
12 |
Parallel S3 segment PUTs. |
ffprobe call returns dimensions, duration, audio presence and codecs.-c copy) instead of re-encoded. Otherwise the ladder is filtered against the source height, so the service never upscales, and the free tier emits a single rendition.thumbnails/{task_id}.jpg.task:status:{task_id} carries progress, and variants (the playlist names actually produced) so the backend only advertises renditions that exist.