Created
September 26, 2017 16:05
-
-
Save jpetrich/cceb1d2eb74d5163e08088230c28ea81 to your computer and use it in GitHub Desktop.
Setting up an AVAssetWriterInput with HEVC encoding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avAssetWriterInput = AVAssetWriterInput(mediaType: AVMediaType.video, outputSettings: [AVVideoCodecKey:AVVideoCodecType.hevc, AVVideoHeightKey:720, AVVideoWidthKey:1280]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment