Can I use highgui to render a video after on the screen after processing it in native code?

44 views
Skip to first unread message

Shishir

unread,
Jun 29, 2012, 4:21:11 AM6/29/12
to android...@googlegroups.com
I'm doing some frame-by-frame processing on an avi file using opencv C apis. I then use NDK to create shared libraries to use in my app. I want to display these processed frames in the UI rapidly so that it looks like a continuous video. Can I use highgui to create a named window and then display these frames?

Andrey Pavlenko

unread,
Jun 29, 2012, 9:35:51 AM6/29/12
to android...@googlegroups.com
Currently OpenCV on Android doesn't support operations with windows (see 'highgui'), neither video decoding/encoding. 

He Jibo

unread,
Jun 29, 2012, 9:37:05 AM6/29/12
to android...@googlegroups.com
Then, is there a way to save the images into a video after operation with OpenCV?
I hope to know this too.
---------------------------
He Jibo
Department of Psychology,
Beckman Institute for Advanced Science and Technology
University of Illinois, Urbana Champaign,
603 East Daniel St.,
Champaign, IL 61820
website: www.hejibo.info

Andrey Pavlenko

unread,
Jun 29, 2012, 9:42:59 AM6/29/12
to android...@googlegroups.com
OpenCV for Android (even coming 2.4.2 release) can't encode video, but this is in plans.

Alexander Smorkalov

unread,
Jun 29, 2012, 9:59:57 AM6/29/12
to android...@googlegroups.com
Hello!

Higui functions for UI manipulations are not supported on Android. You need to use system API. See developer.android.com and Android NDK/SDK samples for more details.
Reply all
Reply to author
Forward
0 new messages