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

StartWriting() to generate video fail (IPhone 12) #77

Open
aaron-snt opened this issue Nov 20, 2020 · 0 comments
Open

StartWriting() to generate video fail (IPhone 12) #77

aaron-snt opened this issue Nov 20, 2020 · 0 comments

Comments

@aaron-snt
Copy link

I would like some help to make this work correctly.
I am generating video from UIImage array by using generate interface of this opensource.

Iphone 8 (IOS 14.2.0) works well.
But Iphone 12 (IOS 14.2.0) doesn't works well.

Additionally, I change codec type to hevc. This is works well.
------code------

      let videoSettings: [String : AnyObject] = [
        AVVideoCodecKey  : AVVideoCodecType.hevc as AnyObject,
        AVVideoWidthKey  : outputSize.width as AnyObject,
        AVVideoHeightKey : outputSize.height as AnyObject
      ]

I just want to use h264 encoder to make vidoe.

Could you help me?

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

1 participant