Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video artifacts and reduced video size after export #46

Open
ilyalatugovskii opened this issue Jun 8, 2023 · 4 comments
Open

Video artifacts and reduced video size after export #46

ilyalatugovskii opened this issue Jun 8, 2023 · 4 comments

Comments

@ilyalatugovskii
Copy link

ilyalatugovskii commented Jun 8, 2023

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
    )
@Umity
Copy link

Umity commented Nov 18, 2023

Same problem. How can we increase the quality when importing?

@Umity
Copy link

Umity commented Dec 31, 2023

@YuAo please help

@zachgibson
Copy link

Is this isolated to certain video formats? I'm using h264 and everything works just fine as far as I've noticed.

@deluxefx
Copy link

his isolated to certain vid
Zach, post here your original and output videos then lets talk about them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants