Skip to content

Video artifacts and reduced video size after export #46

Description

@ilyalatugovskii

Hi!

After exporting videos using VideoIO, I am experiencing artifacts on the video, even without applying any filters. Additionally, when using the same codecs (in my case, .hevc), the video size is reduced by half. I am looking for suggestions on how to improve the video quality

Thanks and sorry if this is an amateur beginner question.

var configuration = AssetExportSession.Configuration(
      fileType: fileType,
      videoSettings: .hevc(
        videoSize: renderSize
      ),
      audioSettings: .aac(
        channels: 2,
        sampleRate: 44100,
        bitRate: 128 * 1000
      )
    )
    configuration.videoComposition = nil
    configuration.audioMix = audioMix

    self.exportSession = try AssetExportSession(
      asset: asset,
      outputURL: outputURL,
      configuration: configuration
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions