Ask Your Question
1

Is videowriter API not functional in android?

asked 2014-02-26 01:58:16 -0500

fontain gravatar image

updated 2014-02-26 02:02:25 -0500

Hi there,

I'm tying to to detect motion using opencv(2.4.8) camera preview on android and record video camera view. Is videowriter API not functional latest opencv on android now? If not now, is there any plan to support that API later?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-02-26 02:13:18 -0500

berak gravatar image
  1. the videoWriter is missing in the java api
  2. additionally, there's no ffmpeg backend on android

so, in short: no, currently you can't write or read video files on android using opencv.

edit flag offensive delete link more

Comments

And to answer to your plans to support his API later, it seems developers are focussing on the 3.0 release for the moment. So won't be expecting this stuff in the near future :)

StevenPuttemans gravatar imageStevenPuttemans ( 2014-02-26 03:28:40 -0500 )edit
1

3.0 is due like end of next month, and it's still not in there.

berak gravatar imageberak ( 2014-02-26 03:38:51 -0500 )edit

Thank you for reply, I have more question, "currently you can't write or read video files on android using opencv" which means that I can't write or read video during processing the motion detection using opencv? If I use android native api for video record, can I implement recording + simultaneous motion detection using opencv on android?

fontain gravatar imagefontain ( 2014-02-26 03:43:04 -0500 )edit
2

oh, yes you might have a chance with jni / ndk. ( i just don't know much about it )

well, if you get something working, please report back, to help others here ( it seems to be quite a common problem )

berak gravatar imageberak ( 2014-02-26 03:49:54 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-02-26 01:58:16 -0500

Seen: 1,157 times

Last updated: Feb 26 '14