|
1 | 1 | # GPUVideo-android |
2 | | -This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2. |
| 2 | + |
| 3 | +[](http://developer.android.com/index.html) |
| 4 | +<img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat"> |
| 5 | +[](https://android-arsenal.com/api?level=21) |
| 6 | + |
| 7 | +This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2. |
| 8 | + |
| 9 | +#### apply video filter on generate an Mp4 |
| 10 | +<table> |
| 11 | + <td><img src="art/sample.gif"><br>Sample Video<br>No filter</td> |
| 12 | + <td><img src="art/grayscale.gif" ><br><a href="mp4compose/src/main/java/com/daasuu/mp4compose/filter/GlGrayScaleFilter.java">GlGlayScaleFilter</a><br> apply</td> |
| 13 | + <td><img src="art/monochrome.gif" ><br><a href="mp4compose/src/main/java/com/daasuu/mp4compose/filter/GlMonochromeFilter.java">GlMonochromeFilter</a><br> apply</td> |
| 14 | + <td><img src="art/watermark.gif" ><br><a href="mp4compose/src/main/java/com/daasuu/mp4compose/filter/GlWatermarkFilter.java">GlWatermarkFilter</a><br> apply</td> |
| 15 | +</table> |
| 16 | + |
| 17 | +#### apply video filter on ExoPlayer video |
| 18 | +<img src="art/art.gif" width="33.33%"> |
| 19 | + |
| 20 | +#### apply video filter on Video Recording with Camera2. |
| 21 | +<img src="art/camera.gif" width="33.33%"> |
| 22 | + |
| 23 | + |
| 24 | +## References And Special Thanks to |
| 25 | +* [android-transcoder](https://github.com/ypresto/android-transcoder) |
| 26 | +* [android-transcoder Japanese blog](http://qiita.com/yuya_presto/items/d48e29c89109b746d000) |
| 27 | +* [android-gpuimage](https://github.com/CyberAgent/android-gpuimage) |
| 28 | +* [Android MediaCodec stuff](http://bigflake.com/mediacodec/) |
| 29 | +* [grafika](https://github.com/google/grafika) |
| 30 | +* [libstagefright](https://android.googlesource.com/platform/frameworks/av/+/lollipop-release/media/libstagefright) |
| 31 | +* [AudioVideoRecordingSample](https://github.com/saki4510t/AudioVideoRecordingSample) |
| 32 | + |
| 33 | + |
| 34 | +## Sample Dependencies |
| 35 | +* [glide](https://github.com/bumptech/glide) |
| 36 | + |
| 37 | + |
| 38 | +## License |
| 39 | +[MIT License](https://github.com/MasayukiSuda/GPUVideo-android/blob/master/LICENSE) |
| 40 | + |
| 41 | +#### ExoPlayer and ExoPlayer demo. |
| 42 | + |
| 43 | + Copyright (C) 2014 The Android Open Source Project |
| 44 | + |
| 45 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 46 | + you may not use this file except in compliance with the License. |
| 47 | + You may obtain a copy of the License at |
| 48 | + |
| 49 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 50 | + |
| 51 | + Unless required by applicable law or agreed to in writing, software |
| 52 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 53 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 54 | + See the License for the specific language governing permissions and |
| 55 | + limitations under the License. |
0 commit comments