开发者

How to creating animation videos programmatically ( Java or C ) from pictures

I am creating a animation video for which I have the frame by frame pictures. I want to create a video out of it but only programmatically and not using any tool like MovieMaker, Flash开发者_JAVA百科 or AdobePremier.

Please let me know if there any apis which can combine these frames and create compressed video in any of the formats like AVI, MPEG-4 etc and which all takes various parameters like BitRate, KeyFrame rate etc into account while doing the compression


This is an easy task. You can use the opencv api. Initialise an iplimage array to the images you wanna include, run a loop till end of array. Load each image with cvloadimage, display it on window. Have a delay of 1/24 sec. And repeat. You can even choose to save this in the numerous formats supported.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜