https://github.com/ltebean/ltvideorecorder
A demo project demonstrating how to add filter, drawing, and text to a video
https://github.com/ltebean/ltvideorecorder
filter short video video-processing video-recording
Last synced: 5 months ago
JSON representation
A demo project demonstrating how to add filter, drawing, and text to a video
- Host: GitHub
- URL: https://github.com/ltebean/ltvideorecorder
- Owner: ltebean
- Created: 2018-12-29T08:34:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T02:48:18.000Z (almost 7 years ago)
- Last Synced: 2025-04-20T19:37:58.273Z (6 months ago)
- Topics: filter, short, video, video-processing, video-recording
- Language: Swift
- Size: 623 KB
- Stars: 25
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
![]()
![]()