gpuimage

GPUImageMovie playback controls

冷暖自知 提交于 2019-11-27 22:42:02
问题 I'm trying to control the playback of a GPUImageMovie. What I would like to archive is jump from a frame to another (seekToTime back and forward, swipe controlled) rather then play the video, but I don't understand if the component it's designed for this use. GPUImageMovie -> filters -> GPUImageView I've tried to use an AVPlayer on playerItem, but apparetly it's null. 回答1: You can use AVPlayer for control video: create GPUImageMovie by using AVPlayerItem , so you can control your video by

Using GPUImage to Recreate iOS 7 Glass Effect

杀马特。学长 韩版系。学妹 提交于 2019-11-27 10:11:13
问题 I am trying to use the iOS 7 style glass effect in my glass by applying image effects to a screenshot of a MKMapView . This UIImage category, provided by Apple, is what I am using as a baseline. This method desaturates the source image, applies a tint color, and blurs heavily using the input vals: [image applyBlurWithRadius:10.0 tintColor:[UIColor colorWithRed:229/255.0f green:246/255.0f blue:255/255.0f alpha:0.33] saturationDeltaFactor:0.66 maskImage:nil]; This produces the effect I am

Video with GPUImageChromaKeyFilter has tint when played in transparent GPUImageView?

依然范特西╮ 提交于 2019-11-27 06:29:29
问题 I have a video with a solid green background, that I am trying to make transparent with GPUImageChromaKeyFilter. When I have clear colour for the player view, the result is that the video is not really transparent, but tints the background: When I change the background to white, the green background is gone, but obviously the view is not transparent: What am I doing wrong? My code is: let movie = GPUImageMovie(URL: url) let filter = GPUImageChromaKeyFilter() filter.setColorToReplaceRed(0,

Android: Sugar ORM No Such Table Exception

六月ゝ 毕业季﹏ 提交于 2019-11-26 22:55:49
问题 I am getting the No Such table exception when i am Using Sugar ORM with GPU image Android Library. I am using Gradle and Android Studio. Once i remove GPU image this issue is solved. So i don't know whats causing this exception. Details about this exception are also being discussed in this git issue and it seems a lot of people are still facing it. My crash log is posted below > 10-09 11:30:21.511 4326-4831/com.example.app E/SQLiteLog: (10) Failed > to do file read, got: 0, amt: 100, last