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 and Google I can’t find any way to actually use it. From the docs it looks like I need an input (AVAssetWriterInput
) to feed the writer from. Fine. But the AVAssetWriterInput
class is abstract and the only subclass that I know of in 4.1 is AVAssetWriterInputPixelBufferAdaptor
that requires a AVAssetWriterInput
in its initializer…? Am I missing something obvious here?
Asked
Active
Viewed 2.5k times
22

zoul
- 102,279
- 44
- 260
- 354
-
Nice work on search optimisation. – kelin Mar 20 '19 at 13:10