BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 330 forks source link

hele me please #101

Closed jsonwang closed 3 years ago

jsonwang commented 3 years ago

i want add subtitle into a mp4 video file , can i use a. uilabel view ? tell me how to do ?

008v commented 3 years ago

you should use AVSynchronizedLayer to display a CALayer. and use AVVideoCompositionCoreAnimationTool to export CALayer into a video.

008v commented 3 years ago

or you could create a CGContext with CVPixelBuffer, and draw CALayer in context.