Ask Your Question
0

How to record video from VideoCamera in Android?

asked Aug 27 '13

mnabeelazam gravatar image

updated Aug 27 '13

Hi,

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?

thanks

Preview: (hide)

2 answers

Sort by » oldest newest most voted
0

answered Aug 27 '13

Moster gravatar image

updated Aug 27 '13

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.

Preview: (hide)
-2

answered Aug 27 '13

Preview: (hide)

Comments

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 (Aug 27 '13)edit
1

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 (Aug 27 '13)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.

https://play.google.com/store/apps/details?id=com.socialcam.android&hl=en

mnabeelazam gravatar imagemnabeelazam (Aug 27 '13)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 (Aug 27 '13)edit

Question Tools

Stats

Asked: Aug 27 '13

Seen: 5,474 times

Last updated: Aug 27 '13