6

How to create the video from series of png images. Is it possible in android can any body suggest me to do that?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Raju
  • 71
  • 1
  • 6

1 Answers1

1

yes its possible to generate a video (not exactly video, but like video) through the series of images.
There is what you call "mpeg stream" which consists of the JPEG images in the multipart fashion that you read from a source (remote basically) and continuously updating the UI on the screen by parsing it nad fetching the binary content and converting it to objects of bitmap.

If you are having the images locally, you can simply instanciate the bitmap objects and the place them periodically on the UI / ImageView on screen.

What you needs to care about is that the updating frequency should be such that user sees it like a video is playing.
If you have to make a short period video (some animation kinda video) with the help of the already made frames/images, you can follow the link
http://android-support-akkilis.blogspot.com/2011/12/animation-drawbles-in-android.html

Hope this helps

akkilis
  • 1,904
  • 14
  • 21
  • 1
    but here i must create the video file becouse after creation of video i need to upload that video to facebook. – Raju Jan 31 '12 at 08:00