A Java library compatible with Android 2.3 and above, that allows drawing on top of frames in an existing video file (3gp or mpeg) stored on the SD card. You will likely use native code and a library like ffmpeg.
## Deliverables
Suggested way to proceed:
* I instantiate a new isntance of your class and pass it a file path (mpeg or 3gp on the SD card) as an argument
* I call a method to extract all frames into image files in a temp location.
* I edit those frames, then call another method to compress these into a new video file.
If the video is large we will need to do the processing by chunks (ie process a given number of frames at once, then you would simply merge the resulting video files ont after the other)
This uses three FFMPEG features: export a video to frames, encode frames to a video and merge several videos together.
If possible the sound track of the original video should be reapplied to the new video once it is processed. The exported frames also need to be at the hightest technically possible quality.