International Journal on Advanced Science, Engineering and Information Technology, Vol. 9 (2019) No. 3, pages: 759-765, DOI:10.18517/ijaseit.9.3.7329

A New Native Video Filtering based on OpenGL ES for Mobile Platform

Sari Wijayanti, Burhan Alfironi Muktamar, Sunu Wibirama, Agus Bejo

Abstract

In the last five years, there have been many Android applications implementing video filter or video effect as an excellent feature. Open CV is an open source computer vision library that can be simply and easily used for video filtering in Android application. However, using OpenCV library for video filtering commonly yields a bigger size of Android application. The concept of “Develop for Billion People” has enforced the developers to optimize the size of their applications to preserve resources and size of memory—as not all Android devices come with sufficiently large memory. On the other hand, OpenGL ES does not burden the filtering process because of its smaller size when it is implemented during the application development. In this research, we present a new native video processing technique using OpenGL ES. We implement the proposed method on a native video file without decreasing its quality before video filtering process. The experiments were conducted with five different mobile devices. We compared several metrics including: quality of the resulted video, file size of the apk, power consumption, and memory usage. Based on the experimental results, OpenGL ES produces smaller file size of apk (2 MB) compared with the produced file size of apk by Open CV (20MB). The resulted file after video filtering possesses same properties as observed before video filtering. Additionally, OpenGL ES uses more efficient power with 0.1965 mAh, while OpenCV consumes 0.283 mAh. Finally, video filtering with OpenGL ES uses 29.3% lesser memory than video filtering with OpenCV. The proposed method is proven to be more appropriate with “Develop for Billion People” as it preserves more computational resources compared with the existing video filtering technique in Android.

Keywords:

video processing; video filter; OpenCV; OpenGL ES

Viewed: 189 times (since Sept 4, 2017)

cite this paper     download