From 4b190c1d02a3232e4fd9bf037ea030777b15feee Mon Sep 17 00:00:00 2001 From: Sheraz Khilji Date: Wed, 8 Apr 2020 14:21:35 +0200 Subject: [PATCH] Updated readme.md --- README.md | 15 ++++++++------- app/build.gradle | 1 + build.gradle | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3ad7e3c..0f1e690 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,13 @@ The following list of effects are currently avaialble and can be applied using V - ## Limitations +- The effects applied using this library are temporary. What that means is that the original video doesn't change. Effects are only applied during video playback and once the video ends the effects end with it. +- Minimum Supported Android version is 21 (Lollipop) +- Saving video available only for Filters and requires Android 23 min api version.For more information check the file [VideoController](https://github.com/krazykira/VidEffects/blob/master/app/src/main/java/com/videffects/sample/controller/VideoController.kt). +- Other ways to save video once effect/filter is applied [FFmpeg](https://ffmpeg.org/) to apply effects on videos. Details about how to do that can be seen on this [wiki page](https://github.com/krazykira/VidEffects/wiki/Permanent-video-effects) +- Some emulators have problems during video playback so try on real device when that happens e.g: Android Lollipop emulators don't show video. -The effects applied using this library are temporary. What that means is that the orignal video doesn't change. Effects are only applied during video playback and once the video ends the effects end with it. In the future, i am aiming to apply permanant effect to videos. You guys are welcome to help out using PRs. -
For now, if you are really desperate and want to apply effects then you can use [FFmpeg](https://ffmpeg.org/) to apply effects on videos. Details about how to do that can be seen on this [wiki page](https://github.com/krazykira/VidEffects/wiki/Permanent-video-effects) -Saving video available only for Filters and requires Android 23 min api version. For more information check the file [VideoController](https://github.com/krazykira/VidEffects/blob/master/app/src/main/java/com/videffects/sample/controller/VideoController.kt). ## How to use it - Add the following code to your project's `build.gradle` file @@ -55,7 +56,7 @@ Saving video available only for Filters and requires Android 23 min api version. ```sh dependencies { // Gradle path for VidEffects - compile 'com.sherazkhilji.videffects:videffects:1.1.0' + implementation "com.sherazkhilji.videffects:videffects:1.1.0" } ``` @@ -147,13 +148,13 @@ Want to contribute or add some new Effects? Great! Fork it and send me a pull re Developed by ============ -* Sheraz Ahmad Khilji - +* Sheraz Ahmed Khilji - License ======= - Copyright 2020 Sheraz Ahmad Khilji + Copyright 2020 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. diff --git a/app/build.gradle b/app/build.gradle index 0be1c30..2abef9b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,6 +26,7 @@ android { dependencies { implementation project(":videffects") +// implementation "com.sherazkhilji.videffects:videffects:1.1.0" implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.core:core-ktx:1.2.0' implementation 'com.google.android.material:material:1.1.0' diff --git a/build.gradle b/build.gradle index 27d0286..d81b3a8 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.6.0' + classpath 'com.android.tools.build:gradle:3.6.2' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"