krazykira / VidEffects

This library uses OpenGL Shaders to apply effects on Videos at Runtime
Apache License 2.0
351 stars 88 forks source link

VidEffects

Android Arsenal

This is an Android library which can be used to apply different Filters/Effects on videos. It uses vertexShaders and fragmentShaders to apply effects on GLSurfaceView. It uses MediaPlayer instance for playing videos on GlSurfaceView. See the sample app in order to see a working demo.

Img

Change Log

1.1.0 - Added ability to save video once you apply a FILTER (not EFFECT), Updated Sample app with a detailed example, (Available on Jcenter)
1.1.1 - Updated Dependencies & Published the videffects to MavenCentral. All future versions from now onwards will be distributed via MavenCentral.

Supported Effects

The following list of effects are currently avaialble and can be applied using VidEffects

Limitations

How to use it

See it in working

Video screenshot without any Effect

Video screenshot without any Effect

Video screenshot with Black and White Effect

Video screenshot with Black and White Effect

Video screenshot with Invert Colors Effect

Video screenshot with Invert Colors Effect

Special Thanks to

Development

Want to contribute or add some new Effects? Great! Fork it and send me a pull request or contact me on the email below, if you want to become a permanant contributor.

Developed by

License

Copyright 2022 Sheraz Ahmed Khilji

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.