-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env
25 lines (24 loc) · 1.23 KB
/
.env
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
# db
POSTGRES_DB=streaming_server
# web
#Don't forget to change these in production !
DJANGO_DATABASE_URL=postgres://postgres:password@db/streaming_server
DJANGO_SECRET_KEY=fdj(re&lf87/qwm%jkiq78fdah346gsa
POSTGRES_PASSWORD=password
HTTPSTREAMING_HOST=
#Set to True if deployed behind reverse proxy
DEPLOY_BEHIND_PROXY=false
#During the ingestion process, two video layers are generated. It enables to switch between quality if the network is bad (using MPEG DASH)
#The lowest quality layer has a fixed bitrate and its resolution is equal to the input one divided by 2.
#The highest quality bitrate depends on the input resolution and therefore is relative.
#HIGH_LAYER_QUALITY should be set between 1 and 4, 1 is the lowest, 10 the highest. (For 1080p input, 1 = 2mb/s, 4 = 10mb/s, ..)
HIGH_LAYER_QUALITY=3
#Set LOW_QUALITY_LAYER_BITRATE to 0 if you only want one layer (highest quality) output.
LOW_QUALITY_LAYER_BITRATE=400000
X264_SETTINGS=medium
#If True, subprocess output will be dumped to log files (very verbose, use with care)
SUBPROCESS_VERBOSE_OUTPUT=False
#Number of gunicorn worker (should be set accordingly to your hardware)
NUM_GUNICORN_WORKER=4
#If a tmdb API token is provided, Movies/Tv show cover will be downloaded from there.
TMBD_KEY=