variablize transcoder settings

This commit is contained in:
Arlan Lloyd 2024-08-16 04:51:46 +00:00
parent 839548cb44
commit 8e61244e7b
2 changed files with 7 additions and 2 deletions

View File

@ -48,9 +48,9 @@ spec:
{{- end }}
env:
- name: GOCODER_HWACCEL
value: disabled
value: {{ .Values.kyoo.transcoderAcceleration }}
- name: GOCODER_PRESET
value: fast
value: {{ .Values.kyoo.transcoderPreset }}
- name: GOCODER_CACHE_ROOT
value: /cache
- name: GOCODER_METADATA_ROOT

View File

@ -84,6 +84,11 @@ kyoo:
unloggedPermissions: ""
libraryIgnorePattern: ".*/[dD]ownloads?/.*"
languages: "en"
# hardware acceleration profile (valid values: disabled, vaapi, qsv, nvidia)
transcoderAcceleration: disabled
# the preset used during transcode. faster means worst quality, you can probably use a slower preset with hwaccels
# warning: using vaapi hwaccel disable presets (they are not supported).
transcoderPreset: fast
apikey:
existingSecret: bigsecret
apikeyKey: kyoo_apikeys