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 }} {{- end }}
env: env:
- name: GOCODER_HWACCEL - name: GOCODER_HWACCEL
value: disabled value: {{ .Values.kyoo.transcoderAcceleration }}
- name: GOCODER_PRESET - name: GOCODER_PRESET
value: fast value: {{ .Values.kyoo.transcoderPreset }}
- name: GOCODER_CACHE_ROOT - name: GOCODER_CACHE_ROOT
value: /cache value: /cache
- name: GOCODER_METADATA_ROOT - name: GOCODER_METADATA_ROOT

View File

@ -84,6 +84,11 @@ kyoo:
unloggedPermissions: "" unloggedPermissions: ""
libraryIgnorePattern: ".*/[dD]ownloads?/.*" libraryIgnorePattern: ".*/[dD]ownloads?/.*"
languages: "en" 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: apikey:
existingSecret: bigsecret existingSecret: bigsecret
apikeyKey: kyoo_apikeys apikeyKey: kyoo_apikeys