Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to apply video filtering in android?

I am working on app like instagram where i have to apply filters on already created video and stored it in SDCard. I have searched a lot but at the end of day i find one library named FFMPEG but didn't get any help. I am newbie in video filtering. and I have setup NDK but don't know how to use this library.Is there any other way of applying filters on video and create a new video?

enter image description here

like image 619
Hardik Joshi Avatar asked Apr 13 '15 12:04

Hardik Joshi


People also ask

What app can put filters on videos?

The app that tops the list when it comes to video filtering is YouCam Video. The reviews on the app store tell the whole story — over 7,000 combined reviews and a 4.3-star rating, available for both iOS & Android. YouCam Video's advantage over similar video beauty filter apps is its wide range of features and tools.

How do you use filters on Android?

Open the Camera app, and then select Photo. Tap the Filter icon (it looks like a magic wand) in the top right corner of the screen, and then tap My filters.


Video Answer


1 Answers

Well, if you have a problem with configuring FFmpeg with Android FFmpeg wiki and this popular question has a good explanation on it. Apart from that to apply colour effects to a video you need to know the properties of a video that need to be changed.

Here you can find some of the filters that can be used with there property values. You can use those values with FFmpeg. When converting those css values to FFmpeg context you can use a comprehensive documentation provided by W3 for css. Further you can play around and create fancy filters with FFmpeg. I faced the same kind of issue and here I have explained the solution for some of it. Applying this kind of change to a video needs a re-encoding and therefore this process will take significant time compared to applying same effect to an image. So bare it.

FFmpeg comprise of several different filters to manipulate colour levels and its related properties like brightness, saturation, etc. You can find those different filters on FFmpeg doc. Always try to follow-up the documentation as most of the time they provide solutions for our problems.

Hope this helps!

like image 54
Chamath Avatar answered Nov 04 '22 15:11

Chamath