diff --git a/app/components/UploadPreferencesPanel.vue b/app/components/UploadPreferencesPanel.vue
index 5f6f5ae..03ce0ff 100644
--- a/app/components/UploadPreferencesPanel.vue
+++ b/app/components/UploadPreferencesPanel.vue
@@ -31,6 +31,11 @@ const gridClass = computed(() => {
})
const { t } = useI18n()
+const {
+ lowMemory,
+ memoryBytes,
+ load: loadTranscodeSettings
+} = useTranscodeSettings()
const {
userSettings,
@@ -52,6 +57,12 @@ const clientQualityLevel = computed(() => {
return t('preferences.qualityLow')
})
+const memoryGb = computed(() => (
+ memoryBytes.value > 0
+ ? (memoryBytes.value / (1024 * 1024 * 1024)).toFixed(1)
+ : '—'
+))
+
function setCopyFormat(value: 'url' | 'markdown' | 'html' | 'bbcode') {
copyFormat.value = value
}
@@ -64,6 +75,7 @@ function onClientQualityInput(event: Event) {
onMounted(() => {
loadPreferences()
void loadUserSettings()
+ void loadTranscodeSettings()
})
@@ -170,6 +182,15 @@ onMounted(() => {
{{ t('preferences.videoProcessing') }}
+
+