jsonwang 4 лет назад
Родитель
Сommit
a011fc86a3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      BFFramework/Classes/PQGPUImage/akfilters/Tools/PQCompositionExporter.swift

+ 1 - 1
BFFramework/Classes/PQGPUImage/akfilters/Tools/PQCompositionExporter.swift

@@ -100,7 +100,7 @@ public class PQCompositionExporter {
         let videoEncodingSettings: [String: Any] = [
         let videoEncodingSettings: [String: Any] = [
             AVVideoCompressionPropertiesKey: [
             AVVideoCompressionPropertiesKey: [
                 AVVideoExpectedSourceFrameRateKey: 30,
                 AVVideoExpectedSourceFrameRateKey: 30,
-                AVVideoAverageBitRateKey: (input?.mShowVidoSize.width ?? 0) * (input?.mShowVidoSize.height ?? 0) * 2,
+                AVVideoAverageBitRateKey: (input?.mShowVidoSize.width ?? 0) * (input?.mShowVidoSize.height ?? 0) * 4,
                 AVVideoProfileLevelKey: AVVideoProfileLevelH264HighAutoLevel,
                 AVVideoProfileLevelKey: AVVideoProfileLevelH264HighAutoLevel,
                 AVVideoH264EntropyModeKey: AVVideoH264EntropyModeCABAC,
                 AVVideoH264EntropyModeKey: AVVideoH264EntropyModeCABAC,
             ],
             ],