android studio - How to use jcodec to make an arraylist of bitmap into a video -


i using android studio , beginner. app i'm making lets user draw on custom view made bitmap arraylist holds each frame of frame-by-frame animation. custom view's background property can changed. can show animation through showing each bitmap on arraylist view 1 one. isn't video. want export video please don't put buffered image or of java.awt. learned bufferedimage not supported in android sdk have searched far says this. have jcodec 0.1.9. not understand how works , how use properly. if there alternative other jcodec nice. appreciated.

//canvas public canvas drawcanvas; // canvas background bitmap public bitmap bgbitmap;  //this contains bitmaps individual 'frames' arraylist<bitmap> timelineframes = new arraylist<bitmap>(); 

i not need bgbitmap. goes null after setting background of canvas. need rather bgbitmap mbackground property under this when reach breakpoint in debugging.

i need output video using whatever means necessary. have integer framespeed, dimensions, arraylist of bitmaps , mbackground(which im still not sure how get, can work on that). can't use bufferedimage because i'm running on android.

again. appreciated. :)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -