Square video using AVFoundation

后端 未结 1 1034
再見小時候
再見小時候 2021-01-03 13:51

I followed the given tutorial to create a custom square video recording camera. http://www.netwalk.be/article/record-square-video-ios

I am able to export a square vi

相关标签:
1条回答
  • 2021-01-03 14:33

    I have updated the github repository with the code.

    These were the errors that I rectified :

    • I was making mistake while creating the url for documents directory hence i was not able to use the video.
    • I was not creating the videoComposition properly. There were issue while creating the CMTimeRange.

    Please visit the repository and check for yourself. Also upvote if the code helped you in anyway. Thanks!!

    Repo link - https://github.com/ankit-betterbutter/CustomCamera

    0 讨论(0)
提交回复
热议问题