raju
raju

Reputation: 1264

creating Video from Android screen activities

In my app I have a requirement to create a video from the screen activities programatically. (ie: I am running some animations for some time I need to convert these animations to a video, like video demos.)

I have been searching for this for the last week, but I haven't found any solution. I don't know whether it is possible in Android or not. If it is, please tell me the way or suggest me some links.

Upvotes: 6

Views: 2151

Answers (2)

user1817083
user1817083

Reputation: 1

This project will meet your request Android-MJPEG-Video-Capture-FFMPEG It is just to convert jpegs into a movie file by ffmpeg bin

Upvotes: -2

peasea
peasea

Reputation: 346

If you want to capture the screenshots from "within your activity", it is possible. Follow this post

Having grabbed the screenshoton a bitmap, you need to encode the frames to a video yourself.

Captured bitmap --> JNI (Native-bitmap) --> feed input buffer to a native encoder (ffmpeg) --> save to file

Upvotes: 5

Related Questions