'iOS how to draw on captured video before appending to an mp4/video file
In an iOS app I've captured a CVPixelBuffer and want to draw on it before appending to AVAssetWriterInputPixelBufferAdaptor.
Nothing that I've seen about drawing with Contexts saves to the buffer that's latter appended to an AssetWriter to save the images as a video.
I asked a more specific question about Contexts with a bounty. I reposed this as a more general question as I really need some pointers on where to look for solving this, also I'm not sure if contexts or CVPixelBuffer is the solution - I may need to copy the buffer to another data source to edit and then append that to video, not sure. Maybe using OpenCV to edit an image copy and saving that works (although that seems computationally expensive - the CVPixelBuffer should allow editing and appending from the same memory location, so no deep copies).
Apologies, video and iOS are new to me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
