diff options
author | Jesús <heckyel@hyperbola.info> | 2021-09-06 16:47:40 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-09-06 16:47:40 -0500 |
commit | 4d61ac4bb25993d33073485d07e2ceacb837af86 (patch) | |
tree | 6a846f4ce45b2e2056e82fcc62c33054e635cc3e | |
parent | f1c38b8b2158c4434b07fe7d5fc938030351b4cc (diff) | |
download | yt-local-docker-4d61ac4bb25993d33073485d07e2ceacb837af86.tar.lz yt-local-docker-4d61ac4bb25993d33073485d07e2ceacb837af86.tar.xz yt-local-docker-4d61ac4bb25993d33073485d07e2ceacb837af86.zip |
update config
-rw-r--r-- | config.env.example | 4 | ||||
-rw-r--r-- | core/entrypoint.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/config.env.example b/config.env.example index 6018989..99e74b5 100644 --- a/config.env.example +++ b/config.env.example @@ -24,7 +24,9 @@ DEFAULT_COMMENT_SORTING=0 THEATER_MODE=True DEFAULT_RESOLUTION=1080 -PREFERRED_VIDEO_CODEC=0 +CODEC_RANK_H264=3 +CODEC_RANK_VP=2 +CODEC_RANK_AV1=1 PREFER_UNI_SOURCES=True USE_VIDEO_PLAYER=2 diff --git a/core/entrypoint.sh b/core/entrypoint.sh index 6d9be44..5db47d6 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -56,7 +56,9 @@ theater_mode = ${THEATER_MODE:-True} default_resolution = ${DEFAULT_RESOLUTION:-2160} -preferred_video_codec = ${PREFERRED_VIDEO_CODEC:-0} +codec_rank_h264 = ${CODEC_RANK_H264:-3} +codec_rank_vp = ${CODEC_RANK_VP:-2} +codec_rank_av1 = ${CODEC_RANK_AV1:-1} prefer_uni_sources = ${PREFER_UNI_SOURCES:-True} |