IOS video editing library

I am looking for a video editing library on iOS.

Editing tasks: -> Adding text or labels on top of the video frame.

In my application, the user should be able to select videos from the video library, as well as play the video in the player. And the user can pause the video, and then add text or tags using his free hand. we need to combine the added text and tags in this video.

+5
source share
2 answers

AVFoundation will do all this and more. The user interface for the application, of course, is up to you. But all video manipulation is quite simple to implement using this powerful built-in library.

AVFoundation .

+3

GPUImage . .

contentView.backgroundColor = [UIColor clearColor];

UIImageView *ivTemp = [[UIImageView alloc] initWithFrame:CGRectMake(20, 20, 147, 59)];
//    UIImage *currentFilteredVideoFrame = [selectedFilter imageFromCurrentFramebuffer];
ivTemp.image = [UIImage imageNamed:@"minimumtrackimage"];
ivTemp.userInteractionEnabled = YES;
[contentView addSubview:ivTemp];


UILabel *lblDemo = [[UILabel alloc] initWithFrame:CGRectMake(0, 100, 200, 30)];
lblDemo.text = @"is this text on video?";
lblDemo.font = [UIFont systemFontOfSize:30];
lblDemo.textColor = [UIColor redColor];
lblDemo.tag = 1;
lblDemo.hidden = YES;
lblDemo.backgroundColor = [UIColor redColor];
[contentView addSubview:lblDemo];




GPUImageUIElement *uiElementInput = [[GPUImageUIElement alloc] initWithView:contentView];
[uiElementInput addTarget:selectedFilter];
__unsafe_unretained GPUImageUIElement *weakUIElementInput = uiElementInput;
[weakUIElementInput update];

.

0

All Articles