Ken Burns Effect

Topics: Developer Forum
Dec 28, 2009 at 5:39 PM

Has anyone been able to implement the Ken Burns Effect with Splicer?  If so, what's the best way to accomplish this?  I thought about creating each zoom level as a separate frame, but that seems very inefficient and would exponentially increase video generation time.  Any help is greatly appreciated, Alex

Nov 19, 2010 at 7:01 PM

You ever get this working?

Nov 19, 2010 at 7:06 PM
No.

- Alex

On Nov 19, 2010, at 12:01 PM, "cblaze22" <notifications@codeplex.com> wrote:

From: cblaze22

You ever get this working?

Read the full discussion online.

To add a post to this discussion, reply to this email (splicer@discussions.codeplex.com@discussions.codeplex.com)

To start a new discussion for this project, email splicer@discussions.codeplex.com@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com

Nov 23, 2010 at 1:28 PM

There are 2 issues with implementing this effect with splicer:

A.) It doesn't like to play nice with the 3D effects Library from Windows Movie Maker (which is where the GUID's for the included effects come from).

B.) When adding bitmap or image objects as single frames, splicer first saves them to a temporary .bmp file, and then loads the image data into the timeline from the temporary file (which are not entirely temporary). This is what causes the increase in time as GDI+ will process the images rather fast, example: when using a custom aviWriter class, it took only 8 seconds to render 30 seconds of video with panning, zooming, fading, and various transition effects; it took approximately 1 minute 27 seconds to render the same video (same effects and transitions) using splicer on the same machine, as well as a couple hundred temporary image files which had to be manually deleted.

For more advanced effects such as the Ken Burns effect, I would suggest looking into alternate methods such as native code with DirectShow, or using aviwriter (search online for class) with GDI+ for managed solutions and then converting/compressing to the desired format.