Ask Your Question
0

Creating video from a set of images

asked 2013-08-07 05:16:56 -0600

seitam gravatar image

updated 2013-08-07 05:17:42 -0600

Hi,

I just found this project and after reading the characteristics I have a question:

I am developing an aplication on Android for making time-lapses. The time lapse technique is based on shooting pictures every "X" seconds (5seconds, 30 seconds, etc) and then using all the pictures captured for creating an output video (with a frame rate much superior [20-30fps]).

Looking for a library for android that supports creating videos (because the android API does not provide anything) I see that ffmpeg library is widely used.

Does OpenCV provide the same functionality that ffmpeg and I can use it to create a video from a set of images saved on a SD-card?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-07 06:21:40 -0600

berak gravatar image

opencv even uses ffmpeg for this on the desktop, unfortunately not for android, so no read/write support for video files on that platform.

edit flag offensive delete link more

Comments

1

I am so confused right now, if it is not possible to read/write files on android, whats the meaning of OpenCV4Android project?

seitam gravatar imageseitam ( 2013-08-07 06:31:09 -0600 )edit

you can still read/write single images, and use the camera, just not use videofiles atm.

berak gravatar imageberak ( 2013-08-07 06:33:17 -0600 )edit

I will try compiling ffmpeg for android so. Thank you @berak.

seitam gravatar imageseitam ( 2013-08-07 06:41:12 -0600 )edit

yes, tough luck, but that seems to be the way

berak gravatar imageberak ( 2013-08-07 06:42:07 -0600 )edit

Question Tools

Stats

Asked: 2013-08-07 05:16:56 -0600

Seen: 740 times

Last updated: Aug 07 '13