ltebean / LTVideoRecorder

A demo project demonstrating how to add filter, drawing, and text to a video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project demonstrates how to use CoreImage to add filter, drawing, and text to a video.

The flow is:

  • for every frame, get CVPixelBuffer from a AVCaptureSession, convert it to a CIImage instance
  • add filter to the CIImage
  • add drawing and text layer to the CIImage
  • render the CIImage to the screen
  • write the CIImage to the file

About

A demo project demonstrating how to add filter, drawing, and text to a video


Languages

Language:Swift 99.4%Language:Ruby 0.6%