How do I use AVAssetWriter?

前端 未结 1 2002
我寻月下人不归
我寻月下人不归 2021-02-12 16:52

I’d like to take some video frames and encode them into a video. It looks like that’s exactly what AVAssetWriter was meant for, but no matter how I eyeball the docs

1条回答
  •  再見小時候
    2021-02-12 17:12

    Ah yes, I have to acquire an instance using +[AVAssetWriterInput assetWriterInputWithMediaType:outputSettings:], see my post under a different question for a detailed code sample.

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