Various improvements

This commit is contained in:
Ilya Laktyushin
2025-01-22 20:33:42 +04:00
parent c178c19f88
commit 103b244216
10 changed files with 107 additions and 73 deletions

View File

@@ -1808,10 +1808,11 @@ public func recommendedVideoExportConfiguration(values: MediaEditorValues, durat
useHEVC = false
} else {
if isAvatar {
width = 640
height = 640
width = 800
height = 800
frameRate = 30
useHEVC = false
values = values.withUpdatedQualityPreset(.profile)
} else if isSticker {
width = 512
height = 512
@@ -1853,7 +1854,7 @@ public func recommendedVideoExportConfiguration(values: MediaEditorValues, durat
]
let audioSettings: [String: Any]
if isSticker {
if isSticker || isAvatar {
audioSettings = [:]
} else {
audioSettings = [