Saturday, June 30, 2012

[android-developers] How to create time-lapse video from existing pictures?

Hi all. I have the duty of making a code to read a path on the
external storage containing some taken pictures and create a time-
lapse video from them.

Since I must use Android SDK 2.1, I have no access to the system
codecs. Therefore, I cannot directly create the video from the

One possible solution is to inherit from the Camera class, override
takePicture method to read sequentially the pictures from the External
Storage and use the class MediaRecorder to record the video file
(passing the inherited new Camera class). However, I don't really know
how to do this.

Other solution is to write my own video codec to convert a bunch of
pictures to HD H264 video. However, this is way too much code to do...

Any suggestions?

Thanks in advance.

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment