Feature request: Group filters
Hi, Is there a way to apply multiple filters at once? For example, when I want to use 3 filters simultaneously:
TransformationOptions.Builder()
.setVideoFilters(listOf(ContrastFilter(3f), BrightnessFilter(0.7f), SaturationFilter(0f)))
Only the last filter is applied to the transformation (target video) and previous ones are lost.
Does the library support it?
These examples GlFilterGroup, GlFilterGroup and GPUImageFilterGroup might be helpful and used as a reference.
Thank you 👍
Thank you for reporting this! We will take a look. And thank you for useful examples as well.
Sorry, is there an ETA on this?
Looking into this. No ETA yet, though.
Hi, I was able to make it work by replacing all the filters with the filters in GPUVideo-android :D I'm new to OpenGL, but I guess multiple filters didn't work mainly because it doesn't have GlFramebufferObject which is used in GlFilterGroup.
I will try to make it work with the current filters and create a PR next week, hopefully.
Thank you.
Thank you for the analysis and for proactivity. I will look at possible solutions meanwhile. Looking forward to collaborating on your PR!
Hi @janbolat could you share more on how you replace the filters with GPUVideo-android one? I couldn't make it works
Is there any update on this ?
It is on my todo list, pretty high up. Finding time to getting this actually done has been difficult.