Ask Your Question

How to record video from VideoCamera in Android?

asked 2013-08-27 03:36:59 -0500

mnabeelazam gravatar image

updated 2013-08-27 03:43:56 -0500


I am using openCV in Android application. I want to Capture video from camera using OpenCV. I have gone through the documentation but I couldn't get much help in Java.

Can anyone please help me to achieve this?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-08-27 04:51:58 -0500

Moster gravatar image

updated 2013-08-27 04:52:45 -0500

If you only want to capture the camera frames and display or process them, this will work fine on android. The only thing that wont work is saving them to an avi or similar. The VideoWriter class is not functional on android.

edit flag offensive delete link more

answered 2013-08-27 03:42:36 -0500

edit flag offensive delete link more


Thanks for the quick reply. I have spent some time over the internet to find something. Actually I want to achieve Video Filtering. I couldn't find much in Android/Java.

mnabeelazam gravatar imagemnabeelazam ( 2013-08-27 06:18:46 -0500 )edit

I am guessing you are looking for ready made solutions. I have to dissappoint you, because it will be hard to find. Try to split your problem into subfunctionality, then find a solution for each part. Ask questions if you get stuck while programming, but illustrate the work you have done so far.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 06:25:12 -0500 )edit

Actually, I just want to know if it is possible what I want to achieve before I jump into OpenCv. I have done image filtering in an applicaiton using android native EffectFactory for applying filters on images.

Now I was looking into OpenCv if I can achieve this or not. Here is the reference application. I was looking for this kind of video filtering.

mnabeelazam gravatar imagemnabeelazam ( 2013-08-27 08:07:28 -0500 )edit

Yes this is possible. This are basically operations on image channels, which can be applied perfectly in OpenCV as far as I know.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-27 08:11:48 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-08-27 03:36:59 -0500

Seen: 4,314 times

Last updated: Aug 27 '13