1 | initial version |
this is not the way, you write a video file. an mp4 is not simply a chain of concatenated png's.
if you're using opencv3, you can use the VideoWriter class with VideoWriter.fourcc('M','J','P','G') as codec(sorry, but that's the only one available on android, atm) and ".avi" as container.