SCRecorder
SCRecorder copied to clipboard
above iOS9 have filters like "CIZoomBlur" "CICMYKHalftone",but iOS8 didn't;resetDefault to some animated filters
I use SCSwipeableFilterView to handle layout a mutableComposition ,layout that just fine.But the filters added to it ,could be nil.
-
will it be a way to add GPUImage to the filters?
-
or when in iOS8 that CIFilter do not apply filters with what we want,how i can do this fine
-
ps:when animated filters,how i can resetDefault some filter i added to the animates? I come up with below:
` [cmykHalftone addAnimationForParameterKey:@"inputSharpness" startValue:@0.64 endValue:@0.8 startTime:0 duration:4];
[cmykHalftone addAnimationForParameterKey:@"inputUCR" startValue:@0.6 endValue:@0.85 startTime:0 duration:4];
[cmykHalftone addAnimationForParameterKey:@"inputGCR" startValue:@0.3 endValue:@0.8 startTime:0 duration:4];
[cmykHalftone addAnimationForParameterKey:@"inputWidth" startValue:@30 endValue:@80 startTime:0 duration:4];`
and I invalid it by doing below,but since didn't work.
` [cmykHalftone addAnimationForParameterKey:@"inputSharpness" startValue:@0 endValue:@0 startTime:4 duration:duradion-4];
[cmykHalftone addAnimationForParameterKey:@"inputUCG" startValue:@0 endValue:@0 startTime:4 duration:duradion-4];
[cmykHalftone addAnimationForParameterKey:@"inputGCR" startValue:@0 endValue:@0 startTime:4 duration:duradion-4];
[cmykHalftone addAnimationForParameterKey:@"inputWidth" startValue:@0 endValue:@0 startTime:4 duration:duradion-4];`
sincerely
i keep cmykHalftone filter running in a "while < asset.duration"loop,and perfectly answer my third question.ga ga