Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSURL *mediaURL = ...
- AVPlayer *mainPlayer = [AVPlayer alloc] init];
- AVPlayerItem playerItem = [[AVPlayerItem alloc] initWithURL:mediaUrl];
- [mainPlayer replaceCurrentItemWithPlayerItem:playerItem];
- GPUImageMovie *currentMovieFile = [[GPUImageMovie alloc] initWithPlayerItem:playerItem];
- [currentMovieFile addTarget:...];
- [currentMovieFile startProcessing];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement