开发者

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

开发者 https://www.devze.com 2023-01-01 19:40 出处:网络
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百科

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

精彩评论

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