ios - To Merge Images And Videos to One Video with Transition -


in objective -c

anyone has idea merge images , videos 1 video transition effect..?

1)images 1 video possible how add transition effect in ?

2) multiple videos 1 video possible but...images , videos 1 video possible transition?

if has idea let me know or give useful link , documents.

thanks

apple provides library video , audio editing library avfoundation please refer library

you can check sample code merging videos , adding images on video on below link

https://github.com/darcyliu/samplecode/tree/master/avsimpleeditorios

i class avseaddwatermarkcommand find watermarklayerforsize method add text layer in same way can add image. use below method add image.

you need understand avmutablecompositiontrack class used in avseaddmusiccommand you. can use same class merge videos.

- (calayer*)imagelayerforsize:(cgsize)videosize {     // create layer title     calayer *imagelayer = [calayer layer];      imagelayer.bounds = cgrectmake(0, 0, videosize.width, videosize.height);     imagelayer.contents = (id)[uiimage imagenamed:@"myimage.png"];      return imagelayer; } 

i hope answer. still if have problem please comment it.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -