Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
I'm looking for docs and tutorials on creating mp4 video files from still images. I wrote a program I use weekly that I select 4 images, add text data to it and then it creates a new image context that is 5120 x 720 pixels. The photos and text are added to the context and the final step is the app creates a .tif file.

I take this final tif file to Adobe After Affects where I animate it and output a mp4 file. here is an example of the final product. http://www.larsapps.com/videos/anim_sample.mov

My goal is to make my app an all-in-one program. I would like to do the animation and export to and mp4 format. I have goggled but most everything I find is for playing videos, not creating them.

Any help on finding documents or tutorials would be greatly appreciated.
 
I'm looking for docs and tutorials on creating mp4 video files from still images. I wrote a program I use weekly that I select 4 images, add text data to it and then it creates a new image context that is 5120 x 720 pixels. The photos and text are added to the context and the final step is the app creates a .tif file.

I take this final tif file to Adobe After Affects where I animate it and output a mp4 file. here is an example of the final product. http://www.larsapps.com/videos/anim_sample.mov

My goal is to make my app an all-in-one program. I would like to do the animation and export to and mp4 format. I have goggled but most everything I find is for playing videos, not creating them.

Any help on finding documents or tutorials would be greatly appreciated.

Does searching around the ffmpeg project turn up anything? I found this after a ten second search, i am not sure if that is what you are after though...
 
Does searching around the ffmpeg project turn up anything? I found this after a ten second search, i am not sure if that is what you are after though...
I have seen ffmpeg before but I think it is a stand alone applications. I am looking at making my OSX program a 1 app solution. My basic idea is this.

1. Create the 5120 x 720 tif image Which is does right now called TIF.
2. Create a new 1280 x 720 context (the size of the screen it will play on).
3. Final video will be 15 seconds consisting 450 images.
4 Manipulate the X and Y coordinates of the TIF image in the context for the screen, then save that context as an NSImage to an NSMutableArray. It would iterate 450 times to generate all the images fro the animation.
5. Use this Array of images to create an mp4 video file using AVFoundation framework I am guessing.
 
I have seen ffmpeg before but I think it is a stand alone applications. I am looking at making my OSX program a 1 app solution. My basic idea is this.

1. Create the 5120 x 720 tif image Which is does right now called TIF.
2. Create a new 1280 x 720 context (the size of the screen it will play on).
3. Final video will be 15 seconds consisting 450 images.
4 Manipulate the X and Y coordinates of the TIF image in the context for the screen, then save that context as an NSImage to an NSMutableArray. It would iterate 450 times to generate all the images fro the animation.
5. Use this Array of images to create an mp4 video file using AVFoundation framework I am guessing.

I am certainly no programmer but i do know that ffmpeg is a OSS library which you should be able to incorporate into your app if you found it worked for you... and i see what you are trying to do and it seems simple enough but i'm sorry, i am out of my depth!
 
I am certainly no programmer but i do know that ffmpeg is a OSS library which you should be able to incorporate into your app if you found it worked for you... and i see what you are trying to do and it seems simple enough but i'm sorry, i am out of my depth!
Thanks for your input. This can be done and I am guessing with AVFoundations framework. If anyone else has any links I could research, would appreciate it.
 
That book could be a good edition to my e-library. I will spend some time reading through AV Foundations Docs tonight. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.